I admit I’ve been stuck in the dark ages for quite some times when it comes to RSH. RSH is deprecated for a reason (insecurity) and so on, but I’ve stuck with it because I didn’t want to learn something new. But with security being on my mind constantly for this new project, I wanted something a bit more secure. I turned to using password-less logins using SSH. I found this to be remarkably simple!
A quick tutorial to remind myself (all on client PC):
- Be logged in as the user you want to have password-less login
- ssh-keygen -t rsa (accept defaults, no passphrase!)
- ssh-copy-id -i ~/.ssh/id_rsa.pub remote-username@remote-hostname
That’s it! How easy is that… and much more secure than RSH.