Spinsels op het web
actions » SearchLogin 310 articles • 07 Feb 2012

Article with comments

Thursday, 04 May 2006

permalink Change/add ssh server port on Mac OS X 10.4 (Tiger)

Since Apple switched to using launchd instead of initd to start system services such as sshd, the way to configure the port on which the service is listening is also different from the regular editing of sshd.config. (No matter what I tried before, I couldn't get it to work. Now I know why)

It involves changing a bit in the launchd configuration and in the etc/services file.

More info is in this article.

In my case, where I wanted to add a second port where sshd should listen on, so as the article suggested I added a second (ssh2) service config file for launchd and also added the additional ssh2 port in the services file. After telling launchd to reload the config, it worked!

• Wrote irmen at 14:34 (edited 2×, last on 14 May 2010) | read 3491× | Add comment

Comments (1)

ciao

• wrote orfeo on 08 Jan 2007, 12:15  permalink


Write a comment

Your name  
E-mail   (only visible for blog owner)
Homepage
Text:

[b] [i] [u] [tt] [center] [code] [quote] [url] [url=] [img] [@] [@@] [@:]
detailed help about markup
You must answer the following to be able to submit.
How much is four plus thirteen?  
[Captcha Image] Type the letters you see in the image.
(Unreadable? Click on it for another one)

Process times: page=0.007 request=0.014 cpu=0.010