wido commented on PR #14164:
URL: https://github.com/apache/cloudstack/pull/14164#issuecomment-5665047268

   I came accross this while testing PR #13758
   
   The authorized_keys file was wrong:
   
   ```
   root@VM-c38cdf78-5132-4e69-bd30-0a246165447e:~# cat .ssh/authorized_keys
   ssh-ed25519 
AAAAC3NzaC1lZDI1NTE5AAAAIFeMnwadvS7Z/sN0yCVnfcMgvxrmlNr2zElAMlFvbsP2 
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIEPnHzS1LN+3VoXrUBWhRlIbWlSiqVdPynRNDy4bnLOn
   root@VM-c38cdf78-5132-4e69-bd30-0a246165447e:~#
   ```
   
   The newline between the SSH keys wasn't correct. After this commit it now 
works as expected.
   
   ```
   root@VM-baf04c61-ddbc-456b-b0bd-7bfdaee8d896:~# cat 
/root/.ssh/authorized_keys
   ssh-ed25519 
AAAAC3NzaC1lZDI1NTE5AAAAIEPnHzS1LN+3VoXrUBWhRlIbWlSiqVdPynRNDy4bnLOn
   ssh-ed25519 
AAAAC3NzaC1lZDI1NTE5AAAAIFeMnwadvS7Z/sN0yCVnfcMgvxrmlNr2zElAMlFvbsP2
   root@VM-baf04c61-ddbc-456b-b0bd-7bfdaee8d896:~#
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to