Jump to content

How to mount sftp


 Share

Recommended Posts

Gnome has a new feature called Places > Connect to Server > SSH which in case is a secure ftp connection however gnome mounts it somehow (it doesnt use /etc/fstab) and is able to open the folder and import/export files.

 

I want to know if I can do something similar from the command line or from Midnight Commander.

 

Also the KDE alternative is using fish, my question is, is there any resource or howto on doing this from the command line.

Link to comment
Share on other sites

I use sftp via konqueror.

In the address window, I type:

sftp://lynchmob@192.168.0.xxx

and am prompted for a password to the lynchmob account on the 192.168.0.xxx computer and then am connected.

I have /etc/hosts set up so I can use aliases:

192.168.0.1  computer1.local comp1

and, so, all I need type to reach the host named computer1.local is:

sftp://lynchmob@comp1

HTH

lynch

Link to comment
Share on other sites

I use sftp via konqueror.

In the address window, I type:

sftp://lynchmob@192.168.0.xxx

and am prompted for a password to the lynchmob account on the 192.168.0.xxx computer and then am connected.

I have /etc/hosts set up so I can use aliases:

192.168.0.1  computer1.local comp1

and, so, all I need type to reach the host named computer1.local is:

sftp://lynchmob@comp1

How would I go about doing this from the command line?

 

Would it be something like a mount similar to a NFS?

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...