Closed cweijan closed 1 year ago
不能在扩展这边解决这个问题嘛,操作服务器是比较麻烦的事情。😭
@yxm9264 使用ssh-keygen -t ed25519
生成键值对, 然后把公钥授权到服务器就是比较轻量的方式.
It doesn't work for me, each client works fine, ms, as usual, doesn't work at all
Sorry, but I have no control over it, you can only save a connection using native mode.
Hello, my private key works fine using the same configuration in Datagrip, so I'm not sure why it wouldn't work within this extension if the problem is OpenSSH.
Edit: Sorry, this was 100% user error. On the SSH connection, I was using the wrong username by mistake. My RSA key works fine with the correct username, for what it's worth. It's possible someone else is making the same mistake.
@jstilwell HI, this issue has been resolved in version 6.6.0, and it is now possible to connect without any modifications.
Update: This issue has been resolved in version 6.6.0, please update the extension.
This error may occur when you connect using a key.
openssh no longer supports the ssh-rsa algorithm after openssh version 8.8, and you use the ssh-rsa key, so the server refuses the connection, there are two ways to solve this problem.
Execute the following commands on the server to support the ssh-rsa algorithm.
sed -i '1i PubkeyAcceptedKeyTypes=+ssh-rsa\nPubkeyAcceptedAlgorithms +ssh-rsa' /etc/ssh/sshd_config && service ssh restart
Generate ed25519 key pair, and connect using the new key pair.
ssh-keygen -t ed25519