I have a lot of servers that I changed my port to 2222.
Can I change on my computer the default port for ssh command? Instead of 22 I want to use 2222 as default.
For instance, instead of using ssh root@ip -p 2222
I want to use ssh root@ip only.
And when I need to use port 22 I type ssh root@ip -p 22