How to SSH into a computer sitting behind a VPN

Hmm not sure how to do it on Mac either. What’s your Mac running that it’s a server you want to SSH into?

“I need to be able to SSH from the outside, from a series of different devices”
The public keys can be independent of the client or server IP.
That’s what is great about a public key.

“I just through that SSHin’g into the server behind the VPN would be more secure”
SSH behind the VPN is not more secure then SSH from 192.168.1.x.

“I need to be able to SSH from the outside, from a series of different devices”
This is why you might need an SSH server on the client.
Personally I use a server that has a static IP to send the IP over SMS and propagate that over the network.
My work around before getting a static IP was just blasting the new IP over 4g,5g, IPv4, IPv6.

Thank you for the breadcrumbs! I think it’s exactly the kind of nitty gritty technical info I’m looking for, except that I’m on macOS – should have mentioned that :sweat_smile: I think I get the gist of what you’re saying, I just don’t know how to do it. Thought that this would be the place to ask.

Will your VPN be available for Mac users too, btw?

I’m using it for home automations, and I’m trying to create a shortcut that runs ssh script

Ok, I’ll take a look into the client-side ssh server, just need to wrap my head around it. Thank you!

I’m on macOS – should have mentioned that

Ahh, it should definitely be the same then, maybe even easier to do since macOS generally follows unix conventions for route stuff, which is more widespread in it’s documentation. Such as here: Adding a Static Route to macOS - Just Add Power Support

As far as my mac support, eventually :slight_smile: