User Tools

Site Tools


networking:ssh

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
networking:ssh [2023/02/15 14:11] bstaffordnetworking:ssh [2024/07/29 09:28] (current) – [ByPass Legacy Ciphers] bstafford
Line 76: Line 76:
 <code>chmod 600 private.pem</code> <code>chmod 600 private.pem</code>
 <code>ssh-keygen -f private.pem -y > public.pub</code> <code>ssh-keygen -f private.pem -y > public.pub</code>
-====== SSH ======+
 ===== Copy over Public Key ===== ===== Copy over Public Key =====
 To enable passwordless login, you must copy over your public key to the other sever To enable passwordless login, you must copy over your public key to the other sever
Line 92: Line 92:
 <code>Host x.x.x.x <code>Host x.x.x.x
     KexAlgorithms +diffie-hellman-group1-sha1</code>     KexAlgorithms +diffie-hellman-group1-sha1</code>
 +    
 +=====Unable to Negotiate  =====
 +I found the following when trying to SSH from Ubuntu 22.04.4 to Palo Alto Networks Firewall running PAN-OS 11.0.0
 +<code>Unable to negotiate with <IP> port 22: no matching host key type found. Their offer: ssh-rsa,ssh-rsa,ssh-rsa</code>
 +
 +To make it work, I had to add the following at the end of the SSH command in Ubuntu
 +<code>-o HostKeyAlgorithms=+ssh-rsa -o PubkeyAcceptedAlgorithms=+ssh-rsa</code>
networking/ssh.1676470281.txt.gz · Last modified: by bstafford