KOMPX.COM or COMPMISCELLANEA.COM   

SFTP in mc

Setting up an SFTP connection in mc / Midnight Commander:

  1. F9 Enter
  2. Select SFTP link Enter
  3. Enter host name with user name and port { 1 }:

    sftp://user@hostname:port

  4. Enter or OK
  5. If it is the first time that the host name is used, then there will be a warning "The authenticity of host..." Yes
  6. If it is the first time that the host name is used, then there will be an info box with "Permanently added..." Enter
  7. Enter password Enter or OK

To quit connection: type cd in the command line to get to home directory.

{ 1 } Password may also be entered right away: sftp://user:password@hostname:port, but it may be more secure to enter password later at the prompt.

mc - Selecting SFTP link - Screenshot

Selecting SFTP link

mc - Entering user name and host name - Screenshot

Entering user name and host name

mc - Entering password - Screenshot

Entering password

mc - Typing cd to quit connection - Screenshot

Typing cd to quit connection

Operating systems
More