Skip to content

Can not assign IPv4 param to tunnel #3

@yhojann-cl

Description

@yhojann-cl

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...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions