Hallo zusammen!
Ich versuche nach erstellen eines Schlüsselpaares mittels
ssh-keygen -t rsa -b 16384
den (soeben erstellten) öffentlichen Schlüssel mit
ssh-copy-id user@192.168.178.52
von dem lokalen Arch Rechner auf meinen Ubuntu 20.01 Server zu kopieren.
Dabei bekomme ich diese Fehlermeldung:
ssh-copy-id user@192.168.178.52
/usr/bin/ssh-copy-id: INFO: attempting to log in with the new key(s), to filter out any that are already installed
/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: line 251: warning: here-document at line 251 delimited by end-of-file (wanted `EOF')
/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 254: /dev/null`: Permission denied
/usr/bin/ssh-copy-id: line 260: EOF: command not found
user@192.168.178.52's password:
Number of key(s) added: 1
Now try logging into the machine, with: "ssh 'user@192.168.178.52'"
and check to make sure that only the key(s) you wanted were added.
Bei Überprüfung auf dem Server mit "ls -la ~/.ssh" zeigt sich, dass der Ordner leer ist.
Ich konnte bisher leider keine anständige Lösung finden und freue mich sehr über Ratschläge.
VG whoamiq