Some of the little bits of Mac setup as I retired my home Linux server and made my Mac Desktop also my server.
/etc/sshd_config
SSHD is started from xinetd
/etc/inetd.conf
Mac uses xinetd
/etc/xinetd.conf
/etc/xinetd.d/ssh
This does not specify the port because xinetd is doing the listening and by the time it starts sshd, the port is already established.
So where does it do it?
/etc/services:
ssh 1222/udp # SSH Remote Login Protocol
ssh 1222/tcp # SSH Remote Login Protocol
Port 8081
DocumentRoot "/Users/csev/www"
<Directory "/Users/csev/www">
Uncomment:
LoadModule php4_module libexec/httpd/libphp4.so
AddModule mod_php4.c
http://www.sanbeiji.com/tech/tutorials/php/index.php
Apple-> System Preferences-> Sharing
Check "Remote Login" (ssh) and "Personal Web Sharing" (apache)
Posted by csev at January 14, 2006 12:38 PM