com.jcraft.jsch.JSchException: invalid privatekey: /var/lib/hadoop-hdfs/.ssh/id_rsa.pub

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via grokbase.com by Unknown author, 1 year ago
invalid privatekey: /var/lib/hadoop-hdfs/.ssh/id_rsa.pub
via Stack Overflow by Brat
, 8 months ago
invalid privatekey: /home/testuser/.ssh/id_rsa.pub
via talendforge.org by Unknown author, 1 year ago
invalid privatekey: C:/Documents and Settings/dddd/Desktop/tttt/priv.ppk
via Oracle Community by 976803, 1 year ago
com.jcraft.jsch.JSchException: invalid privatekey: /var/lib/hadoop-hdfs/.ssh/id_rsa.pub
at com.jcraft.jsch.IdentityFile.(IdentityFile.java:135)
at com.jcraft.jsch.IdentityFile.newInstance(IdentityFile.java:130)
at com.jcraft.jsch.JSch.addIdentity(JSch.java:206)

Users with the same issue

2 times, 9 months ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
1 more bugmates

Know the solutions? Share your knowledge to help other developers to debug faster.