Linux / UNIX Tech Support Forum
This is a discussion on CentOS network restart remote kicks me out within the CentOS / RHEL / Fedora forums, part of the Linux Distribution category; Hey all, I never had this issue before. But now whenever I run Code: service network restart than system kicks ...
Register free or login to your account to remove all advertisements.
|
|||||||
| CentOS / RHEL / Fedora Discussion about Redhat Enterprise Linux or CentOS or Fedora Linux related problems. |
![]() |
|
|
Thread Tools | Display Modes |
|
||||
|
No ssh never kicks out exiting user when you restart ssh session.
Another possibility is firewall like iptables with various states is not configured properly or some how hooked with ssh service hooks via custom script or something like that. For testing this just disable iptables Code:
service iptables stop && service ip6tables stop
__________________
Vivek Gite |
|
||||
|
Are you asking me to post or OP?
__________________
Vivek Gite |
| The Following User Says Thank You to nixcraft For This Useful Post: | ||
sweta (5th May 2010) | ||
|
|||
|
Quote:
Sorry for confusion |
|
||||
|
Just want to share one tip..
why cant you use just reload once you change something.. most of the services supports reloads..
__________________
Thanks, Surendra Kumar Anne Linux: Fast, friendly, flexible and .... free! Support Open source. http://www.linuxnix.com |
| The Following User Says Thank You to kumarat9pm For This Useful Post: | ||
sweta (5th May 2010) | ||
|
||||
|
Just case if you don't know how to get firewall settings type
Code:
iptables -L -n -v
__________________
Rocky Jr. What's wrong? I hope I am not making you uncomfortable... Never send a boy to do a mans job. |
|
||||
|
My problem is sorted out by reloading ssh.
Code:
/sbin/service sshd reload
__________________
|
![]() |
|
|
| Tags |
| linux, openssh, service network restart, ssh |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) |
|
| Thread Tools | |
| Display Modes | |
|
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| restart the ssh service | goku1 | Linux software | 2 | 30th March 2010 01:59 PM |
| Run remote X applications over network using ssh | rockdalinux | Getting started tutorials | 6 | 27th March 2010 08:44 PM |
| can someone tell me what (/etc/init.d/network restart) does and a reason to do it? | DWHS | Linux software | 9 | 19th March 2010 05:08 PM |
| restart mysql centos server | chinalinix | CentOS / RHEL / Fedora | 1 | 10th March 2010 06:10 PM |
| Remote setup of LAMP server on CentOS 5 | satimis | Getting started tutorials | 2 | 12th January 2008 10:52 AM |