[Bug 1815] RemoteCommand and PseudoTTY config options

bugzilla-daemon at bugzilla.mindrot.org bugzilla-daemon at bugzilla.mindrot.org
Sun May 22 04:07:30 EST 2011


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

Bert Wesarg <Bert.Wesarg at googlemail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |Bert.Wesarg at googlemail.com

--- Comment #3 from Bert Wesarg <Bert.Wesarg at googlemail.com> 2011-05-22 04:07:30 EST ---
(In reply to comment #2)
> May I ask why not?

My personal opinion would be that this is a job for a script. And note
that this is even shorter to type:

> config:
> 
> Host v2bl
>     User root
>     LocalForward 5900 localhost:5900
>     RemoteCommand x11vnc -localhost -timeout 120 -display :0 -auth
> /var/lib/gdm/:0.Xauth
> 
> command to start a secure remote x11vnc session:
> 
> ssh v2bl

v2bl.sh:
#!/bin/sh
exec ssh v2bl -t x11vnc -localhost -timeout 120 -display :0 -auth
> /var/lib/gdm/:0.Xauth

command:
v2bl.sh

-- 
Configure bugmail: https://bugzilla.mindrot.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.
You are watching someone on the CC list of the bug.


More information about the openssh-bugs mailing list