thebaselab / codeapp

Building a full-fledged code editor for iPad
https://code.thebaselab.com
MIT License
2.7k stars 178 forks source link

Cannot connect SSH with Putty private key (converting to OpenSSH .pem works) #1077

Closed marce14-git closed 3 weeks ago

marce14-git commented 3 weeks ago

Hey there,

Im trying to connect to my Unraid Server via SSH and Key(.ppk) with passphrase.

I got no issue with the Apps like WebSSH and Terminal to connect but i cannot get it to work with codeapp

In the Codeapp itself i get: Authentication Error

and the following log on my unraid server

1. May 10 23:56:37 UNRAID sshd[6004]: Connection from 10.0.10.100 port 49952 on 10.0.10.4 port 22 rdomain ""
2. May 10 23:56:37 UNRAID sshd[6005]: Connection from 10.0.10.100 port 49953 on 10.0.10.4 port 22 rdomain ""
3. May 10 23:56:37 UNRAID sshd[6005]: Received disconnect from 10.0.10.100 port 49953:11: NMSSH: Disconnect [preauth]
4. May 10 23:56:37 UNRAID sshd[6004]: Received disconnect from 10.0.10.100 port 49952:11: NMSSH: Disconnect [preauth]
5. May 10 23:56:37 UNRAID sshd[6004]: Disconnected from authenticating user root 10.0.10.100 port 49952 [preauth]
6. May 10 23:56:37 UNRAID sshd[6005]: Disconnected from authenticating user root 10.0.10.100 port 49953 [preauth]
marce14-git commented 3 weeks ago

SOLVED: I fixed the issue by converting the key to openssh(.pem) and it just works

bummoblizard commented 3 weeks ago

Thanks for sharing this. I will take a look why Putty key does not work as expected.