By example:
vncsnapshot -tunnel root@server:1 img.jpg;
processTunnelArgs: ARGV[0]=vncsnapshot
ARGV[1]=-tunnel
ARGV[2]=root@server:1
ARGV[3]=img.jpg
tAI=1: -tunnel
tAI+1: root@server:1
ARGV[0]=vncsnapshot
ARGV[1]=localhost::5599
ARGV[2]=img.jpg
bind [::1]:5599: Cannot assign requested address
Successfully runCommand(/usr/bin/ssh -f -L 5599:localhost:5901 root@server sleep 20)
ReadFromRFBServer: rdr::EndOfStream
The app try connect to a ipv6 address and fails, but can connect manualy from ssh works fine:
ssh -N -T -4 -L 5900:127.0.0.1:5900 root@server;
How to pass -N, -T and -4 argument to ssh command?, in the server the authorized_keys file is restricted:
restrict,port-forwarding,permitopen="127.0.0.1:5900",command="/bin/true" ssh-rsa AAAA...
By example:
The app try connect to a ipv6 address and fails, but can connect manualy from ssh works fine:
How to pass
-N,-Tand-4argument to ssh command?, in the server theauthorized_keysfile is restricted: