ssh
をテンプレートにして作成
[
トップ
] [
新規
|
一覧
|
検索
|
最終更新
|
ヘルプ
|
ログイン
]
開始行:
#contents
&tag(ssh,コマンド);
* 設定 [#o4ee9260]
** パスワードを使用しないでログインする [#abd6f0d3]
+ DSA キーを生成する。
$ ssh-keygen -t dsa
+ 公開キーをリモートホストにコピーする。
$ scp ~/.ssh/id_dsa.pub foo@bar.local
+ リモートホストにログインし、authorized_keysファイルを生...
$ ssh foo@bar.local
remote$ mkdir .ssh
remote$ chmod 700 .ssh/
remote$ cd .ssh/
remote$ touch authorized_keys
remote$ chmod 600 authorized_keys
remote$ cat ~/id_dsa.pub >>authorized_keys
remote$ rm ~/id_dsa.pub
remote$ logout
+ ログイン動作を確認する。
$ ssh foo@bar.local
* 関連 [#d1933ead]
#related
終了行:
#contents
&tag(ssh,コマンド);
* 設定 [#o4ee9260]
** パスワードを使用しないでログインする [#abd6f0d3]
+ DSA キーを生成する。
$ ssh-keygen -t dsa
+ 公開キーをリモートホストにコピーする。
$ scp ~/.ssh/id_dsa.pub foo@bar.local
+ リモートホストにログインし、authorized_keysファイルを生...
$ ssh foo@bar.local
remote$ mkdir .ssh
remote$ chmod 700 .ssh/
remote$ cd .ssh/
remote$ touch authorized_keys
remote$ chmod 600 authorized_keys
remote$ cat ~/id_dsa.pub >>authorized_keys
remote$ rm ~/id_dsa.pub
remote$ logout
+ ログイン動作を確認する。
$ ssh foo@bar.local
* 関連 [#d1933ead]
#related
ページ名: