FOR TIPS, gUIDES & TUTORIALS

subscribe to our Youtube

GO TO YOUTUBE

14455 questions

17168 answers

28195 comments

0 members

We are migrating to our new platform at https://community.teltonika.lt. Moving forward, you can continue discussions on this new platform. This current platform will be temporarily maintained for reference purposes.
0 votes
525 views 2 comments
by
Hey,

I have been trying for a day to look for a solution on the RUT955 to be able to autossh, opening a constant ssh connection to a server on the internet. I have been able to establish normal ssh connection with no issues, and after looking on openwrt online I also found a package on https://openwrt.org/docs/guide-user/services/ssh/autossh but it is not available when I try to opkg install autossh. Also in the guide it mentions that sshtunnel would be a good alternative which I managed to install successfully but once I install it, ssh does not work anymore from the terminal, ssh complaining that a library called libcrypto is missing, and I would need to have ssh reliably working. Once this happened I factory reset the gateway to default and now ssh is again working, but I am still not closer to a solution.

Any help would be appreciated

1 Answer

0 votes
by anonymous
Hi,

Why does our default SSH client not work for you? Is there anything you specifically need that made you look for other SSH clients?

EB.
by
Hey,

Autossh reinstantiates the ssh connection with the client if it goes down or if it gets disconnected, which the normal client doesn't, so I would have always access to my gateway. So more or less autossh is a solution built on top of the normal ssh client.

All the best
by anonymous
In this case, AutoSSH is not supported by RUTOS and that's why it's not in the list of opkg packages.

What I would suggest is doing a script that would reconnect you automatically once you lose connection.

I did some googling for you and found this: https://gist.github.com/spiroski/78c8bf88e7f03add2a807a6f2dff692b

Hope this helps.

EB.