[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Restart SSH Remotely?
>This is probably one of those "Duh!" questions, but here goes: I've
>installed OpenSSH 3.3, and now want to stop the old sshd and start
>the new one. I'm not physically at the machine, though. Since I'm
>connected through ssh, if I kill the current sshd, will the current
>sshd child processes also be killed? (If so, I won't be able to run
>the new sshd!) Or will be connection still be OK?
The answer is: If you Kill sshd, you connection go bye bye.
1) Connect via ssh
2) Fire up telnetd
3) Disconnect ssh
4) connect via telnet
5) kill and restart sshd
6) disconnect telnet
7) connect via ssh
8) If it works ok, kill telnetd