Comments (3)
Hi @pksilen,
What is the exact version of JSch for which you received this NPE?
Contrary to what you stated, this could not have occurred with the latest version (0.2.17) because line 601 of Session.java is a blank line.
Thanks,
Jeremy
from jsch.
Hi @pksilen,
What is the exact version of JSch for which you received this NPE? Contrary to what you stated, this could not have occurred with the latest version (0.2.17) because line 601 of Session.java is a blank line.
Thanks, Jeremy
Btw, I believe that you are in fact using a very old version of JSch that does not actually support the following algorithms:
JSch.setConfig("kex", "curve25519-sha256,[email protected],diffie-hellman-group-exchange-sha256,diffie-hellman-group16-sha512,diffie-hellman-group18-sha512");
from jsch.
Hi,
Thanks for the feedback. I noticed that there is also another version (0.1.55) of JSCH in my classpath. It is probably coming as a transitive dependency from another library. I need to fix that. I will close this ticket.
from jsch.
Related Issues (20)
- sftp server die thread blocking during sftp ls execution HOT 4
- Prevent algorithm from known_host entry added to server host key list HOT 4
- How do I enable ssh-rsa (RSA/SHA1) in the latest version? HOT 1
- Next release plans HOT 6
- Scala compilation issue HOT 1
- "Could not connect to server" dependend on Jsch version and FTP key HOT 1
- ConnectTimeout from ssh-config read as ms instead of seconds? HOT 1
- Invalid PrivateKey
- Parsing malformed RSA key can try to allocate huge amount of memory HOT 1
- OpenSSHConfig.parse does not handle negated patterns as specified in ssh_config(5)
- info required for compatible version with openjdk21 HOT 1
- List of ciphers, kex, DH, .... HOT 4
- Can it support SM2 SM4? HOT 2
- NullPointerException in JSch Session.connect() while connecting to Cisco IOS switch HOT 6
- Regarding No Such Method in bouncycastle HOT 1
- Auth fail for methods 'publickey,password' HOT 7
- premature end of received SshMsg.KexInit at host key algorithms
- Auth fail for methods 'publickey,gssapi-keyex,gssapi-with-mic,password' HOT 5
- java.lang.ArrayIndexOutOfBoundsException with jsch version 0.2.18 HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jsch.