#9 closed defect (fixed)
Putty does not exit when remote command terminates — at Version 4
Reported by: | Antoine Martin | Owned by: | Antoine Martin |
---|---|---|---|
Priority: | critical | Milestone: | 1.0 |
Component: | Client | Keywords: | win32 |
Cc: |
Description (last modified by )
In ssh-mode, we launch a remote X command and putty is still running when the command terminates.
This causes the session to remain "active" on the client despite the fact that it is really finished...
This happens with all the clients we can use: TortoisePlink.exe
, Plink.exe
as well as openssh (via cygwin).
Looks like the clients refuse to shutdown whilst there is still a tunnel (the X display connection) so we may have to use a trick on the server and run the command via a wrapper which will take care of killing the ssh process when the command terminates.
Change History (4)
comment:1 Changed 15 years ago by
Description: | modified (diff) |
---|---|
Owner: | changed from Antoine Martin to Antoine Martin |
Status: | new → accepted |
comment:3 Changed 15 years ago by
Resolution: | → fixed |
---|---|
Status: | accepted → closed |
Done: start ssh session via wrapper script which will pass CLOSE_SESSION to the client via the server: r1804
comment:4 Changed 13 years ago by
Description: | modified (diff) |
---|
Note: See
TracTickets for help on using
tickets.
done the wrapper script hack: r1801
But the problem now is that putty moans and displays an alert box to the user...
So the final solution will be to: