windows xp 下使用FileZilla密钥
windows下FileZilla使用sftp(SSH-2)
使用puttygen.exe生成的密鑰文件(SSH-2 DSA)
分別有公鑰和私鑰
服務(wù)器端:~/.ssh/authorized_keys
把公鑰復(fù)制到這個(gè)openssh認(rèn)證文件里面。
客戶端FileZilla:
編輯->設(shè)置->SFTP->添加密碼文件->選擇剛才生成的私鑰文件。
文件->站點(diǎn)管理器->新建站點(diǎn)->填寫(xiě)ip和端口->選擇sftp->登錄類(lèi)型"一般" ,然后用戶填寫(xiě)root,密碼留空即可。
點(diǎn)擊連接,出現(xiàn)下面錯(cuò)誤:
錯(cuò)誤:?Disconnected: No supported authentication methods available
錯(cuò)誤:?無(wú)法連接到服務(wù)器
難道是這種加密類(lèi)型FileZilla不支持???
尋找wiki
果然是SSH-2 RSA加密的問(wèn)題,FileZilla如果要支持SSH-2 RSA加密,需要Putty的其他工具,首先要把密鑰轉(zhuǎn)換成Putty的ppk格式,這個(gè)我之前就是用這個(gè)工具做的密鑰,所以沒(méi)有問(wèn)題,然后還需要用pageant做代理才能正常使用,在pageant中托管密鑰,然后開(kāi)啟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下如何查看文件秒級(jí)修改及訪問(wèn)時(shí)間
EM亂碼解決
linux里端口轉(zhuǎn)發(fā)
windows xp 下使用FileZilla密鑰
java.net.SocketException: Too many open files 問(wèn)題的解決辦法
UNExcepted inconsistency; run fsck manually
如何修改linux的mac地址?
mysqldump: Got error: 1066: Not unique table/alias
rsync詳解一
rsync詳解二
更改mysql的默認(rèn)安裝目錄
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 共享磁盤(pán)
總結(jié)
以上是生活随笔為你收集整理的windows xp 下使用FileZilla密钥的全部?jī)?nèi)容,希望文章能夠幫你解決所遇到的問(wèn)題。
- 上一篇: 数字芯片后端设计——SRAM宏模块布局布
- 下一篇: 微信小程序毕业设计开题报告_SSM项目点