How To connect via psftp (secure ftp) using a private key file
Posted by Mike C. on 11 September 2009 08:54 PM
|
Creating the key
- create an ssh key in cPanel if you haven't already.
- REMEMBER your passphrase
- view the private key (you will need to put in the passphrase to do this)
- select the entire key.
- open a new text file on your desktop, named username.txt
- paste the private key in to the text file
- change the name of the file to username.ppk
Configuring Putty
- download both putty
and psftp here:
http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html
- fire up putty (just double click on the exe)
- under "saved sessions" put your username
- in hostname box put: username@ip || example:
nick@1.2.3.4
- click the ssh radio button
- change the port if the ssh port is not 22
- on the menu on the left click the + next to SSH
- click the auth category
- click the browse button select the key you saved earlier (should be
username.ppk)
- click on session on the left menu
- click the save button
- click cancel
using psftp:
- open psftp (just double click the exe)
- type: open username
- enter the passphrase for your private key
you are now connected via secure ftp, congratulations
|
(822 vote(s))
Helpful Not helpful
|