ssh别名登录
2019-03-18 本文已影响5人
yangqing
ssh别名登录
vim ~/.ssh/config
Host test_alias
HostName 192.168.1.1
Port 22
User root
IdentityFile ~/.ssh/id_rsa.pub
IdentitiesOnly yes
vim ~/.ssh/config
Host test_alias
HostName 192.168.1.1
Port 22
User root
IdentityFile ~/.ssh/id_rsa.pub
IdentitiesOnly yes