https://bugzilla.mindrot.org/show_bug.cgi?id=3142

--- Comment #5 from Tetsuo Handa <[email protected]> ---
But my program (which is called as Apache CGI) does allow setting
$SHELL.

  sudo -u user /usr/bin/ssh -nT -i /path/to/key -o 'ProxyCommand nc -x
proxy_host:proxy_port %h %p' target_user@target_host command

which I chose

  sudo -u user SHELL=/bin/bash /usr/bin/ssh -nT -i /path/to/key -o
'ProxyCommand nc -x proxy_host:proxy_port %h %p'
target_user@target_host command

as a workaround for this problem.

-- 
You are receiving this mail because:
You are watching someone on the CC list of the bug.
You are watching the assignee of the bug.
_______________________________________________
openssh-bugs mailing list
[email protected]
https://lists.mindrot.org/mailman/listinfo/openssh-bugs

Reply via email to