ssh myserver
How to do it?
No configuration on server, just do some configuration on client side.
On client side terminal, open ssh config file. If it doesn't exists, create a new one.
nano ~/.ssh/config
Then, type in following.
host myserver hostname myserverdomain.com user myuser
And save it. No restart is required, just try ssh myserver, and you are login as myuser@myserverdomain.com
0 件のコメント:
コメントを投稿