3
I am running Windows 10 for my home PC with bitvise SSH server, and a VPS Ubuntu ec2 instance from Amazon.
My ISP blocks ssh from coming IN, but I can connect to other SSH servers outside my LAN no issue. I have confirmed this by calling my ISP and they do indeed block SSH. Connecting to an online SFTP server for testing, works just fine.
What I have done is created myself a new VPS from Amazon, free tier for a year, with no storage.
Since my home PC can connect to a outside server just fine, I want my home SSH server to connect to the VPS and then have the VPS, reverse any SSH connections to it (VPS) back to my home PC. For example, if I am at a library on their PC, I could plug in my USB drive that has winscp or bitvise client on it, SSH to my VPS, which in turn relays the SSH session to my home server through the tunnel that was originally created.
I do not know how to do this with Windows 10. I'm guessing I would need something like putty or bitvise client to create a connection, keep said connection on all the time, then somehow configure the VPS to relay the SSH to my home machine.
I don't think a VPN will solve this, since I do not have direct control over the school, library, friends, public PC to install software onto it to connect to the VPN. Plus, having to install software on a PC every time I want to connect is a hassle. A lot of SFTP clients run on a USB stick, which makes it simple.
I did find a tutorial on how to do it if both machines were using Ubuntu. I can not and will not change the home PC to Linux. Any other PC is fine being Linux, but not the home one.
Have you tried port forwarding configurations with your AP? You can make new connections to a port on your home network forward to the internal IP address of your device. – Ecstasy – 2019-12-09T14:31:53.293
Opps, forgot to mention that. Yes i have, but it doesnt matter anyway because my isp blocks it at the edge router according to them. All my port forwards work for any other protocol except ssh. I have tried it on 25565, 47506, 8022,5322, and no go. All firewalls were completely turned off for about 30 seconds to do testing. Nothing ever hit my server, no logs, nothin. Just times out. I even switched to my nieghboors xfinity access point, with their permission, and ssh server worked just fine haha. But my isp has confirmed that ssh is blocked. – Matt Thomas – 2019-12-09T14:57:21.127
Im really hopping to learn how to do reverse ssh on a vps from a win 10. So much to learn haha – Matt Thomas – 2019-12-09T15:02:41.023
If your goal is to avoid VPN altogether, you could open a port for HTTP that has WebSSH2 configured. – Ecstasy – 2019-12-09T15:02:44.917
I'm voting to close this question as off-topic because I think this is an XY problem case.
– Ramhound – 2019-12-09T17:19:12.563