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 共享磁盤
總結
以上是生活随笔為你收集整理的windows xp 下使用FileZilla密钥的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 数字芯片后端设计——SRAM宏模块布局布
- 下一篇: VMware 克隆虚拟机