首页 > SSH免密码可行 SCP不行....怎么解决?

SSH免密码可行 SCP不行....怎么解决?

经过通用的生成密钥保存的步骤,SSH已经实现免密码登陆,但是SCP一直需要输入密码.如何解决?


添加-i identity_file选项

-i identity_file
Selects the file from which the identity (private key) for public key authentication is read. This option is directly passed to ssh(1).

【热门文章】
【热门文章】