sweetpotatoe Posted June 20, 2016 Share Posted June 20, 2016 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? Link to comment Share on other sites More sharing options...
wildcat_paris Posted June 20, 2016 Share Posted June 20, 2016 @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" Link to comment Share on other sites More sharing options...
sweetpotatoe Posted June 20, 2016 Author Share Posted June 20, 2016 i checked the file /etc/ssh/sshd_config for several times - not sure, what changed, but: perfectly working! thanks for your advice! Link to comment Share on other sites More sharing options...
Recommended Posts