Just a few well known steps needed:
Enable following lines in the sshd_config (sudo joe /etc/sshd_config) on OSX:
RSAAuthentication yes
PubkeyAuthentication yes
AuthorizedKeysFile .ssh/authorized_keys
On the client generate the keyfile (in this case my client is Ubuntu 7.04):
ssh-keygen -t dsa
cat id_dsa.pub | ssh sascha@mymac ‘cat >>~/.ssh/authorized_keys’
On the mac again verify that the authorized_keys has been created. Afterwords it’s needed to restart the sshd daemon, and not with /etc/init.d/sshd…. instead with following command:
sudo service ssh stop
sudo service ssh start










Recent Comments