New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SSH connection via SOCKS proxy not working #280
Comments
I tried a few times to reproduce this but got stuck at step 2. I just realized it's a bug in the gtk3 branch, see #291... I soon as I can get that working, I'll have another look. In the meantime, did you check the SSH command line of the connection to server B ? Does it work if you run it outside Ásbrú ? |
I looked a bit more at this, here are some notes
Lines 848 to 861 in 1687e82
Btw, did you look at the Jump Host option in SSH to do this, see #67 ? It might be a more straight way to achieve the same, isn't it ? |
Hi @carlos-n Remove the "Always use next proxy /HTTP/SOCKS) for this connection", option in connection to "B", and move it back to "Use global options to decide" And in "Advanced options", configure like this This should be the correct way configure, the other option is for something else, not sure how to use it, but is not for what you want to do. |
- jump server uses own config file created on the fly - recover adjustments to spin buttons - removed left over ssh config field in global settings
Thanks so much for the responses. |
As there is a workaround and that we are reviewing the way proxy is managed for the next version, I believe we can close this issue for now. |
Describe the bug
Once a SOCKS tunnel has been established, a new SSH connection using this tunnel doesn't work.
To Reproduce
Steps to reproduce the behavior:
After creating the connection, we establish the connection with server "A".
We can see our local server is listening in port 5000.
tcp LISTEN 0 128 127.0.0.1:5000
We can open connections against servers using the SOCKS tunnel with Putty.
So, the SOCKS tunnel is correctly created and working OK.
Define a new SSH connection to a server "B". In "Proxy" tab of "Connection" section we configure the option "Always use next proxy /HTTP/SOCKS) for this connection". We use "127.0.0.1" in "IP/Host" field and "5000" in "Port" field. We leave empty "User" and "Password" fields.
When trying to establish connection with server "B", we receive an error.
connect() failed with error 'Connection timed out'
ssh_exchange_identification: read: Connection reset by peer
pac_conn: Fatal IO error 22 (Invalid argument) on X server :0.
Expected behavior
Connection with server "B" should correctly established as it happens when you try it using Putty.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: