On 08/12/2011 09:43 PM, Hadley Rich wrote:
> On Fri, 2011-08-12 at 19:51 +1200, Mallett wrote:
>> I have been wondering is there a way that I can copy a rsa public key
>> to a server in one command.
> If you're on Debian/Ubuntu, `ssh-copy-id` will do it for you.
>
> hads


I am using fedora. And  ssh-copy-id works a treat.  So does

mkdir -pm 700 ~/tmp/.ssh &&\

cp ~/.ssh/id_rsa.pub ~/tmp/.ssh/authorized_keys &&\rsync -Pva ~/tmp/.ssh 
192.168.1.220: &&\
rm -rf ~/tmp/.ssh/

but that does not solve the problem multiple ssh logins



_______________________________________________
Linux-users mailing list
[email protected]
http://lists.canterbury.ac.nz/mailman/listinfo/linux-users

Reply via email to