If sshd is restart will any connections be disconnected
Q. I have dedicated Linux server located in remote data center. My questions if sshd is restarts will any connections are disconnected?
A. No ssh will not disconnect your ssh existing ssh session. You can use normal ssh restart command:
# /etc/init.d/ssh restart
Similarly when you restart network ssh session will not be disconnected:
# /etc/init.d/network restart
However if you are making any changes to iptables based firewall script, you may loss the connectivity due to wrong iptables rules.
Subscribe to our free e-mail newsletter or RSS feed to get all updates.
You can Email this page to a friend.
Related Other Helpful FAQs:
- Monit: Monitor SSHD Server and Auto Restart SSH If It Does Not Respond
- Restrict certain users log onto a system via SSH server
- HP-UX start or stop / restart OpenSSH SSHD service
- VSFTPD limit the number of simultaneous vsftpd connections for a single IP address
- Howto: Prevent root user from being able to log in via SSH service
Discussion on This FAQ
Leave a Reply
We encourage your comments, and suggestions. But please stay on topic, be polite, and avoid spam. Thank you very much for stopping by our site!


November 24th, 2006 at 12:21 am
how can i stop the clients ;that don’t ssh to my computer
November 24th, 2006 at 12:31 am
how can i mount a vfat filesystem through autofs
as i have already configure the file /etc/auto.mis and /etc/auto.master before; like below but i does’nt work;
/etc/auto.misc is configured like
winfat -fstype=vfat :/dev/hda6
and /etc/auto.master is configured like
/auto /etc/auto.misc –timeout=60
can autofs mount Vfat file system