[Bug 984] Hangup to script while forced command ...

bugzilla-daemon at mindrot.org bugzilla-daemon at mindrot.org
Fri Feb 18 19:44:26 EST 2005


http://bugzilla.mindrot.org/show_bug.cgi?id=984





------- Additional Comments From dtucker at zip.com.au  2005-02-18 19:44 -------
(In reply to comment #2)
> > no-pty,command="xscript" ssh-rsa ....
> 
> Actually no, because this script is asking the user through the read bash
> command inside the script.

Did you try it?  "read" just reads from stdin and doesn't need a controlling
terminal.

> The most important problem, I think, is the strange behaviour that whenever I
> specify one command (whatever command), it don't hang up my xinit. However,
> when I don't give any command, a hangup is send

By default, when you "ssh yourserver" you get a pty and when you "ssh yourserver
somecommand" you don't.  Try "ssh -T yourserver" to prevent allocation of a pty.

You could also launch the command in your script with nohup.



------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.




More information about the openssh-bugs mailing list