2017-10-15 69 views

回答

2

如果您使用的是同一臺主機,然後嘗試更新~/.ssh/config文件與主機信息

Host dev 
    IdentityFile ~/.ssh/github.key 
    HostName dev.example.com 
    Port 22000 
    User fooey 

然後只需鍵入ssh dev在使用SSH!