$ vim ~/.ssh/config

Host 123.245.789
HostName go
User root
Port 22
’# IdentityFile ~/.ssh/id_rsa

之后就可以用ssh go 登录