ssh connectしてみる。

# mkdir .ssh
# ssh-keygen
id_rsa
id_rsa.pub
が生成されます。
接続先に id_rsa.pubの内容を authorized_keysへ書き込む。
= permission
755 ~
755 .ssh
600 id_rsa
644 authorized_keys
で良いですかな?
* パーミッションがおかしいとつながりません。
* あとは、/etc/ssh_config sshd_configの設定を。

This entry was posted on 水曜日, 11月 4th, 2009 at 1:59 AM and is filed under ssh. You can follow any responses to this entry through the RSS 2.0 feed. Both comments and pings are currently closed.