Changing ssh daemon listening port

Our Pal Al opa at avalon.rockefeller.edu
Thu Feb 19 08:39:26 PST 2004


I did this on a linux box (which of course I don't have access to right now
for comparison) but can't seem to do this on my Mac.

I wan¹t ssh to listen on port 23 as well as 22. I changed /etc/sshd_config
in the following manner:

Port 22
Port 23                  <added this line. The others I just uncommented>
Protocol 2,1
ListenAddress 0.0.0.0
ListenAddress ::


And toggled remote login in System Preferences, but an 'ssh -p 23' from
another machine can't get me into my mac. It's not the firewall, I allowed
23.  Normal ssh on 22 is unaffected.

I'm almost certain that's all I did on my linux box to get it to listen on
23. What am I overlooking on OS X?

- opa


-- 
\\\\\\\\\\\\\\\\\\\\\\\////////////////////////
If Builders avoid having a 13th floor, why aren't
Publishers afraid to have a Chapter 11?

http://home.nyc.rr.com/attilan/wonderfal/   <--    NEW location!
\\\\\\\\\\\\\\\\\\\\\\\////////////////////////



More information about the X-Unix mailing list