Friday, 17 February 2012

Add SSH public keys to a remote host

Nice quick way to add public keys to the authorized_keys file on a remote host
ssh-copy-id -i ~/.ssh/ user@hostname

No comments:

Post a Comment

File resolv.conf changed on reboot

The file /etc/resolv.conf was being reset and losing the correct nameserver on my Raspberry Pi after a reboot. The unfriendly way of fixing ...