Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Student Ambassador
311 Views

Permission denied (publickey)

I'm unable to ssh into my account.

❯ ssh devcloud

u37216@devcloud:  Permission denied (publickey)

I'm getting the above error.

 

Tags (1)
0 Kudos
11 Replies
Highlighted
Moderator
311 Views

Hi,

Thanks for reaching out to us.

Could you please verify the given config file with yours  

Host devcloud
User uxxxxx
HostName c009
Port 4036
IdentityFile "<Path>/devcloud-access-key-xxxxx.txt"
ProxyCommand ssh -T -i "<Path>/devcloud-access-key-xxxxx.txt" guest@devcloud.intel.com

If there is no change , please download the key once more and try again.

Manually verify whether the key file is present in the ~/.ssh folder and set correct permissions as below:

chmod 600 ~/.ssh/devcloud-access-key-xxxxx.txt
chmod 600 ~/.ssh/config 

If the issue still persists, please let us know.

0 Kudos
Highlighted
Student Ambassador
311 Views

Yes. I've verified. I followed the same instructions which I received in the welcome email. The issue still persists.

0 Kudos
Highlighted
Employee
311 Views

Hey Prajjwal,

Perhaps there's an easier way to reconfigure your SSH connection.

Step1: backup your ~/.ssh folder. For example you can rename it to: ~/.ssh.old.

Step2: go to https://devcloud.intel.com/oneapi/connect/connect-with-ssh-linux-macos/.
Not long ago we have added a script to automate the SSH config for the DevCloud. Follow the instructions and let us know if that solved your connection problem.

Thank you!
 

0 Kudos
Highlighted
Student Ambassador
311 Views

I followed this same instructions as you said. It still doesn't work.

0 Kudos
Highlighted
Moderator
311 Views

Hi Prajjwal,

We have sent you new credentials, please download the keys as described under the "connect" section. Please find the attached screenshot of the connect section.

If you face any issue please let us know.

 

Thanks

0 Kudos
Highlighted
Student Ambassador
311 Views

I tried with both automated and manual. It still doesn't work.

0 Kudos
Highlighted
Moderator
311 Views

Hi Prajjwal,

We couldn't observe any issue in DevCloud connection from our end

Could you please share the complete steps you followed so that we can verify.

 

Thanks

0 Kudos
Highlighted
Student Ambassador
311 Views

Automated:

bash ~/Downloads/setup-devcloud-access-37216.txt

 

Manual

mv ~/Downloads/devcloud-access-key-37216.txt ~/.ssh/

 

This step: Add the following lines to file ~/.ssh/config (if you do not have this file, simply create one)

chmod 600 ~/.ssh/devcloud-access-key-37216.txt chmod 600 ~/.ssh/config

0 Kudos
Highlighted
Moderator
288 Views

Hi Prajjwal,


We have contacted the concerned team. Will get back to you soon.


Thanks



0 Kudos
Highlighted
Moderator
219 Views

Hi Prajjwal,


We have already sent the new credentials to you. If you are still facing the same issue, then your account is corrupted beyond recovery. You can apply for a new account here https://intelsoftwaresites.secure.force.com/DevCloud/


Could you please let us know if we can close this case?


Thanks


0 Kudos
Highlighted
Moderator
180 Views

Hi,


We haven't heard back anything from you. So, we are closing this case assuming that your issue is resolved . Please feel free to raise a new thread if you have any further issues.


Thanks.


0 Kudos