Thanks for the mention Kyle, but I can’t take credit for the “nifty syntax”, I found it somewhere long time ago while looking for a fast and reliable way to copy public key to remote host. I also agree with Ed’s comment – it’s best to use password-less logins for automation purposes and definitely not with superuser account. For fast, yet secure login better use ssh-agent or Pagent (on Windows). I made a post on how to streamline this process on Windows by making Pageant automatically load keys on startup: http://blog.shvetsov.com/2010/03/making-pageant-automatically-load-keys.html
↧