windows下FileZilla使用sftp(SSH-2)
来源:互联网 发布:win10 telnet 端口 编辑:程序博客网 时间:2024/05/17 09:00
puttygen.exe生成的密钥文件(SSH-2 RSA)
分别有公钥和私钥
服务器端:~/.ssh/authorized_keys
把公钥复制到这个openssh认证文件里面。
客户端FileZilla:
编辑->设置->SFTP->添加密码文件->选择刚才生成的私钥文件。
文件->站点管理器->新建站点->填写ip和端口->选择sftp->登录类型"一般" ,然后用户填写root,密码留空即可。
点击连接,出现下面错误:
命令: keyfile "rsa-key-FileZilla.ppk"
命令: open "root@XXX.XXX.XXX.XXX" 22
命令: Pass:
错误: 认证失败。
错误: 严重错误
错误: 无法连接到服务器
关键是同样的私钥,放在winscp和pageant都可以正常认证连接啊。
难道是这种加密类型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.
- windows下FileZilla使用sftp(SSH-2)
- Ubuntu下使用SSH和FileZilla远程登陆
- windows 下sftp ssh自动脚本
- windows xp 下使用FileZilla密钥
- Mac下ssh和sftp的使用
- filezilla sftp
- 在Filezilla下用sftp上传文件
- WinSCP是一个Windows环境下使用SSH的开源图形化SFTP客户端
- Windows环境下使用SSH的开源图形化SFTP客户端:WinSCP
- FileZilla使用ssh连接linux
- Linux下使用SSH客户端及其Sftp文件传送
- WindowsXP上使用FileZilla的 SFTP 功能传输文件
- ubuntu下配置SSH已经filezilla
- Windows下配置sftp,并使用C#上传下载
- windows下搭建sftp服务端,并使用FileZillaClient测试
- linux 下使用SFTP
- Linux下使用sftp
- 搭建windows下filezilla FTP服务器
- Ubuntu15.04 删除/sbin/upstart与孤儿进程收养的问题
- 华南运维论坛 2015-07-25
- 集合类 & MAP & 泛型
- 妆容之眼部
- pts 点云文件格式 最简便的点云格式
- windows下FileZilla使用sftp(SSH-2)
- C++第一天遇到的一下问题
- POJ 2236 Wireless Network
- Codeforces 558D - Guess Your Way Out! II (求区间交,并)
- JavaWeb学习笔记:Tomcat
- 虚基类
- hdu 5310 Souvenir
- sgu296:Sasha vs. Kate(贪心)
- 使用 C# 开发智能手机软件:推箱子(二)