`ssh -NfR` equivalent with dropbear
6,214
Dropbear does not support the short form of options, try this instead:
ssh -N -f -R 9022:127.0.0.1:22 <target>
Related videos on Youtube
Author by
keks
Updated on September 18, 2022Comments
-
keks over 1 year
I want to open a reverse tunnel in background. When using OpenSSH
ssh -NfR 9022:127.0.0.1:22 <target>
always worked. When I did that with dropbear on my router, it failed like this:# ssh -NfR 9022:127.0.0.1:22 <target> ssh: Exited: Error resolving '9022:localhost:22' port '22'. Name or service not known
ssh -R works fine, but doesn't start in background. Leaving either 'f' or 'R' didn't help; it printed the same error. Replacing the
127.0.0.1
withlocalhost
didn't help either.Please, SF, help me! :)
-
keks about 11 yearsDamn, I should've tried that. I'll do it as soon as I have access again (about 22:00+01)