#StackBounty: #networking #ssh #proxy #routing #wsl2 How to send all WSL traffic through a proxy in host machine

Bounty: 50

I am using a SSH tunnel to connect to the internet on my host Windows machine. I am using proxifier to send all my traffic though port 1080 which is the proxy port. However, proxifier or selecting the proxy using windows "Proxy Settings" in settings menu doesn’t seem to route WSL traffic though the proxy..

My question is how can I route WSL traffic through the proxy.

I also tried letting port 1080 though firewall (both inbound and outbound) and trying to send wsl data though proxychains to socks5 <host_IP> 1080. That didn’t work either…


Get this bounty!!!

#StackBounty: #debian #ssh #networking #ftp #sftp SFTP isn't working anymore

Bounty: 50

Today I connected to sftp and it worked, but a few minutes later I got disconnected and couldn’t connect again. Restarting sshd did nothing, so I rebooted the server and sftp started working again for just a few minutes.

Here’s the last part of the log when I try to connect:

debug1: Authentication succeeded (publickey).
Authenticated to ns1 ([xx.xx.xx.xx]:22).
debug2: fd 4 setting O_NONBLOCK
debug1: channel 0: new [client-session]
debug2: channel 0: send open
debug1: Requesting no-more-sessions@openssh.com
debug1: Entering interactive session.
debug1: pledge: network
debug1: client_input_global_request: rtype hostkeys-00@openssh.com want_reply 0
debug1: Remote: /root/.ssh/authorized_keys:8: key options: agent-forwarding port-forwarding pty user-rc x11-forwarding
debug1: Remote: /root/.ssh/authorized_keys:8: key options: agent-forwarding port-forwarding pty user-rc x11-forwarding
debug2: channel_input_open_confirmation: channel 0: callback start
debug2: fd 3 setting TCP_NODELAY
debug2: client_session2_setup: id 0
debug1: Sending environment.
debug1: Sending env LANG = en_US.UTF-8
debug2: channel 0: request env confirm 0
debug1: Sending subsystem: sftp
debug2: channel 0: request subsystem confirm 1
debug2: channel_input_open_confirmation: channel 0: callback done
debug2: channel 0: open confirm rwindow 0 rmax 32768
packet_write_wait: Connection to xx.xx.xx.xx port 22: Broken pipe

I’m using openssh on Debian 10.9, everything is updated.

Thanks!


Get this bounty!!!

#StackBounty: #debian #ssh #networking #ftp #sftp SFTP isn't working anymore

Bounty: 50

Today I connected to sftp and it worked, but a few minutes later I got disconnected and couldn’t connect again. Restarting sshd did nothing, so I rebooted the server and sftp started working again for just a few minutes.

Here’s the last part of the log when I try to connect:

debug1: Authentication succeeded (publickey).
Authenticated to ns1 ([xx.xx.xx.xx]:22).
debug2: fd 4 setting O_NONBLOCK
debug1: channel 0: new [client-session]
debug2: channel 0: send open
debug1: Requesting no-more-sessions@openssh.com
debug1: Entering interactive session.
debug1: pledge: network
debug1: client_input_global_request: rtype hostkeys-00@openssh.com want_reply 0
debug1: Remote: /root/.ssh/authorized_keys:8: key options: agent-forwarding port-forwarding pty user-rc x11-forwarding
debug1: Remote: /root/.ssh/authorized_keys:8: key options: agent-forwarding port-forwarding pty user-rc x11-forwarding
debug2: channel_input_open_confirmation: channel 0: callback start
debug2: fd 3 setting TCP_NODELAY
debug2: client_session2_setup: id 0
debug1: Sending environment.
debug1: Sending env LANG = en_US.UTF-8
debug2: channel 0: request env confirm 0
debug1: Sending subsystem: sftp
debug2: channel 0: request subsystem confirm 1
debug2: channel_input_open_confirmation: channel 0: callback done
debug2: channel 0: open confirm rwindow 0 rmax 32768
packet_write_wait: Connection to xx.xx.xx.xx port 22: Broken pipe

I’m using openssh on Debian 10.9, everything is updated.

Thanks!


Get this bounty!!!

#StackBounty: #debian #ssh #networking #ftp #sftp SFTP isn't working anymore

Bounty: 50

Today I connected to sftp and it worked, but a few minutes later I got disconnected and couldn’t connect again. Restarting sshd did nothing, so I rebooted the server and sftp started working again for just a few minutes.

Here’s the last part of the log when I try to connect:

debug1: Authentication succeeded (publickey).
Authenticated to ns1 ([xx.xx.xx.xx]:22).
debug2: fd 4 setting O_NONBLOCK
debug1: channel 0: new [client-session]
debug2: channel 0: send open
debug1: Requesting no-more-sessions@openssh.com
debug1: Entering interactive session.
debug1: pledge: network
debug1: client_input_global_request: rtype hostkeys-00@openssh.com want_reply 0
debug1: Remote: /root/.ssh/authorized_keys:8: key options: agent-forwarding port-forwarding pty user-rc x11-forwarding
debug1: Remote: /root/.ssh/authorized_keys:8: key options: agent-forwarding port-forwarding pty user-rc x11-forwarding
debug2: channel_input_open_confirmation: channel 0: callback start
debug2: fd 3 setting TCP_NODELAY
debug2: client_session2_setup: id 0
debug1: Sending environment.
debug1: Sending env LANG = en_US.UTF-8
debug2: channel 0: request env confirm 0
debug1: Sending subsystem: sftp
debug2: channel 0: request subsystem confirm 1
debug2: channel_input_open_confirmation: channel 0: callback done
debug2: channel 0: open confirm rwindow 0 rmax 32768
packet_write_wait: Connection to xx.xx.xx.xx port 22: Broken pipe

I’m using openssh on Debian 10.9, everything is updated.

Thanks!


Get this bounty!!!

#StackBounty: #debian #ssh #networking #ftp #sftp SFTP isn't working anymore

Bounty: 50

Today I connected to sftp and it worked, but a few minutes later I got disconnected and couldn’t connect again. Restarting sshd did nothing, so I rebooted the server and sftp started working again for just a few minutes.

Here’s the last part of the log when I try to connect:

debug1: Authentication succeeded (publickey).
Authenticated to ns1 ([xx.xx.xx.xx]:22).
debug2: fd 4 setting O_NONBLOCK
debug1: channel 0: new [client-session]
debug2: channel 0: send open
debug1: Requesting no-more-sessions@openssh.com
debug1: Entering interactive session.
debug1: pledge: network
debug1: client_input_global_request: rtype hostkeys-00@openssh.com want_reply 0
debug1: Remote: /root/.ssh/authorized_keys:8: key options: agent-forwarding port-forwarding pty user-rc x11-forwarding
debug1: Remote: /root/.ssh/authorized_keys:8: key options: agent-forwarding port-forwarding pty user-rc x11-forwarding
debug2: channel_input_open_confirmation: channel 0: callback start
debug2: fd 3 setting TCP_NODELAY
debug2: client_session2_setup: id 0
debug1: Sending environment.
debug1: Sending env LANG = en_US.UTF-8
debug2: channel 0: request env confirm 0
debug1: Sending subsystem: sftp
debug2: channel 0: request subsystem confirm 1
debug2: channel_input_open_confirmation: channel 0: callback done
debug2: channel 0: open confirm rwindow 0 rmax 32768
packet_write_wait: Connection to xx.xx.xx.xx port 22: Broken pipe

I’m using openssh on Debian 10.9, everything is updated.

Thanks!


Get this bounty!!!

#StackBounty: #debian #ssh #networking #ftp #sftp SFTP isn't working anymore

Bounty: 50

Today I connected to sftp and it worked, but a few minutes later I got disconnected and couldn’t connect again. Restarting sshd did nothing, so I rebooted the server and sftp started working again for just a few minutes.

Here’s the last part of the log when I try to connect:

debug1: Authentication succeeded (publickey).
Authenticated to ns1 ([xx.xx.xx.xx]:22).
debug2: fd 4 setting O_NONBLOCK
debug1: channel 0: new [client-session]
debug2: channel 0: send open
debug1: Requesting no-more-sessions@openssh.com
debug1: Entering interactive session.
debug1: pledge: network
debug1: client_input_global_request: rtype hostkeys-00@openssh.com want_reply 0
debug1: Remote: /root/.ssh/authorized_keys:8: key options: agent-forwarding port-forwarding pty user-rc x11-forwarding
debug1: Remote: /root/.ssh/authorized_keys:8: key options: agent-forwarding port-forwarding pty user-rc x11-forwarding
debug2: channel_input_open_confirmation: channel 0: callback start
debug2: fd 3 setting TCP_NODELAY
debug2: client_session2_setup: id 0
debug1: Sending environment.
debug1: Sending env LANG = en_US.UTF-8
debug2: channel 0: request env confirm 0
debug1: Sending subsystem: sftp
debug2: channel 0: request subsystem confirm 1
debug2: channel_input_open_confirmation: channel 0: callback done
debug2: channel 0: open confirm rwindow 0 rmax 32768
packet_write_wait: Connection to xx.xx.xx.xx port 22: Broken pipe

I’m using openssh on Debian 10.9, everything is updated.

Thanks!


Get this bounty!!!

#StackBounty: #debian #ssh #networking #ftp #sftp SFTP isn't working anymore

Bounty: 50

Today I connected to sftp and it worked, but a few minutes later I got disconnected and couldn’t connect again. Restarting sshd did nothing, so I rebooted the server and sftp started working again for just a few minutes.

Here’s the last part of the log when I try to connect:

debug1: Authentication succeeded (publickey).
Authenticated to ns1 ([xx.xx.xx.xx]:22).
debug2: fd 4 setting O_NONBLOCK
debug1: channel 0: new [client-session]
debug2: channel 0: send open
debug1: Requesting no-more-sessions@openssh.com
debug1: Entering interactive session.
debug1: pledge: network
debug1: client_input_global_request: rtype hostkeys-00@openssh.com want_reply 0
debug1: Remote: /root/.ssh/authorized_keys:8: key options: agent-forwarding port-forwarding pty user-rc x11-forwarding
debug1: Remote: /root/.ssh/authorized_keys:8: key options: agent-forwarding port-forwarding pty user-rc x11-forwarding
debug2: channel_input_open_confirmation: channel 0: callback start
debug2: fd 3 setting TCP_NODELAY
debug2: client_session2_setup: id 0
debug1: Sending environment.
debug1: Sending env LANG = en_US.UTF-8
debug2: channel 0: request env confirm 0
debug1: Sending subsystem: sftp
debug2: channel 0: request subsystem confirm 1
debug2: channel_input_open_confirmation: channel 0: callback done
debug2: channel 0: open confirm rwindow 0 rmax 32768
packet_write_wait: Connection to xx.xx.xx.xx port 22: Broken pipe

I’m using openssh on Debian 10.9, everything is updated.

Thanks!


Get this bounty!!!

#StackBounty: #debian #ssh #networking #ftp #sftp SFTP isn't working anymore

Bounty: 50

Today I connected to sftp and it worked, but a few minutes later I got disconnected and couldn’t connect again. Restarting sshd did nothing, so I rebooted the server and sftp started working again for just a few minutes.

Here’s the last part of the log when I try to connect:

debug1: Authentication succeeded (publickey).
Authenticated to ns1 ([xx.xx.xx.xx]:22).
debug2: fd 4 setting O_NONBLOCK
debug1: channel 0: new [client-session]
debug2: channel 0: send open
debug1: Requesting no-more-sessions@openssh.com
debug1: Entering interactive session.
debug1: pledge: network
debug1: client_input_global_request: rtype hostkeys-00@openssh.com want_reply 0
debug1: Remote: /root/.ssh/authorized_keys:8: key options: agent-forwarding port-forwarding pty user-rc x11-forwarding
debug1: Remote: /root/.ssh/authorized_keys:8: key options: agent-forwarding port-forwarding pty user-rc x11-forwarding
debug2: channel_input_open_confirmation: channel 0: callback start
debug2: fd 3 setting TCP_NODELAY
debug2: client_session2_setup: id 0
debug1: Sending environment.
debug1: Sending env LANG = en_US.UTF-8
debug2: channel 0: request env confirm 0
debug1: Sending subsystem: sftp
debug2: channel 0: request subsystem confirm 1
debug2: channel_input_open_confirmation: channel 0: callback done
debug2: channel 0: open confirm rwindow 0 rmax 32768
packet_write_wait: Connection to xx.xx.xx.xx port 22: Broken pipe

I’m using openssh on Debian 10.9, everything is updated.

Thanks!


Get this bounty!!!

#StackBounty: #debian #ssh #networking #ftp #sftp SFTP isn't working anymore

Bounty: 50

Today I connected to sftp and it worked, but a few minutes later I got disconnected and couldn’t connect again. Restarting sshd did nothing, so I rebooted the server and sftp started working again for just a few minutes.

Here’s the last part of the log when I try to connect:

debug1: Authentication succeeded (publickey).
Authenticated to ns1 ([xx.xx.xx.xx]:22).
debug2: fd 4 setting O_NONBLOCK
debug1: channel 0: new [client-session]
debug2: channel 0: send open
debug1: Requesting no-more-sessions@openssh.com
debug1: Entering interactive session.
debug1: pledge: network
debug1: client_input_global_request: rtype hostkeys-00@openssh.com want_reply 0
debug1: Remote: /root/.ssh/authorized_keys:8: key options: agent-forwarding port-forwarding pty user-rc x11-forwarding
debug1: Remote: /root/.ssh/authorized_keys:8: key options: agent-forwarding port-forwarding pty user-rc x11-forwarding
debug2: channel_input_open_confirmation: channel 0: callback start
debug2: fd 3 setting TCP_NODELAY
debug2: client_session2_setup: id 0
debug1: Sending environment.
debug1: Sending env LANG = en_US.UTF-8
debug2: channel 0: request env confirm 0
debug1: Sending subsystem: sftp
debug2: channel 0: request subsystem confirm 1
debug2: channel_input_open_confirmation: channel 0: callback done
debug2: channel 0: open confirm rwindow 0 rmax 32768
packet_write_wait: Connection to xx.xx.xx.xx port 22: Broken pipe

I’m using openssh on Debian 10.9, everything is updated.

Thanks!


Get this bounty!!!

#StackBounty: #debian #ssh #networking #ftp #sftp SFTP isn't working anymore

Bounty: 50

Today I connected to sftp and it worked, but a few minutes later I got disconnected and couldn’t connect again. Restarting sshd did nothing, so I rebooted the server and sftp started working again for just a few minutes.

Here’s the last part of the log when I try to connect:

debug1: Authentication succeeded (publickey).
Authenticated to ns1 ([xx.xx.xx.xx]:22).
debug2: fd 4 setting O_NONBLOCK
debug1: channel 0: new [client-session]
debug2: channel 0: send open
debug1: Requesting no-more-sessions@openssh.com
debug1: Entering interactive session.
debug1: pledge: network
debug1: client_input_global_request: rtype hostkeys-00@openssh.com want_reply 0
debug1: Remote: /root/.ssh/authorized_keys:8: key options: agent-forwarding port-forwarding pty user-rc x11-forwarding
debug1: Remote: /root/.ssh/authorized_keys:8: key options: agent-forwarding port-forwarding pty user-rc x11-forwarding
debug2: channel_input_open_confirmation: channel 0: callback start
debug2: fd 3 setting TCP_NODELAY
debug2: client_session2_setup: id 0
debug1: Sending environment.
debug1: Sending env LANG = en_US.UTF-8
debug2: channel 0: request env confirm 0
debug1: Sending subsystem: sftp
debug2: channel 0: request subsystem confirm 1
debug2: channel_input_open_confirmation: channel 0: callback done
debug2: channel 0: open confirm rwindow 0 rmax 32768
packet_write_wait: Connection to xx.xx.xx.xx port 22: Broken pipe

I’m using openssh on Debian 10.9, everything is updated.

Thanks!


Get this bounty!!!