一般config文件位置在:~/.ssh/config,没有可以手动建立一个
组成格式:
Host name
HostName 1.1.1.1 (或者www.abc.com)
Port portid
User uesrname
多个服务器可以复制修改即可。
终端运行输入 ssh name 就可以连接了。
一般config文件位置在:~/.ssh/config,没有可以手动建立一个
组成格式:
Host name
HostName 1.1.1.1 (或者www.abc.com)
Port portid
User uesrname
多个服务器可以复制修改即可。
终端运行输入 ssh name 就可以连接了。