Página Inicial > linux > How to connect connet/mount with SFTP and private key

How to connect connet/mount with SFTP and private key

That command should read

Code:

To use sshfs you need to install the package, the command to install it is

Code:

then to mount a remote host as the directory /mnt (your mount point) (you can use any directory you like even ones with stuff in – it will not write over the top of them the contents will just be invisible until you umount). Note the -o ssh_command… option should not be necessary if you have loaded your key using ssh-add /path/to/your/privatekey .

Code:

to unmount where /mnt is your mount point:

Code:

I prefer to use a mount point in my home directory. e.g. /home/username/mnt/ and use that as my mountpoint instead



Source : Ubuntu Forum

Share this : Share on FacebookTweet about this on TwitterShare on Google+Share on LinkedInShare on TumblrEmail this to someone
Tags: , ,
  1. Ainda sem nenhum comentário.
  1. Ainda sem nenhum trackback.