September 18, 2004

A fast way to get passwordless authentication

Yeah, yeah yeah, we all know how to do passwordless authentication. But I saw a thread up on google that quickly gets keys passed to a host in a single scp call. Way powerfull. Obviously this assumes you allow RSAauthentication..


% cat ~/.ssh/id_rsa.pub | ssh fiji@twaddle \
'mkdir .ssh ; chmod 700 .ssh ; cat >>.ssh/authorized_keys'

So is this cool or what!!

Posted by Steven at September 18, 2004 03:29 PM | TrackBack