Using Midnight Commander and SSH to transfer files securely between hosts.

Hi Folks.

After the previous 3 SSH related posts:

Passwordless SSH authentication. Using authentication keys,

Copying files securely between local machine and shell account and

Tightening security for SSH Server

I have decided to explain how to use Midnight Commander to transfer files between two machines using SSH server.

Machines are configured to use authenticating keys (great method of fooling the keylogger btw).

Using SSH and MC to copy files securely between hosts VIDEO

You can add extra information when logging in. Example:

username@host.domain.xxx:port/home/username/

username – Your login to the SSH server

host.domain.xxx – IP or host of the SSH server

port – number of the port that ssh works on – 22 by default

/home/username/ – Directory that You want to open on SSH server

and so on and so forth. Its simple and very useful as mc can copy multiple files / folders, it can also skip certain files if they exist on target computer (depending on multiple conditions), it can be used to overwrite files or to edit files on the SSH server. It can be used to move / delete / rename / create / chown / chmod / search files on SSH server.

Midnight Commander is one of my favorite tools. Hope You will find it useful too.

Regards.

Andy

AndrzejL

"Never meet Your heroes. Most of the time you'll only end up disappointed." White Polak Male Husband Employee Hetero Carnivorous Fugly Geek @$$hole with ADD Catholic “Some men just want to watch the world burn.”

Comments are closed.