Originally Posted by Shimdidly
How to you change the default port that SSH connects to, so I don't have to manually put ssh -p 12345 firstname.lastname@example.org
, instead it already knows that I want to use port 12345 as a default?
Please halp! I've tried Googling it like 10 times but all they want to tell me is how to change which port the server listens on.
Please read the posting guidelines...a subject of "Halp!" (assuming you mean HELP
), doesn't tell anyone anything about your question. And chrism01 gave some good advice...but I'd recommend against doing it. Simply because if you ever connect to any OTHER SSH server, you'll have to specify THAT port, putting you right back where you started. It would also making scripting anything more difficult too.
If you're only ever going to connect to SSH resources that ALL run on the same port, then you're all set. Otherwise, I wouldn't.