This topic created in 3617 days ago, the information mentioned may be changed or developed.
1.服务器的公钥指纹是不变的,说明服务器有一个自己的固定私钥,那么这个私钥存放在哪里?
2.我发现我 VPS 里面的.ssh 和 authorized_keys 并不是网上说的 700 和 600 ,是 755 和 644
3 replies • 2016-12-15 14:23:44 +08:00
 |
|
1. /etc/ssh/ssh_host_rsa_key.pub, ssh_host_rsa_key 2. 755/644 也可以,只要你的私钥不是 644 就行
|
 |
|
直接创建文件也可以的
|
 |
|
1.没固定的私钥啊,一般是 ssh_keygen 生成密钥对,一对一多好. 2.最好 700 和 600,安全原因.
|