~/.ssh/config 配置格式

Posted eleven24

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了~/.ssh/config 配置格式相关的知识,希望对你有一定的参考价值。

 

Host server1
  HostName server1.cyberciti.biz
  User nixcraft
  Port 4242
  IdentityFile /nfs/shared/users/nixcraft/keys/server1/id_rsa

 

如:

Host aliyun
  HostName 123.123.123.123
  User root
  Port 22
  IdentityFile /Users/ruby/.ssh/id_rsa

以上是关于~/.ssh/config 配置格式的主要内容,如果未能解决你的问题,请参考以下文章