windows xp 下使用FileZilla密钥

windows下FileZilla使用sftp(SSH-2)

使用puttygen.exe生成的密钥文件(SSH-2 DSA)

分别有公钥和私钥

服务器端:~/.ssh/authorized_keys

把公钥复制到这个openssh认证文件里面。

客户端FileZilla:

编辑->设置->SFTP->添加密码文件->选择刚才生成的私钥文件。

文件->站点管理器->新建站点->填写ip和端口->选择sftp->登录类型"一般" ,然后用户填写root,密码留空即可。

点击连接,出现下面错误:

错误: Disconnected: No supported authentication methods available
错误: 无法连接到服务器


难道是这种加密类型FileZilla不支持???

寻找wiki

果然是SSH-2 RSA加密的问题,FileZilla如果要支持SSH-2 RSA加密,需要Putty的其他工具,首先要把密钥转换成Putty的ppk格式,这个我之前就是用这个工具做的密钥,所以没有问题,然后还需要用pageant做代理才能正常使用,在pageant中托管密钥,然后开启FileZilla就可以选择sftp并正常使用了。

http://wiki.filezilla-project.org/Howto
 For SFTP using SSH2, FileZilla utilizes the excellent PuTTY tools. To allow the use of RSA / DSA key files with Filezilla, you'll need to download two more tools from PuTTY: Pageant and (assuming your key file isn't already in PPK format) PuTTYgen.

If your key file is already in PuTTY's PPK format you can skip this paragraph. However if your key is in OpenSSH format, you first need to convert it to PuTTY's PPK format. To do this, launch PuTTYgen and from the "Conversions" menu, select the "Import key" option. Select your key and follow the prompts to enter your pass phrase. Save your private key.

Now run Pageant. In your system tray, you'll see the Pageant icon appear. Right-click the icon and select "Add Key" and select your private key (PPK) file. Follow the prompt to enter your pass phrase and you're done.

Now simply launch FileZilla and connect to your server using SFTP using SSH2 with a username and an empty password. Don't forget to close pageant when you're done.



更多参考:

AIX mount RedHat的NFS

误删除/dev/dsk 和/dev/rdsk 下的文件怎么办?

unary operator expected

bash: /root/.bash_profile: line 15: syntax error: unexpected end of file

Linux下如何查看文件秒级修改及访问时间

EM乱码解决

linux里端口转发

windows xp 下使用FileZilla密钥

java.net.SocketException: Too many open files 问题的解决办法

UNExcepted inconsistency; run fsck manually

如何修改linux的mac地址?

mysqldump: Got error: 1066: Not unique table/alias

rsync详解一

rsync详解二

更改mysql的默认安装目录

httpd: apr_sockaddr_info_get() failed for centos1113

Real domain name required for sender address

Connection refused by [127.0.0.1]

MySQL bin_log文件占用空间太大

Centos 5 多路径配置步骤

rpc mount export: RPC: Unable to receive; errno = No route to host

nohup和screen的比较

vmware workstation 8 共享磁盘







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

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

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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值