New on LowEndTalk? Please Register and read our Community Rules.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
How do I connect to SSH with Stunnel?
Hi,
My server and client configuration is as follows:
Server: Installed and configured Stunnel.
Stunnel.conf:
pid = /var/run/stunnel.pid
cert = /etc/stunnel/stunnel.pem
[ssh]
accept = public_ip:443
connect = 127.0.0.1:22
Client: My OS: Windows. Installed and configured Stunnel.
Client Stunnel.conf
pid = /var/run/stunnel.pid
cert = /etc/stunnel/stunnel.pem
[ssh]
accept = public_ip:443
connect = 127.0.0.1:22
The connection is successful. I open Putty. Server IP: 127.0.0.1, port: 22. But it is not connected. Where am I making mistakes?
Comments
what are trying to archive with this? SSH over stunnel does not make any obvious sense to me. Also how is the connection successful when it is not conencted? Maybe try switching the accept/connect values on the client config?
Are the ports open on both the server and client? Is the client a residential location? Is the router at your home config correctly? Are the paths correct on the windows client?
You're telling your stunnel client to connect wrong, unless you're trying to connect to your loopback.
client