Hallo,
ich habe ein Ubuntu System unter Windows WSL2. Nun habe ich versucht einen passwortlosen Zugang zum Server beim TYPO3-Provider aufzusetzen.
So habe ich das Public/Private RSA Schlüsselpaar generiert:
ssh-keygen -t rsa -C "xxxx02"
In der .ssh/config ist dies eingetragen:
Host jwxxxx02
HostName nn.nnn.nnn.nn
User xxxxjwza
IdentityFile ~/.ssh/xxxx02
Übertragen des Keys auf den Server:
jochla@LAPTOP-CTL7OQFH:~/.ssh$ ssh-copy-id -i ~/.ssh/abcdef.pub xxxxjwza@nn.nnn.nnn.nn
/usr/bin/ssh-copy-id: INFO: Source of key(s) to be installed: "/home/xxxxxx/.ssh/abcdef.pub"
The authenticity of host 'nn.nnn.nnn.nn (nn.nnn.nnn.nn)' can't be established.
ED25519 key fingerprint is SHA256:YDNh3LB6FN56b00s+oj7uUmtoabnFmMWepfC6VfxpXA.
This key is not known by any other names.
Are you sure you want to continue connecting (yes/no/[fingerprint])? y
Please type 'yes', 'no' or the fingerprint: yes
/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
xxxxjwza@nn.nnn.nnn.nn's password:
Connection closed by nn.nnn.nnn.nn port 22
jochla@LAPTOP-CTL7OQFH:~/.ssh$ ssh jwxxxx02
xxxxjwza@nn.nnn.nnn.nn's password:
nodenv: no such command `init'
~/httpdocs
Die SSH-Verbindung hat funktioniert, wie aus den letzten vier Zeilen ersichtlich ist. Aber warum musste ich trotzdem noch das Passwort eingeben? Und was bedeutet nodenv: no such command 'init'
?