changing the digital world one bit at a time...

Blants (noun) the rants of a blogger

Password less sign in to Ubuntu

May 14, 2014 by The Man

First create your key (something like this but google for a better scope)

ssh-keygen -t rsa -C ""

Remember you only need to do this once

then on each Ubuntu server you want to log into. Changing username to your username and xx.xx.xx.xx to the ip or fqdn of the server.

cat ~/.ssh/ | ssh "mkdir -p ~/.ssh; cat >> ~/.ssh/authorized_keys"