nix:tipovye_problemy
Различия
Показаны различия между двумя версиями страницы.
Предыдущая версия справа и слеваПредыдущая версияСледующая версия | Предыдущая версия | ||
nix:tipovye_problemy [2023/05/10 13:54] – [signature algorithm ssh-rsa not in PubkeyAcceptedAlgorithms] san | nix:tipovye_problemy [2025/09/02 10:52] (текущий) – [ssh_dispatch_run_fatal: Connection to port 22: error in libcrypto] san | ||
---|---|---|---|
Строка 3: | Строка 3: | ||
===== Проблемы с SSH ===== | ===== Проблемы с SSH ===== | ||
- | ==== signature algorithm ssh-rsa not in PubkeyAcceptedAlgorithms ==== | + | ==== userauth_pubkey: |
/ | / | ||
Строка 12: | Строка 12: | ||
</ | </ | ||
+ | Или более изящно | ||
+ | < | ||
+ | echo ' | ||
+ | systemctl restart ssh | ||
+ | </ | ||
+ | |||
+ | ==== userauth_pubkey: | ||
+ | Аналогично предыдущему | ||
+ | < | ||
+ | echo ' | ||
+ | systemctl restart ssh | ||
+ | </ | ||
+ | |||
+ | ==== ssh: sign_and_send_pubkey: | ||
+ | нужно выполнить: | ||
+ | < | ||
+ | ssh-add | ||
+ | </ | ||
+ | |||
+ | ==== no matching key exchange method found. Their offer: diffie-hellman-group14-sha1 ==== | ||
+ | Сделать в файле ~/ | ||
+ | < | ||
+ | Host server_name server_ip | ||
+ | KexAlgorithms +diffie-hellman-group14-sha1 | ||
+ | </ | ||
+ | |||
+ | ==== no matching host key type found. Their offer: ssh-dss ==== | ||
+ | Сделать в файле ~/ | ||
+ | < | ||
+ | Host server_name server_ip | ||
+ | HostKeyAlgorithms +ssh-dss | ||
+ | </ | ||
+ | |||
+ | ==== ssh_dispatch_run_fatal: | ||
+ | <code console> | ||
+ | # | ||
+ | DEFAULT | ||
+ | # | ||
+ | Setting system policy to LEGACY | ||
+ | Note: System-wide crypto policies are applied on application start-up. | ||
+ | It is recommended to restart the system for the change of policies | ||
+ | to fully take place. | ||
+ | # | ||
+ | LEGACY | ||
+ | </ | ||
+ | |||
+ | < | ||
- | {{tag> | + | {{tag> |
nix/tipovye_problemy.1683716057.txt.gz · Последнее изменение: — san