简体   繁体   中英

Is there anyway to establish connection between multiple client and sftp server through public/private key authentication?

Is there anyway to get private key as string rather than file location and can we authenticate sftp.If so help with it.If we want to authenticate through public/private key means the ./ssh/id_rsa file must be in our local client which is going to read and authenticate it? I am using jsch Library.

Other than trying to get private key from the client . Generate the public-private key pair and give that to the client's sftp servers. This will be helpful for those who use sftp-ssh connection in their product or Appilication.

Thanks,

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM