Gnome-terminal doesn't close at end of SSH session
- by Simón
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.