Upgraded to Ubuntu 22.04 and having SSH problems...
acosonic opened this issue · 2 comments
acosonic commented
More specifically:
2023-10-11 07:16:48 -0400 [ERROR] Invalid Gitolite Admin SSH Keys
2023-10-11 07:16:48 -0400 [ERROR] Failed to retrieve list of SSH authentication methods: Failed getting response
System info:
Environment:
Redmine version 4.1.0.stable.19444
Ruby version 2.6.5-p114 (2019-10-01) [x86_64-linux]
Rails version 5.2.4.1
Environment production
Database adapter Mysql2
Mailer queue ActiveJob::QueueAdapters::AsyncAdapter
Mailer delivery smtp
SCM:
Subversion 1.14.1
Git 2.34.1
Filesystem
Xitolite 2.34.1
Redmine plugins:
additionals 3.0.4
disable_activity 0.0.1
redmine_agile 1.6.2
redmine_contacts 4.3.0
redmine_dmsf 2.4.5
redmine_git_hosting 5.0.1-master
Any suggestions?
acosonic commented
I have tried to generate new keys using:
ssh-keygen -m PEM -N '' -f ssh_keys/redmine_gitolite_admin_id_rsa
acosonic commented
Fixed by adding:
PubkeyAcceptedAlgorithms +ssh-rsa
to
/etc/ssh/sshd_config
then restarting systemctl restart sshd
It worked for me, after hours of unsucessful fixes since I followed wrong leads...
till it came to my mind to take a look at /var/log/auth.log