That is my first time organising a server and I acquired an issue. After I strive to connect with my server with SSH inside LAN, all the things works effective however once I’m not at dwelling and I strive to connect with it, this occurs :
C:UsersMY_USERNAME>ssh -vvv MY_USERNAME@MY_DDNS_ADDRESS OpenSSH_for_Windows_7.7p1, LibreSSL 2.6.5 debug3: Didn't open file:C:/Customers/MY_USERNAME/.ssh/config error:2 debug3: Didn't open file:C:/ProgramData/ssh/ssh_config error:2 debug2: resolving "MY_DDNS_ADDRESS" port 22 debug2: ssh_connect_direct: needpriv 0 debug1: Connecting to MY_DDNS_ADDRESS [MY_IP_ADDRESS] port 22. debug3: finish_connect - ERROR: async io accomplished with error: 10061, io:000001FB2C4C0400 debug1: join to handle MY_IP_ADDRESS port 22: Connection refused ssh: hook up with host MY_DDNS_ADDRESS port 22: Connection refused
I do not perceive why the connection is refused. Here’s what I already did :
- Ahead port 22 site visitors to my server in my router settings - Permitting port 22 site visitors in UFW on my server - Strive to connect with my server from totally different areas
Does anyone know what’s the issue ?