On Fri 18 Nov 2016 at 16:29, Mark Rogers via Peterboro wrote:
> [...]
> Anyone able to give me a quick set of instructions, or to point me to
> a set online that they understand well enough that I can ask questions
> when I mess it up?
> 
> At the end of this I don't just want something that works, I want to
> actually understand what I'm doing and why.
> [...]

I don't use autossh, I use a systemd service file to establish the
connection using an ssh key to connect my private server -> my public
server. Them from my public server I "ssh private_user@localhost -p 12345"
to connect to my private server, which is password protected due to it
being a shared public server.

Hope that sheds some light on what you need to do. I can't remember what
instructions I followed but something like this looks familiar:

https://blog.kylemanna.com/linux/ssh-reverse-tunnel-on-linux-with-systemd/

Ultimately it's just a systemd service file you need to create, enable and
start on your private server (Pi), then you can connect back in from your
public server.

-- 
Jonathan Steel

_______________________________________________
Peterboro mailing list
Peterboro@mailman.lug.org.uk
https://mailman.lug.org.uk/mailman/listinfo/peterboro

Reply via email to