![]() Last edited by marko 22nd October 2020 at 08:00 AM. You'd ideally want to generate your keys with all these updated: ![]() Each user must generate their own pair of keys. Authentication keys allow you to connect to a remote system without needing to supply a password each time that you connect. You didn't say but did you run "ssh-keygen" recently to make the key you are using? Or did you run it a long time ago and you're just using an old key with the newer ssh stuff? A problem that can occur is they might have strengthened the "crypto-policies" package /etc/crypto-policies/back-ends/nfig file after you made your ~/.ssh/id-rsa* files. Use the ssh-keygen command to generate a public and private authentication key pair. PubkeyAcceptedKeyTypes seem to have added to your ~/.ssh/config rsa-sha2- types that should already be supported, maybe your crypto-policies The ssh-copy-id command is a simple tool that allows you to install an SSH key on a remote servers authorized keys. Has anyone tried this? could it be selinux (enforcing) preventing the push?Ĭode: # grep PubkeyAcceptedKeyTypes /etc/crypto-policies/back-ends/nfig Now try logging into the machine, with: "ssh check to make sure that only the key(s) you wanted were flags up a few warnings then it says its completed but when i check the key transfer on the server, it has failed. usr/bin/ssh-copy-id: line 260: EOF: command not password: usr/bin/ssh-copy-id: line 254: /dev/null`: Permission denied usr/bin/ssh-copy-id: line 250: warning: here-document at line 250 delimited by end-of-file (wanted `EOF') usr/bin/ssh-copy-id: line 251: warning: here-document at line 251 delimited by end-of-file (wanted `EOF') ![]() usr/bin/ssh-copy-id: INFO: 1 key(s) remain to be installed - if you are prompted now it is to install the new keys ![]() usr/bin/ssh-copy-id: INFO: attempting to log in with the new key(s), to filter out any that are already installed Code: ssh-copy-id -i id_rsa.pub INFO: Source of key(s) to be installed: "id_rsa.pub" ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |