Source From Here
QuestionI use a non-standard ssh port (1234) for most of the servers I connect to. So in my ssh config file I have:
- Port 1234
HowTo
Just have a look at how to set up your ~/.ssh/config file correctly (man 5 ssh_config). You can specify different settings for different hosts easily. To solve your problem you would set:
- Host github.com
- Port 22
- Host *
- Port 1234
沒有留言:
張貼留言