Comments (3)
Hi @nskmda,
The byte[] pubkey
argument you are passing to the JSch.addIdentity()
would appear to be an empty array instead of a an actual ssh public key string.
Thanks,
Jeremy
from jsch.
The
byte[] pubkey
argument you are passing to theJSch.addIdentity()
would appear to be an empty array instead of a an actual ssh public key string.
So, is it safe to pass null
if I don't happen to immediately have the public key info (so that I don't need to try to pull it out of the private key material)?
If yes, you can close the request.
from jsch.
Hi @nskmda,
Yes it should be fine to pass null
if you don't have the public key.
Thanks,
Jeremy
from jsch.
Related Issues (20)
- Full List of Config Options For Backwards Compatibility with Original Jsch
- Merge release branch? HOT 1
- Question about ssh-rsa deprecation HOT 5
- Ordering of "ls"-method possible? HOT 2
- [Question] Disconnecting: Received data for nonexistent channel 0.
- error in channel connection HOT 7
- failed to parse public key error with successful connection HOT 3
- After upgrade from version 02.11 to 0.2.16 connections fail with: java.io.IOException: End of IO Stream Read HOT 8
- sftp server failed to read file HOT 4
- Support for rsa2048-sha256 Key exchange HOT 6
- Jenkins com.jcraft.jsch.JSchAlgoNegoFailException: Algorithm negotiation fail HOT 5
- Connecting to Euler server, executing write and execute scripts in one connection, memory error HOT 1
- Does JSCH support JDK17 HOT 4
- Specify certificate file in ssh connection HOT 1
- Exception During Authentication - IOException: End of IO Stream Read HOT 5
- Packet corrupt HOT 2
- "JSchException: key type ssh-rp is not supported" Error on adding identity HOT 3
- Multi-Release jar for Java8 HOT 2
- Android: DexMerge Failed HOT 10
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.