Displaying 4 results from an estimated 4 matches for "ssh_init_stdio_forwarding".
2014 Feb 20
1
Regression in 6.5p1 when using -W option
...tcpip")
at /usr/src/debug/openssh-6.5p1-1/channels.c:1388
#3 0x000000010041dc07 in channel_connect_stdio_fwd (
host_to_connect=0x600039800 "machine2", port_to_connect=22, in=in at entry=4,
out=5) at /usr/src/debug/openssh-6.5p1-1/channels.c:1269
#4 0x0000000100401566 in ssh_init_stdio_forwarding ()
at /usr/src/debug/openssh-6.5p1-1/ssh.c:1260
#5 0x0000000100454171 in ssh_session2 ()
at /usr/src/debug/openssh-6.5p1-1/ssh.c:1606
#6 main (ac=<optimized out>, av=<optimized out>)
at /usr/src/debug/openssh-6.5p1-1/ssh.c:1130
This is not Cygwin specific. To be really s...
2014 Feb 12
5
[Bug 2200] New: ssh -W causes "getsockname failed: Bad file descriptor" errors
...are new in 6.5p1 and reported via error(). I think this was triggered
by the new calls to get_sock_port from port_open_helper in
https://anongit.mindrot.org/openssh.git/commit/?id=4def184; gdb shows
that c->sock is -1 here.
Full -vvv output in the Debian bug; relevant-looking excerpt:
debug3: ssh_init_stdio_forwarding: server2.example.net:22
debug1: channel_connect_stdio_fwd server2.example.net:22
debug1: channel 0: new [stdio-forward]
debug2: fd 4 setting O_NONBLOCK
debug3: fd 5 is O_NONBLOCK
getsockname failed: Bad file descriptor
debug1: getpeername failed: Bad file descriptor
It looks like it still works fi...
2017 Oct 10
3
tunnel device name acquisition?
Numerous how-tos all over the Internet show how one would set up
a tunnel using ssh, e.g.:
ssh -f -o Tunnel=ethernet <server_ip> true
I was wondering if there's a way to subsequently acquire the names
of the local and remote tun/tap interfaces (e.g., using the default
"-w any:any") for subsequent automatic tunnel configuration, e.g.:
ip link set $TapDev up
ip link set
2016 May 31
7
[Bug 2577] New: Port Forwarding on Proxy with ProxyCommand ssh -W does not work / bad file descriptor
...jump 2>~/sshpc.log
Host target
HostName target
Port 22
User user
IdentityFile ~/.ssh/user-target_ed25519
ssh target/remote
(check ss -lant4 in second terminal: no listener on port 1080)
(exit ssh session)
cat sshpc.log
[...]
Authenticated to my.dynamicdns.com ([12.34.56.78]:2222).
debug3: ssh_init_stdio_forwarding: router:22
debug1: channel_connect_stdio_fwd router:22
debug1: channel 0: new [stdio-forward]
debug2: fd 4 setting O_NONBLOCK
debug2: fd 5 setting O_NONBLOCK
debug1: getpeername failed: Bad file descriptor
debug3: send packet: type 90
debug2: fd 3 setting TCP_NODELAY
debug3: ssh_packet_set_tos: set...