How can I use sshpass with password and public key as well?

前端 未结 0 1617
既然无缘
既然无缘 2021-01-03 22:19

I manually use the bellow command to connect to a SFTP server. So, it asks me the password and connects to the server.

sftp -i publickey.key user@host.com


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题