View previous topic :: View next topic |
Author |
Message |
HomerSimpson l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
![](images/avatars/871267053f99adf361d67.gif)
Joined: 25 Jan 2003 Posts: 869 Location: Ohio, USA
|
Posted: Wed Feb 18, 2004 9:33 pm Post subject: exiting from a terminal running ssh doesn't always work |
|
|
I connect to my headless systems through gnome-terminal and ssh using this command Code: | gnome-terminal -t Wendy -x ssh -c blowfish -X -l root root@wendy | When I am done I type exit. Sometimes the terminal closes (which is what I would expect) but sometimes it doesn't close. It is not a real problem for me to close the terminal by closing the terminal window but I want to make sure that there isn't something wrong with my setup that causes this.
Thx _________________ The strong must protect the Sweet. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
meowsqueak Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
![](images/avatars/176536617941acd57347ef3.jpg)
Joined: 26 Aug 2003 Posts: 1549 Location: New Zealand
|
Posted: Wed Feb 18, 2004 9:59 pm Post subject: |
|
|
Same thing happens here when ssh'ing to a Gentoo box. Ssh'ing to my Debian box never has this problem. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
db_404 Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
Joined: 05 Dec 2002 Posts: 336
|
Posted: Wed Feb 18, 2004 10:05 pm Post subject: |
|
|
I've seen something like this too, for me it seems to happen most often when I have background jobs still running on the (p)tty, even if I have nohupped/disowned the jobs. Could something similar be happening in your situation?
Not sure what the solution is though (if any). |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Earthwings Bodhisattva
![Bodhisattva Bodhisattva](/images/ranks/rank-bodhisattva.gif)
![](images/avatars/49753421747790001d409d.png)
Joined: 14 Apr 2003 Posts: 7753 Location: Germany
|
Posted: Wed Feb 18, 2004 10:39 pm Post subject: |
|
|
same here, but it's not related to background jobs and happens with debian (or different) servers being the other part, too. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
HomerSimpson l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
![](images/avatars/871267053f99adf361d67.gif)
Joined: 25 Jan 2003 Posts: 869 Location: Ohio, USA
|
Posted: Wed Feb 18, 2004 10:51 pm Post subject: |
|
|
meowsqueak wrote: | Same thing happens here when ssh'ing to a Gentoo box. Ssh'ing to my Debian box never has this problem. |
Actually it happens most often when I ssh into my Debian server.
For example, I run
Code: | gnome-terminal -t Allison -x ssh -c blowfish -l root root@Allison |
I have ssh-agent running and it has cached my key so I get in automatically when running that command.
I look at a log file Code: | nano /opt/tss2_rc2/server.log | I exit nano. Sitting at the prompt I typeand the terminal seems to hang. What normally happens is the terminal window closes automatically. I don't know if something is wrong and that is why the terminal is not closing or this is just something that happens from time to time and nothing is really wrong.
Thx _________________ The strong must protect the Sweet. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
michael-reilly n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 20 Sep 2003 Posts: 9
|
Posted: Thu Feb 19, 2004 4:51 am Post subject: |
|
|
I recall this coming up on an SSH list a couple of times in the past.
It is a long standing bug in SSH which the SSH developers have declined to fix..
I fixed it myself awhile back on my OpenBSD machine but never bothered to fix it on my gentoo systems. The OpenBSD machine is gone (forced to upgrade the hardware by my company) so I no longer have the fix I put in. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
HomerSimpson l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
![](images/avatars/871267053f99adf361d67.gif)
Joined: 25 Jan 2003 Posts: 869 Location: Ohio, USA
|
Posted: Thu Feb 19, 2004 1:12 pm Post subject: |
|
|
OK. Thx. It is not a big deal for me and since it is a bug in ssh and not something wrong with my setup then I will keep on closing the window manually an not worry about it.
Thx for the replies all _________________ The strong must protect the Sweet. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|