sshd restart?

Knute Johnson knute at frazmtn.com
Wed May 18 02:13:24 UTC 2005


>You could see if anything is holding the port open with fuser
>
>/sbin/fuser -n tcp 22
>
>then if it lists a process id you can grep that out of the process
>table
>
>ps aux | grep PID where PID is the numeric ID
>
>
>Now, if no pid is shown, andI've had this in the past with linux, it
>could be that the port is still marked as being in use somehow
>(kernel?)
>
>Usually at that point the only course of action is reboot.
>
>Cheers,
>
>Al
>

Thanks,

If I stop sshd and then run /sbin/fuser it shows nothing.  If sshd is 
running it has the PID of sshd.

-- 
Knute Johnson
Molon Labe...






More information about the users mailing list