摘要: man ssh_config,查看~/.ssh/config的语法。Host可以使用通配符,当ssh的时候如果server的URL能match上这里Host指定的值,则Host下面指定的HostName将被作为最终URL使用。同时该Host下配置的User, Port都将被使用。当然,User和Port都可以被命令行上指定的override。附上目前的一份sample配置:Host chromium HostName gerrit.chromium.org User markz Port 29418 PubkeyAuthentication yes IdentityFile ~/.ssh/ch 阅读全文
posted @ 2013-02-26 15:15 super119 阅读(2483) 评论(0) 推荐(0)