Software Archive
Read-only legacy content
Announcements
FPGA community forums and blogs have moved to the Altera Community. Existing Intel Community members can sign in with their current credentials.
17060 Discussions

SSH access for the Xeon Phi coprocessor

Paola_A_
Beginner
1,993 Views

Hi,

I've installed the last version of MPSS and I lost connectivity with the coprocessors. My steps to recover access were:

service mpss stop

micctrl --userupdate=none

micctrl --sshkeys=root mic0

micctrl --sshkeys=root mic1

service mpss start

But, when I try ssh mic0 is asking me for a password. If one of the steps didn't work, what log file could I check to find the error?

Thanks,

Paola

0 Kudos
2 Replies
Loc_N_Intel
Employee
1,992 Views

Have you tried to re-generate the SSH key:

# ssh-keygen
# service mpss stop
# micctrl --sshkeys=root mic0 
# service mpss start

 

0 Kudos
Rolly_N_
Beginner
1,992 Views

Hi,

I would like to share my findings on the same issue.

I am trying to install MPSS 3.8.1 on Ubuntu 16.04 here, https://software.intel.com/en-us/forums/intel-many-integrated-core/topic/712607

If I ssh with root, it asks for password, even I have already done

sudo ssh-keygen

which returns,

Generating public/private rsa key pair.
Enter file in which to save the key (/root/.ssh/id_rsa): 
/root/.ssh/id_rsa already exists.
Overwrite (y/n)? y
Enter passphrase (empty for no passphrase): 
Enter same passphrase again: 
Your identification has been saved in /root/.ssh/id_rsa.
Your public key has been saved in /root/.ssh/id_rsa.pub.
The key fingerprint is:
SHA256:wasXXXXXXXXXXXXXXXXXXXXXXXXXXXXX root@node09
The key's randomart image is:
+---[RSA 2048]----+
| XXXXX  |
+----[SHA256]-----+

Then I do,

qeuser@node09:~$ sudo micctrl --sshkeys=root mic0
qeuser@node09:~$ ssh root@mic0
root@mic0's password: 
Permission denied, please try again.
root@mic0's password: 

Since Ubuntu has no root access, I have to

sudo bash

Then, I tried again. Now, I can ssh to the Phi with

root@node09:~# ssh mic0
The authenticity of host 'mic0 (172.31.1.1)' can't be established.
ECDSA key fingerprint is SHA256:xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added 'mic0,172.31.1.1' (ECDSA) to the list of known hosts.

[root@node09-mic0 ~]# uname -a
Linux node09-mic0 2.6.38.8+mpss3.8.1 #1 SMP Thu Jan 12 16:10:30 EST 2017 k1om GNU/Linux

I hope it helps.

Rolly

 

 

 

0 Kudos
Reply