Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Student Ambassador
56 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
9 Replies
Highlighted
Moderator
56 Views

Hi,

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
56 Views

Yes. I've verified. I

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

0 Kudos
Highlighted
Employee
56 Views

Hey Prajjwal,

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
56 Views

I followed this same

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

0 Kudos
Highlighted
Moderator
56 Views

Hi Prajjwal,

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
56 Views

I tried with both automated

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

0 Kudos
Highlighted
Moderator
56 Views

Hi Prajjwal,

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
56 Views

Automated:

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
33 Views

Re:Permission denied (publickey)

Hi Prajjwal,


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


Thanks



0 Kudos