I am trying to perform SSH port forwarding, but I'm trying to do it over the google cloud platform. I know I have RStudio Server working, because I can allow open port 8787 to TCP, and log-in that way. But that isn't super secure, so I'd like to do SSH port forwarding instead.
debug1: Remote: /home/user/.ssh/authorized_keys:2: key options: agent-forwarding port-forwarding pty user-rc x11-forwarding
debug1: Remote: /home/user/.ssh/authorized_keys:2: key options: agent-forwarding port-forwarding pty user-rc x11-forwarding
debug1: Connection to port 1080 forwarding to localhost port 8787 requested.
debug1: channel 2: new [direct-tcpip]
channel 2: open failed: connect failed: Connection refused
debug1: channel 2: free: direct-tcpip: listening port 1080 for localhost port 8787, connect from ::1 port 59609 to ::1 port 1080, nchannels 3
debug1: Connection to port 1080 forwarding to localhost port 8787 requested.
debug1: channel 2: new [direct-tcpip]
channel 2: open failed: connect failed: Connection refused
debug1: channel 2: free: direct-tcpip: listening port 1080 for localhost port 8787, connect from ::1 port 59612 to ::1 port 1080, nchannels 3
debug1: Connection to port 1080 forwarding to localhost port 8787 requested.
debug1: channel 2: new [direct-tcpip]
channel 2: open failed: connect failed: Connection refused
debug1: channel 2: free: direct-tcpip: listening port 1080 for localhost port 8787, connect from ::1 port 59619 to ::1 port 1080, nchannels 3
debug1: Connection to port 1080 forwarding to localhost port 8787 requested.
debug1: channel 2: new [direct-tcpip]
channel 2: open failed: connect failed: Connection refused
debug1: channel 2: free: direct-tcpip: listening port 1080 for localhost port 8787, connect from ::1 port 59624 to ::1 port 1080, nchannels 3
debug1: Connection to port 1080 forwarding to localhost port 8787 requested.