Skip to content

Invalid SSH key. #233

Description

@ComputerTechDev

When i use an ssh key on for my server(and it works fine with openssh) it gives me the following error: "Unable to connect to server X at X, do you want to retry?"

I launched snowflake from the terminal and i'm getting the following error:
colby@laptop:~$ snowflake Font loaded value changed treeNodesChanged treeNodesChanged Returned disposing Selecting 1182252021 New wrapper session WARNING: sun.reflect.Reflection.getCallerClass is not supported. This will impact performance. New wrapper session com.jcraft.jsch.JSchException: invalid privatekey: [B@159258dd at com.jcraft.jsch.KeyPair.load(KeyPair.java:664) at com.jcraft.jsch.KeyPair.load(KeyPair.java:561) at com.jcraft.jsch.IdentityFile.newInstance(IdentityFile.java:40) at com.jcraft.jsch.JSch.addIdentity(JSch.java:407) at com.jcraft.jsch.JSch.addIdentity(JSch.java:367) at snowflake.common.ssh.SshClient.connect(SshClient.java:66) at snowflake.components.terminal.ssh.SshTtyConnector.init(SshTtyConnector.java:40) at com.jediterm.terminal.ui.JediTermWidget$EmulatorTask.run(JediTermWidget.java:358) at java.base/java.lang.Thread.run(Thread.java:829) Terminal wrapper disconnecting java.lang.NullPointerException at snowflake.common.ssh.SshClient.disconnect(SshClient.java:140) at snowflake.components.terminal.ssh.SshTtyConnector.close(SshTtyConnector.java:84) at com.jediterm.terminal.ui.JediTermWidget$EmulatorTask.run(JediTermWidget.java:367) at java.base/java.lang.Thread.run(Thread.java:829) Disconnected Which makes no sense, since the privatekey is valid.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions