4 ms·
Why not? You can always create an entry in .ssh/config for the host with the port if needed. Host example.com IdentityFile ~/.ssh/id_rsa_example User foo
by thejosh 12y ago
Why not? You can always create an entry in .ssh/config for the host with the port if needed.
Host example.com
IdentityFile ~/.ssh/id_rsa_example
User foobar
Hostname 127.0.0.1
Port 1234
- kawsper 12y agoAlways run SSH on a privileged port. An attacker could potentially run a rogue SSH instance on a non-privileged port and capture logins for other accounts. If you run it on a privileged port (1024, or lower), it means that it can be trusted to root-level.