创建文件:/root/.ssh/config
添加:
#如果是以域名访问的则添加如下内容:
host xxx
HostName xxx.com
Port 3333
如果以ip访问的,则添加如下内容:
Host "12.123.xx.xx"
Port 3333
创建文件:/root/.ssh/config
添加:
#如果是以域名访问的则添加如下内容:
host xxx
HostName xxx.com
Port 3333
如果以ip访问的,则添加如下内容:
Host "12.123.xx.xx"
Port 3333