should network restart kick me off (when ssh'e into) my box?
Hi
I was doing some playing with my /etc/hosts file and understood that to 'effect' these changes I need to do something like : /etc/rc.d/init.d/network restart but since I'm not connected to the box directly (its away in another location) I would have thought that doing this should kick me off? seems weird to see: Code:
Shutting down interface ra0: [ OK ] why ? |
You do not need to restart after modifying /etc/hosts. It is read when you call the computer you are pinging (or whatever your application is).
Chris |
Hi
Quote:
if I'm on computer A and connecting to computer B using ssh and modifying computer B's /etc/hosts file I don't need to restart B's network? kewl thanks |
Yes.
It is irrelvent how you log in, whether on the actual console, via a Serial Port, SSH or telnet, there is no difference in this respect. Chris |
Quote:
|
You did pull it out from under yourself, however before your session could time out it came back, so the session remained "connected". Restarting the network doesn't kill apps that have sockets open.
|
Hi
Quote:
|
All times are GMT -5. The time now is 02:34 AM. |