の代わり
http://d.hatena.ne.jp/lurker/20061219/1166457414
$ cat ./.ssh/id_rsa.pub | ssh user@remote_host "cat >> ./.ssh/authorized_keys"
$ ssh user@remote_host "chmod 600 ./.ssh/authorized_keys"
めも
dsa
$ cat ./.ssh/id_dsa.pub | ssh user@remote_host "cat >> ./.ssh/authorized_keys" $ ssh user@remote_host "chmod 600 ./.ssh/authorized_keys"