Dondariadmin (トーク | 投稿記録) (ページの作成:「=sshを便利にする= ==背景== *sshログインして管理するサーバーが増えてきたのですが、全部のサーバーに自分の鍵ファイルをセ...」) |
(相違点なし)
|
ssh -i ~/.ssh/honban_server_id_rsa user@honban_server.example.com
ユーザーごとの設定ファイル
~/.ssh/config
全体の設定ファイル
/etc/ssh/ssh_config
Host honban_server.example.com IdentityFile ~/.ssh/honban_server_id_rsa
ssh user@honban_server.example.com
Host honban_server.example.com Port 10022
Host honban_server.example.com ProxyCommand ssh fumidai_user@fumidai.example.com nc %h %p
man ssh_configTweet