groovy-ssh
groovy-ssh copied to clipboard
Is it possible to make it work via TOR socks 5 proxy?
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
}
}
Anyone knows groovy-ssh or gradle-ssh-plugin with TOR socks proxy? I have no environment for testing it.
But it must be a standart SOCKS5 Proxy, putty works with it.
No ideas?
ProxySOCKS5: com.jcraft.jsch.JSchException: fail in SOCKS5 proxy
Any updates?