Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Change the default SSH server port on 10.3' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Change the default SSH server port on 10.3
Authored by: mweissen on Jun 14, '04 09:39:03AM

This is a pretty idiotic idea. It breaks other things (as I think others have pointed out).

Like what? People keep saying how terrible this is, without any information. So far, this has not borken ONE SINGLE THING that I use.

and lots of things break.

Like what?

Like the ssh client. OK? And all tools that depend on it.

Just like the server, the client uses the POSIX API to get the port number from the /etc/services file. Since pretty much everybody uses the standard port 22, and not port 8855, the client won't be able to connect anywhere unless you *explicitly* specify port 22 either on the command line or in /etc/ssh_config. The default /etc/ssh_config on Mac OS X does not specify this, nor do users normally add "-p 22" to their ssh command lines, as far as I know. Ergo, broken SSH client, QED.

If you can't see this problem, you have apparently inadvertantly unborked the client config while you borked the server, so it happens to work for you. Or then you've simply not even tried SSH:ing out?

--Bud



[ Reply to This | # ]