com.jcraft.jsch.JSchException

invalid privatekey: /var/lib/hadoop-hdfs/.ssh/id_rsa.pub

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web58

  • invalid privatekey: /var/lib/hadoop-hdfs/.ssh/id_rsa.pub
  • via Stack Overflow by Brat
    , 4 months ago
    invalid privatekey: /home/testuser/.ssh/id_rsa.pub
  • via GitHub by sheimi
    , 8 months ago
    invalid privatekey: [B@413620d8
  • Stack trace

    • com.jcraft.jsch.JSchException: invalid privatekey: /var/lib/hadoop-hdfs/.ssh/id_rsa.pub at com.jcraft.jsch.IdentityFile.<init>(IdentityFile.java:224) at com.jcraft.jsch.IdentityFile.newInstance(IdentityFile.java:135) at com.jcraft.jsch.IdentityFile.newInstance(IdentityFile.java:130) at com.jcraft.jsch.JSch.addIdentity(JSch.java:206) at com.jcraft.jsch.JSch.addIdentity(JSch.java:192)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    2 times, 5 months ago
    Unknown user
    Once, 1 year ago
    Unknown user
    Once, 1 year ago
    Unknown user
    Once, 1 year ago
    Unknown user
    Once, 1 year ago
    1 more bugmates