Using PuTTY on my Windows laptop, I am able to ssh
into my Mac desktop, but once I've logged in, I can't find any sshd
process running on the Mac. E.g. running the following right after ssh-ing into the Mac:
% ps -eo pid,command | grep sshd | grep -v grep
...produces no output. Of course, needless to say, I get the same results (no output) if I use ps -ef
instead of ps -eo pid,command
.
Also, there's no /var/run/sshd.pid
file.
What's going on? Does OS X use a different program to handle incoming ssh logins?
ps -eo pid,command|grep sshd
. It will show at least as many processes as those shown byps -ef|grep sshd
, proving that my failure to observe asshd
process is not explained by my choice of flags tops
. – kjo Jul 18 '12 at 12:59-ef
but it's your vote to cast. Your criticism of everyone that stepped up to try to help seems an odd way to attract more help. – bmike Jul 18 '12 at 14:00sshd
process? Later you write: "Alsops|grep ssh[d]
will prevent your grep process from matching the target." I don't see why this is relevant, since, I did not useps|grep sshd
, nor did I useps|grep ssh
. Finally,... – kjo Jul 18 '12 at 19:26sshd
process immediately afterssh
-ing into the Mac, your last remark, as well as the questions you ask in the revised version of your answer, make me question whether you actually read my post. – kjo Jul 18 '12 at 19:26