Skip to content
View in the app

A better way to browse. Learn more.

Armbian Community Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Reverse ssh-tunnel

Featured Replies

For my Orange Pi PC, I just switched from the buggy debian-image to Armbian. Armbian works fantastic, but there is one small problem with my ssh reverse tunnel.

 

On the (old) debian system i had my script tunnel.sh:

#!/bin/bash
/usr/bin/autossh -p2000 -fNC -R 9000:localhost:9091 -R 5057:localhost:4949 -R 8000:localhost:8888 -R 10012:localhost:22 myusername@www.mydomain.com

The remote Pi will call my gateway Pi at port 2000. Whenever i call the gateway-ip:9000 i am at port 9091 on my remote pi etc.

Worked flawless.

 

After I changed to Armbian, this mini-script for tunnel.sh works, too:

#!/bin/bash
/usr/bin/autossh -p2000 -fNC -R 10012:localhost:22 myusername@www.mydomain.com

I can log in by SSH on port 10012 of my gateway Pi into my remote Pi.

But i can´t add the other ports from the example above. The Orange Pi PC will reboot ok, but I can´t even log in by SSH through port 10012 of my gateway Pi.

 

Any ideas, what i am doing wrong?

@sweetpotatoe

 

thanks for pointing @ autossh

 

if you still have a copy of your old system... check ssh_config & sshd_config to see if there are restrictions in sshd or ssh client config that you allowed and forgot to "backport"

  • Author

i checked the file /etc/ssh/sshd_config for several times - not sure, what changed, but: perfectly working! thanks for your advice!

Guest
This topic is now closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.