Skip to content
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

Is it possible to make it work via TOR socks 5 proxy? #74

Open
alex-shamshurin opened this issue Oct 6, 2015 · 5 comments
Open

Is it possible to make it work via TOR socks 5 proxy? #74

alex-shamshurin opened this issue Oct 6, 2015 · 5 comments

Comments

@alex-shamshurin
Copy link

Putty works through TOR normally, but java do not
Error is "ProxySOCKS5: com.jcraft.jsch.JSchException: fail in SOCKS5 proxy" but TOR is open and putty works with it.

proxies {
    socks {
        host = 'localhost'
        port = 1080
        type = SOCKS
        socksVersion = 5
    }
}

remotes {
    testServer {
        host = 'main.exmaple.com'
        user = 'root'
        if (System.properties['os.name'].toLowerCase().contains('windows')) {
            identity = file( System.getProperty("user.home") + /\.ssh\id_rsa.ppk/)
        } else {
            identity = file(System.getProperty("user.home") + '/.ssh/id_rsa')
        }
        passphrase='mypassphraze'
                proxy = proxies.socks
    }

} 
@int128
Copy link
Owner

int128 commented Oct 9, 2015

Anyone knows groovy-ssh or gradle-ssh-plugin with TOR socks proxy? I have no environment for testing it.

@alex-shamshurin
Copy link
Author

But it must be a standart SOCKS5 Proxy, putty works with it.

@alex-shamshurin
Copy link
Author

No ideas?

@alex-shamshurin
Copy link
Author

ProxySOCKS5: com.jcraft.jsch.JSchException: fail in SOCKS5 proxy

@alex-shamshurin
Copy link
Author

Any updates?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants