ssh别名登录

ssh别名登录

vim ~/.ssh/config
Host test_alias
HostName 192.168.1.1
Port 22
User root
IdentityFile ~/.ssh/id_rsa.pub
IdentitiesOnly yes

你可能感兴趣的:(ssh别名登录)