Re: sshd restart?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



>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...




[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux