On 15.10.13 2239 (+0600), Виталий Мечётный wrote:
> $ scp -P 20120 ~/.ssh/id_rsa.pub if@192.168.1.20:
> 
> Сторона целевой системы
> 
> # su if
> $ mkdir -p ~/.ssh
> $ cat ~/id_rsa.pub >> ~/.ssh/authorized_keys
> $ rm ~/id_rsa.pub
> $ chmod 700 ~/.ssh && chmod 600 ~/.ssh/authorized_keys
> $ exit

См. ssh-copy-id


-- 
To UNSUBSCRIBE, email to debian-russian-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20131015172523.gb16...@roadwarrior.8p8c.net

Ответить