Skip to content

alias in ~/.bashrc

on Ubuntu22, need to allow SSH RSA cipher. One may add it to bash shell as an alias in ~/.bashrc

nano ~/.bashrc
alias ssh="ssh -q -o HostKeyAlgorithms=+ssh-rsa -o PubkeyAcceptedKeyTypes=+ssh-rsa -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no" 
Edited by COUDERT Sebastien