SSH配置快捷登录

标签: ssh, linux

: vim ~/.ssh/config

HOST t1
    User root
    Port 22
    HostName xxx.xxx.xxx.xx
    
HOST t2
    User root
    Port 22
    HostName xxx.xxx.xxx.xx
    
HOST t3
    User root
    Port 22262
    HostName xxx.xxx.xxx.xx