Difference between revisions of "Howto"

From FileZilla Wiki
Jump to navigationJump to search
(EivjOEplKDCkDqLTeYC)
Line 1: Line 1:
== SFTP using SSH2: Key based authentication ==
+
putyyctg user, have you tried applying the patch to putyyctg and compiling it from source?  That may work.However, on Windows this shouldn't be necessary since you can pipe your command output to clip  and it will be on your clipboard. i.e. dir |clip  in Windows command prompt or  ls -la | clip  in Cygwin. I don't have Cygwin installed but I just tried it in MSYS and it worked fine.
 
 
Starting with version 3.0.8, FileZilla has a built-in key management page in the settings dialog.
 
 
 
Note: Importing a site's '''public''' key is not supported.
 
It's not possible to pre-cache a public key (which I had obtained as a keyfile from the site's administrator) to verify the server is the one you're trying to connect to. Eventually I had to run ssh-keygen -l -f <keyfile name> on a Linux box, then perform a visual comparison.
 
 
 
=== Windows ===
 
For SFTP using SSH2, FileZilla utilizes the excellent [http://www.chiark.greenend.org.uk/~sgtatham/putty/ 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.
 
 
 
I'm not sure how well this'll work on systems where you're not permitted to save your password, but after selecting "Don't save password" in the site manager for my server, I could exit the site manager by pressing "cancel" on the password dialog and then "Save and Exit". When you select your site from the list, again press "cancel" and it'll still attempt to connect.
 
 
 
As you may or may not know, FileZilla can be easily carried around on portable media such as a USB stick and used from any PC. This also applies to the PuTTY tools, so if you stick Pageant and your PPK key file on to, for example, a USB stick, you can now access your server from any Windows PC.
 
 
 
Sounds delicious  it's been a very long time since I've had a reoasn to make homemade BBQ sauce, but now it looks like I have one!  I think I may add more mustard though, since I like BBQ sauce where you can taste the mustard.  Great pics, too..-= Lauren s last blog .. =-.
 
 
 
=== Other platforms ===
 
 
 
FileZilla supports the standard SSH agents. If your SSH agent is running, the SSH_AUTH_SOCK environment variable should be set.
 

Revision as of 19:49, 23 August 2012

putyyctg user, have you tried applying the patch to putyyctg and compiling it from source? That may work.However, on Windows this shouldn't be necessary since you can pipe your command output to clip and it will be on your clipboard. i.e. dir |clip in Windows command prompt or ls -la | clip in Cygwin. I don't have Cygwin installed but I just tried it in MSYS and it worked fine.