I'm trying to connect to Ubuntu using Putty via HTTPS (SSH via port 22 is blocked via the firewall). I read so many tutorials and sites about SSL, SSH, tunneling, ... that I'm kind of confused now. I can't sort out what the right way is, what technology/protocol I need and how to do that.
- Ubuntu 16.04 TLS (fresh install hosted in a cloud service)
- Putty on Windows 7 (local)
- Web access only via proxy; already configured on my Win machine (port: 3128)
- Firewall that kind of blocks anything (including port 22 for direct SSH access to the terminal on Ubuntu)
My observations and what I tried so far
Looking into the
sshd_config on Ubuntu I can see that only Port 22 is enabled for SSH access. Adding Port 443 doesn't work. I guess it is due to the fact that still the same protocol is used?
Then I looked into the
stunnel4 service. Using the tutorial here I configured everything and tried to connect but it fails. Even without the firewall (when trying from home). I guess the reason is that a tunnel is just used to kind of route through the Linux server?
So again: I want to connect to an SSH terminal via HTTPS from Windows (Putty) to Ubuntu.
- What to use? e.g. tunneling, https, ...
- How to configure the Ubuntu server (sshd deamon, stunnel4 service, ...)?
- How to configure Putty?