nix:tipovye_problemy
Содержание
Проблемы и их решения
Проблемы с SSH
userauth_pubkey: signature algorithm ssh-rsa not in PubkeyAcceptedAlgorithms [preauth]
/etc/ssh/sshd_config
PubkeyAuthentication yes PubkeyAcceptedKeyTypes=+ssh-rsa
Или более изящно
echo 'PubkeyAcceptedKeyTypes=+ssh-rsa' >/etc/ssh/sshd_config.d/pubkey_rsa.conf systemctl restart ssh
userauth_pubkey: signature algorithm ssh-dss not in PubkeyAcceptedAlgorithms [preauth]
Аналогично предыдущему
echo 'PubkeyAcceptedKeyTypes=+ssh-dss' >/etc/ssh/sshd_config.d/pubkey_dss.conf systemctl restart ssh
ssh: sign_and_send_pubkey: signing failed: agent refused operation
нужно выполнить:
ssh-add
no matching key exchange method found. Their offer: diffie-hellman-group14-sha1
Сделать в файле ~/.ssh/config следующие строки
Host server_name server_ip KexAlgorithms +diffie-hellman-group14-sha1
no matching host key type found. Their offer: ssh-dss
Сделать в файле ~/.ssh/config следующие строки
Host server_name server_ip HostKeyAlgorithms +ssh-dss
nix/tipovye_problemy.txt · Последнее изменение: 2024/01/26 11:47 — san