Gnome-terminal doesn't close at end of SSH session

Posted by Simón on Ask Ubuntu See other posts from Ask Ubuntu or by Simón
Published on 2011-10-22T23:27:39Z Indexed on 2012/03/25 23:41 UTC
Read the original article Hit count: 369

Filed under:
|

I have defined in gnome-terminal that it closes at end of shell. When I press Control-D or I execute exit, the terminal closes.

But if I open the SSH session with gnome-terminal -x ssh server and I execute reboot in the SSH session (to reboot the remote server), it hangs and it doesn't close. What's happening?

This worked to me before but I have to reinstall my Ubuntu (in local) and now gnome-terminal doesn't close itself when SSH session ends.

© Ask Ubuntu or respective owner

Related posts about ssh

Related posts about gnome-terminal