On Tue 20 May 2008 at 02:19:32 AM -0700, Tracy R Reed wrote:
> For a few years now I've been using this hack:
>
> http://pastebin.ca/1023635

well that's a bit confusing if you asked me.

ssh $1 "# install pub key to $1
        install -m 700 -d .ssh
        cat >>.ssh/authorized_keys
        chmod 600 .ssh/authorized_keys
" <~/.ssh/id_rsa.pub

not sure if you call that a one liner or 4;
but for installing a pub key it's a lot simpler.

// George


-- 
George Georgalis, information system scientist <IXOYE><

-- 
[email protected]
http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-lpsg

Reply via email to