If sshd is restart will any connections be disconnected

by on November 17, 2006 · 3 comments· last updated at November 17, 2006

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.



You should follow me on twitter here or grab rss feed to keep track of new changes.

Featured Articles:

{ 3 comments… read them below or add one }

1 inam November 24, 2006 at 12:21 am

how can i stop the clients ;that don’t ssh to my computer

Reply

2 h8liu February 10, 2013 at 6:11 am

I guess you can kill that particular sshd process.

Reply

3 inam November 24, 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

Reply

Leave a Comment

You can use these HTML tags and attributes for your code and commands: <strong> <em> <ol> <li> <u> <ul> <kbd> <blockquote> <pre> <a href="" title="">

Tagged as:

Previous Faq:

Next Faq: