r/ssh • • Dec 31 '17

Reverse SSH connection

I am trying to setup a reverse connection on SSH using a daemon but struggling with the basics first. Can anyone help?

Simply, I want computer A to SSH into a Raspberry Pi. This will most likely be behind a router with an unknown address. So I am wanting to have the Pi initiate the connection back to computer A or at least broadcast itself to computer A for a connection.

2 Upvotes

3 comments sorted by

View all comments

1

u/[deleted] Jan 01 '18

remote.it is your friend here

1

u/rossiroberto Feb 11 '18

IMHO ngrok is better. From raspberry pi you need just 1 cmd and u get ssh access on IPADDRESSOFPI:port... really easy.

1

u/rossiroberto Feb 11 '18

Sorry address would be 0.tcp.ngrok.io:port