As you may know you can login to your SSH server with use of DSA/RSA keys without entering password. The simplest way to add key to the remote server is ssh-copy-id script. Here is an example of how you can add key if you use non standard SSH port: ssh-copy-id -i /home/myuser/.ssh/id_dsa.pub “myuser@example.com -p 2222″…
All posts tagged SSH
Using ncat to transfer files without SSH
Sometimes you want to transfer some files between two servers but with no SSH installed. There are a lot of ways to do it but the simplest one is to use ncat from nmap package. On receiver you should run: [root@server1 ~]# ncat -v -lp 2223 < ~/fileNcat: Version 5.21 (http://nmap.org/ncat) Ncat: Listening on 0.0.0.0:2223…