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: PygmySurfer on Jun 13, '04 08:17:02AM

I don't know how /etc/services works on OS X, but on typical UNIX systems, that file is basically just a hints file - it associates protocols and port numbers. Basically, it's just tells an application what the default port for that particular service is.

For example, ftp is on port 21 by default. from the commandline, I can type "ftp <hostname>" and, the application will try to make the connection on port 21, because that's what it says in /etc/services. If I modify /etc/services, and change ftp to port 666, and try to run "ftp <hostname>", it's going to attempt to make the connection on port 666, instead of port 21. Maybe things are different in OS X, however.



[ Reply to This | # ]