Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Is it possible to login via ftp to my dedicated server using a private/public key pair? i.e without using a password?

share|improve this question
    
Yes, using scp it is possible. –  Sathya Sep 9 '11 at 18:17

1 Answer 1

up vote 4 down vote accepted

FTP can use SSL, which supports client authentication using X.509 certificates. However, while many FTP servers support FTPS, I don't know of any which support client certificates. (In addition, client authentication is complicated in SSL – in many cases, you would have to create and maintain your own certificate authority and stuff. Not many clients support this kind of authentication, either.)

Much easier is to use SFTP, the SSH file transfer protocol. It uses exactly the same keys as "normal" SSH would. On Windows, WinSCP and FileZilla support SFTP.

share|improve this answer
    
thank you, I know about SFTP. the problem is that is way more slower than normal ftp.. –  develroot Sep 9 '11 at 18:42
    
is there any command line based version of winscp or filezilla is availble ? –  mandy Oct 25 '12 at 13:17
    
Yes, and it's called winscp. For SFTP, you can use psftp from PuTTY. –  grawity Oct 25 '12 at 15:33

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.