Ask Your Question

gnome-terminal inactive when in ssh and network changes

asked 2015-05-13 04:06:07 -0600

rudrab gravatar image

Hi, When I am in a ssh'd terminal, and network changes (wireless to wired etc) the gnome terminal become unresponsive. I would expect a "broken pipe" error and the terminal back to my local machine. but it still stays (show) in the ssh'd machine and remains unresponsive. The only option is to kill the tab using close button.

Is this normal? Can I make it back to local machine once the network is broken?

edit retag flag offensive close merge delete


It's not 'normal' but I'm not entirely sure what 'normal' is. The SSH protocol is flexible, there are settings to control whether it keeps checking on the presence of the remote system and times out or if it just sits there waiting for input from one end or the other.

If you're flitting between networks while connected, then perhaps take a look through the SSH configuration man pages for the settings for 'keepalive'.

cobra gravatar imagecobra ( 2015-05-13 11:49:54 -0600 )edit

1 Answer

Sort by ยป oldest newest most voted

answered 2015-05-20 18:05:31 -0600

Tiger gravatar image

ssh -X root@ip_address gnome-terminal

edit flag offensive delete link more

Question Tools

1 follower


Asked: 2015-05-13 04:06:07 -0600

Seen: 161 times

Last updated: May 13 '15