I want to pass user and password to proxy connection. My application is ok, but I need to implement this feature.
Thanks,
Jair Menezes
Hello,
Try with
ProxyHTTP proxy = new com.jcraft.jsch.ProxyHTTP("host", 20); proxy.setUserPasswd("login", "passwd");
Session session = new com.jcraft.jsch.Session(...); session.setProxy(proxy);
Thanks for your attention.
My problem is with socks5 and ntlm authentication without user intervention, any suggestion?
Log in to post a comment.
I want to pass user and password to proxy connection. My application is ok, but I need to implement this feature.
Thanks,
Jair Menezes
Hello,
Try with
ProxyHTTP proxy = new com.jcraft.jsch.ProxyHTTP("host", 20);
proxy.setUserPasswd("login", "passwd");
Session session = new com.jcraft.jsch.Session(...);
session.setProxy(proxy);
Thanks for your attention.
My problem is with socks5 and ntlm authentication without user intervention, any suggestion?
Jair Menezes