channel 3: open failed: connect failed: Connection refused

Uncategorized
When using SSH -L <port>:localhost:<port> <destination> it means you are trying to do an SSH port forward.  This means that any traffic normally bound to <destination> is routed to the machine you executed the command on until you close the SSH connection. If for instance you are trying to access the Proxmox webui which has its port active on 8006 you'd need something like: ssh -L 8006:localhost:8006 192.168.1.25 If it is an Internet connection obviously the 192.168.1.25 would be changed to indicate the appropriate IP address and -p <port>. Sometimes you will receive the message: "channel 3: open failed: connect failed: Connection refused" This means that you are trying to connect to a port that isn't broadcasting.  This could be because you are actually trying to connect to the wrong…
Read More