Initiated SSH connection into Scheduled access - Intel® Max Series GPU (PVC) on 4th Gen Intel® Xeon® processors - 1100 series (4x) – Scheduled Batch Service instance on Windows*.
Encountered error: "uXXXXXX@XXX.com: Permission denied (publickey)."
Regenerate SSH public key on Windows.
ssh-keygen -t ed25519 -f %USERPROFILE%\.ssh\id_rsa
If prompted to overwrite, enter yes.
Open the SSH public key and copy the entire content of the file id_rsa.pub.
notepad %USERPROFILE%\.ssh\id_rsa.pub
Paste the copied content in the SSH ED25519 or RSA 4096 Public Key text box in the Profile page and click Save Key.
Navigate to View Instances page, terminate the Scheduled Batch Service (red bin icon) and refresh the page.
Navigate to Launch Instances page and launch a new Scheduled access - Intel® Max Series GPU (PVC) on 4th Gen Intel® Xeon® processors - 1100 series (4x) instance.
The public key must be saved in the profile before starting an instance. If the public key was updated after the instance was launched, the instance will need to be relaunched.
If public key is not in default path/name, you must add IdentityFile parameter to SSH config file (~/.ssh/config).
IdentityFile ~/.ssh/id_rsa