Hi Cole,
I don't think the settings are ignored, although I don't know why sshd answered on port 22 if you specified a different port in your /etc/sshd_config file. Maybe it was invoked to listen on the standard port by xinetd but then changing the settings in /etc/services file should work and it doesn't. I personally think that
both changes have to be made but I would expect connections to fail if only one change is made. However, Noah also found that the traditional port continued to work and I simply don't understand that.
I recently changed the port on Tiger as an experiment to help out Noah and I described the procedure in the thread,
change/add sshd port. You'll notice there that I made
both changes. Although I can't test it, let me describe what I believe is the corresponding technique in Panther.
First, as I said, I believe that it's necessary to change the port specification in the /etc/sshd_config file to something like:
Port 2222
That fixes sshd. Then add:
ssh2 2222/tcp #My personal sshd port
to the /etc/services file. Finally, move the /etc/xinetd.d/ssh file to ssh2 with:
mv /private/etc/xinetd.d/ssh /private/etc/xinetd.d/ssh2
Then reboot xinetd with:
sudo killall -HUP xinetd
Of course the change in port changes the server's RSA key. Thus you must delete the server's entry in the client's ~/.ssh/known_hosts file and accept the new one the first connection to the new port. That should do it.
Granted, it's probably not necessary to change ssh to ssh2; that just fit Noah's needs. However, it seems a little more "proper" so I left it that way. I also did that because I think that is the closest Panther equivalent to what I know works on Tiger. If someone does all of that and finds that it fails, I'll confess to being stumped. However, so far the posts don't seem to indicate that
both xinetd
and sshd were changed.
--
Gary
~~~~
Economists state their GNP growth projections to the
nearest tenth of a percentage point to prove they have a
sense of humor.
-- Edgar R. Fiedler