gradle-ssh-plugin
gradle-ssh-plugin 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 = 9150
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
}
}
Error is
ProxySOCKS5: com.jcraft.jsch.JSchException: fail in SOCKS5 proxy
Duplicated: https://github.com/int128/groovy-ssh/issues/74
So any updates?