November 2011

How To scp, ssh and rsync without prompting for password using OpenSSH

November 17, 2011 by Rajesh Kumar   Comments (0)

, ,

Verify that local-host and remote-host is running openSSHssh -VOpenSSH_4.3p2, OpenSSL 0.9.8b 04 May 2006Lets say you want to copy between two hosts host_src and host_dest. host_src is the host where you would run the scp, ssh or rsyn command, irrespective of the direction of the file copy!1. On host_src, run this command as the user that runs scp/ssh/rsync$ ssh-keygen -t rsaThis will prompt for a passphrase. Just press the enter key. It'll then generate an identification (private key) and a... Read full post