[Bug 984] Hangup to script while forced command ...
bugzilla-daemon at mindrot.org
bugzilla-daemon at mindrot.org
Thu Feb 17 22:58:43 EST 2005
http://bugzilla.mindrot.org/show_bug.cgi?id=984
Summary: Hangup to script while forced command ...
Product: Portable OpenSSH
Version: 3.9p1
Platform: All
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: sshd
AssignedTo: openssh-bugs at mindrot.org
ReportedBy: webmyster at addoc.u-psud.fr
I have an account named demo. In its $(HOME)/.ssh/authorized_keys, I entered my
public key with a forced command that is a script. This script allows the user
to make a choice to launch a nohup backgrounded X-window (forked, without hang
up signal and without standard I/O). Then, the script leaves, that close the ssh
connection.
If I connect through ssh to this account without any command (ie : "ssh
user at computer"), xinit receives a hangup signal, causing X-window to shut down.
However, if i connect to this account with whatever string as command (ie : "ssh
user at computer foo"), my script is executed as expected : xinit don't receive any
hangup and X-window don't shutdown unless I do it explicitely.
------- 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