Installing
macOS
- Install MacPorts
-
Install OpenSSH
$ sudo port install OpenSSH
Set up password-less ssh
to remote machines
-
Create a key if you don't have
~/.ssh/id_rsa.pub
$ ssh-keygen -t rsa
-
Download portable OpenSSH from here if you don't have a
ssh-copy-id
, then$ ssh-copy-id -i ~/.ssh/id_rsa.pub username@remoteserver
-
Test password-less ssh
$ssh remoteserver whoami