Windows下生成 公钥 私钥以及 配置 Filezilla中的 SFTP的私钥

Win下需要使用到 PuTTYgen.exe来生成公钥私钥,可以参考youtube的这篇文章:  为 SFTP 保管箱生成 Secure Shell (SSH) 密钥对

 

PuTTYgen.exe的下载地址: https://www.chiark.greenend.org.uk/~sgtatham/putty/latest.html

 

两篇关于FileZilla的SFTP用Private Key登录的方法的文章:

FileZilla SFTP (SSH)服務器教學

FileZilla的SFTP用private key的登录方法

cmd下使用密钥和非密钥方式登录sftp的方法

 

 

============

https://support.hoststore.com/?/Knowledgebase/Article/View/86/0/how-to-connect-via-psftp-secure-ftp-using-a-private-key-file

how-to-connect-via-psftp-secure-ftp-using-a-private-key-file

 

Creating the key
 

  • create an ssh key in cPanel if you haven't already.
  • REMEMBER your passphrase
  • view the private key (you will need to put in the passphrase to do this)
  • select the entire key.
  • open a new text file on your desktop, named username.txt
  • paste the private key in to the text file
  • change the name of the file to username.ppk

Configuring Putty
 

  • download both putty and psftp here: http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html
  • fire up putty (just double click on the exe)
  • under "saved sessions" put your username
  • in hostname box put: username@ip || example: nick@1.2.3.4
  • click the ssh radio button
  • change the port if the ssh port is not 22
  • on the menu on the left click the + next to SSH
  • click the auth category
  • click the browse button select the key you saved earlier (should be username.ppk)
  • click on session on the left menu
  • click the save button
  • click cancel

using psftp:
 

  • open psftp (just double click the exe)
  • type: open username
  • enter the passphrase for your private key

you are now connected via secure ftp, congratulations

 

转载于:https://www.cnblogs.com/bmrs/p/8696034.html

  • 1
    点赞
  • 2
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值