You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to use the ssh-action action to modify some things on my server. I can connect to the server fine through SSH on the command line so the key works. However, when I run the action with the same key, it outputs the error:
handshake failed: ssh: no common algorithm for key exchange; client offered: [curve25519-sha256 [email protected] ecdh-sha2-nistp256 ecdh-sha2-nistp384 ecdh-sha2-nistp521 diffie-hellman-group14-sha256 diffie-hellman-group14-sha1 ext-info-c], server offered: [diffie-hellman-group-exchange-sha256]
Per issue #56, I added the use_insecure_cipher: true option, but then that gives me the error:
2023/04/24 19:00:16 ssh.ParsePrivateKey: asn1: structure error: length too large
2023/04/24 19:00:16 ssh: handshake failed: ssh: unable to authenticate, attempted methods [none], no supported methods remain
Which I'm assuming means I need to regenerate the SSH key, but it's throwing me off that the key works fine when just directly SSH-ing through the command line, but doesn't work here.
OS: It's a BlueHost shared server (I know I know, EIG sucks, but it wasn't my choice to host them there) so the normal OS checking commands are giving me grief, I believe it's a modified version of CentOS 7
SSH: OpenSSH_7.4p1, OpenSSL 1.0.2k-fips 26 Jan 2017
Hello,
I'm trying to use the ssh-action action to modify some things on my server. I can connect to the server fine through SSH on the command line so the key works. However, when I run the action with the same key, it outputs the error:
Per issue #56, I added the
use_insecure_cipher: true
option, but then that gives me the error:Which I'm assuming means I need to regenerate the SSH key, but it's throwing me off that the key works fine when just directly SSH-ing through the command line, but doesn't work here.
Config:
Any help or insight here would be greatly appreciated!
The text was updated successfully, but these errors were encountered: