Freitag, 13. September 2013

ssh without passwords

In order to login via ssh without the need of typing a password, you can make usage of ssh authorized keys.

1. generate ssh keys (rsa or dsa key pairs)

ssh-keygen -t rsa
ssh-keygen -t dsa


2. copy public key to remote system and never share your private key :)


cat ~/.ssh/*.pub | ssh user@remote-system 'umask 077; cat >> .ssh/authorized_keys'

MacOSX backup SD card