Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SSH connection issue #112

Open
deepktp opened this issue Dec 7, 2024 · 0 comments
Open

SSH connection issue #112

deepktp opened this issue Dec 7, 2024 · 0 comments

Comments

@deepktp
Copy link

deepktp commented Dec 7, 2024

Describe the bug
I have created an VPS recently on Digital Ocean using PRIVATE key and passphrase.
But Muon unable to connect with it. I have some other VPS created with same method, but they work fine.
Only new thing is i have added only special characters for VPS passphrase maybe this is the issue (Not Sure).
My passphrase is *(^%#^&&&#@!@
also i am able to connect with VPS using Putty so my passphrase and private key is correct.

To Reproduce
Steps to reproduce the behavior:

  1. Create digital Ocean droplet (VPS) with private key generated with PuttyKeyGen
  2. Use special characters only passphrase
    Expected behavior
    Should be able to connect with VPS.

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: Windows 11 2404
  • Muon Version 2.2.0

Some logs from terminal

Terminal ancestor component shown Terminal component shown Making visible... Trying to get allowed authentication methods... List of allowed authentications: [publickey] Trying auth method: publickey Key provider: net.schmizz.sshj.userauth.keyprovider.PuTTYKeyFile@201190fd Key type: unknown net.schmizz.sshj.userauth.UserAuthException: Exhausted available authentication methods at net.schmizz.sshj.SSHClient.auth(SSHClient.java:227) at net.schmizz.sshj.SSHClient.authPublickey(SSHClient.java:342) at net.schmizz.sshj.SSHClient.authPublickey(SSHClient.java:360) at muon.app.ssh.SshClient2.authPublicKey(SshClient2.java:118) at muon.app.ssh.SshClient2.connect(SshClient2.java:242) at muon.app.ssh.SshClient2.connect(SshClient2.java:167) at muon.app.ui.components.session.terminal.ssh.SshTtyConnector.init(SshTtyConnector.java:54) at com.jediterm.terminal.ui.JediTermWidget$EmulatorTask.run(JediTermWidget.java:383) at java.base/java.lang.Thread.run(Thread.java:842) Caused by: net.schmizz.sshj.userauth.UserAuthException: Problem getting public key from net.schmizz.sshj.userauth.keyprovider.PuTTYKeyFile@201190fd at net.schmizz.sshj.userauth.method.KeyedAuthMethod.putPubKey(KeyedAuthMethod.java:47) at net.schmizz.sshj.userauth.method.AuthPublickey.buildReq(AuthPublickey.java:62) at net.schmizz.sshj.userauth.method.AuthPublickey.buildReq(AuthPublickey.java:81) at net.schmizz.sshj.userauth.method.AbstractAuthMethod.request(AbstractAuthMethod.java:68) at net.schmizz.sshj.userauth.UserAuthImpl.authenticate(UserAuthImpl.java:73) at net.schmizz.sshj.SSHClient.auth(SSHClient.java:221) ... 8 more Caused by: java.io.IOException: Invalid passphrase at net.schmizz.sshj.userauth.keyprovider.PuTTYKeyFile.verify(PuTTYKeyFile.java:318) at net.schmizz.sshj.userauth.keyprovider.PuTTYKeyFile.parseKeyPair(PuTTYKeyFile.java:240) at net.schmizz.sshj.userauth.keyprovider.PuTTYKeyFile.readKeyPair(PuTTYKeyFile.java:114) at net.schmizz.sshj.userauth.keyprovider.BaseFileKeyProvider.getPublic(BaseFileKeyProvider.java:81) at net.schmizz.sshj.userauth.method.KeyedAuthMethod.putPubKey(KeyedAuthMethod.java:45) ... 13 more java.io.IOException: Authentication failed at muon.app.ssh.SshClient2.connect(SshClient2.java:279) at muon.app.ssh.SshClient2.connect(SshClient2.java:167) at muon.app.ui.components.session.terminal.ssh.SshTtyConnector.init(SshTtyConnector.java:54) at com.jediterm.terminal.ui.JediTermWidget$EmulatorTask.run(JediTermWidget.java:383) at java.base/java.lang.Thread.run(Thread.java:842) Terminal wrapper disconnecting currentSession: muon.app.ui.components.session.terminal.CustomJediterm[,0,0,989x491,layout=java.awt.BorderLayout,alignmentX=0.0,alignmentY=0.0,border=javax.swing.plaf.synth.SynthBorder@74542f71,flags=9,maximumSize=,minimumSize=,preferredSize=] Disconnected

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant