出现该问题的原因是在安装前,使用
ssh-keygen
创建RSA秘钥,如果在首次启动service mpss start前创建秘钥,mpss会自动获取秘钥并拷贝秘钥到phi上,创建不需要密码的ssh服务。
但此时安装完毕,并已启动mpss服务,由于之前没有创建RSA秘钥,此时ssh mic0就提醒要输入passwd,现在的解决办法就是终止服务,建立秘钥,添加用户密码,最后开启服务。
[root@mic01] ssh-keygen //create keys with blank password
[root@mic01] service mpss stop //stop the service
[root@mic01] micctrl --sshkeys=root mic0 //add the passwd
[root@mic01] service mpss start //start the service
之后不需要重启,就可以无密码的ssh mic0。若还不行建议reboot。
参考:
[1]Intel MIC (至强融核) 安装步骤 - 优快云博客:https://blog.youkuaiyun.com/zhang0311/article/details/8241290(这是分章节的技术文档,很全但难以使用)
[2]Issues accessing mic0 with non-root user: https://software.intel.com/en-us/forums/intel-many-integrated-core/topic/541993(Intel网址的问题的解决办法,需要一定的英文功底)
[3]MIC卡驱动安装 - 优快云博客: https://blog.youkuaiyun.com/mrhiuser/article/details/51481713(很详细的安装过程)