Skip to content

Instantly share code, notes, and snippets.

@jadiagaurang
Created June 6, 2024 20:26
Show Gist options
  • Save jadiagaurang/79d67722c4e54c39dceb14f9e99cd78b to your computer and use it in GitHub Desktop.
Save jadiagaurang/79d67722c4e54c39dceb14f9e99cd78b to your computer and use it in GitHub Desktop.
Allow RSA SHA-1 Algo for SSH in Ubuntu 22.04 LTS
cd /etc/ssh
sudo vim sshd_config
# Add Following Lines to the end of Config
#HostKeyAlgorithms +ssh-rsa
#PubkeyAcceptedKeyTypes +ssh-rsa
sudo systemctl restart sshd
# Read More at https://askubuntu.com/questions/1409105/ubuntu-22-04-ssh-the-rsa-key-isnt-working-since-upgrading-from-20-04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment