You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi all,
I have trouble tunneling an ssh session with russh (local port forwarding).
I've written a small server (my-server) and tunneling clear text via nc/ nc -l works fine.
When tunneling a ssh session however, I run into problems.
the setup is
openssh-client -> my-server -> target machine/open-ssh server
the ssh command is: ssh my-server -p xxxxx -L6000:target-machine:22
then ssh my-server -p 6000
the debug-output I receive from the on the client side when connecting to the target-machine through the tunnel:
copy_target is written the same, with source and target flipped
the-target machine is a local VM, no router, switch or firewall is between source and target.
A direct connection to the open-ssh server, without my-server in between, works.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi all,
I have trouble tunneling an ssh session with russh (local port forwarding).
I've written a small server (my-server) and tunneling clear text via
nc/nc -lworks fine.When tunneling a ssh session however, I run into problems.
the setup is
openssh-client -> my-server -> target machine/open-ssh server
the ssh command is:
ssh my-server -p xxxxx -L6000:target-machine:22then
ssh my-server -p 6000the debug-output I receive from the on the client side when connecting to the target-machine through the tunnel:
Wireshark doesn't recognize the kex-reply from 'my-server' as ssh-protocol.
the code is pretty straight-forward and I don't know if I'm doing something wrong or if it is a russh-bug (maybe some bytes stripped or added)
copy_target is written the same, with source and target flipped
the-target machine is a local VM, no router, switch or firewall is between source and target.
A direct connection to the open-ssh server, without my-server in between, works.
has anyone an idea, what the the problem is?
TIA
Beta Was this translation helpful? Give feedback.
All reactions