Closed andreas-wilm closed 4 years ago
@andreas-wilm Thanks for the feedback.
@Potapy4 raised a pull request to fix this issue.
@Potapy4 Thanks for your contribution
@andreas-wilm I will close this out for now. Once the document author approves the pull request, Changes will reflect on the document.
Hello there,
regarding the key access (https://docs.microsoft.com/en-us/azure/virtual-machines/workloads/hpc/setup-mpi#set-up-ssh-keys-for-mpi):
on most systems (depends on the umask), the newly created file
/home/$USER/.ssh/authorized_keys
will have world read permission. A login with key will then fail with the following (/var/log/secure on Ubuntu):sshd[pid]: Authentication refused: bad ownership or modes for file /home/$USER/.ssh/authorized_keys
A
chmod 600 .ssh/authorized_keys
fixes this and should be added to the section.Thanks, Andreas
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.