Using SFTP

I'm not very familiar with using SFTP and I don't see much in the help file for it. Is there a better tutorial for using SFTP with PHPStorm? Specifically the problem that I am having is that I am trying to use it with Zend Cloud and the file I downloaded is in .ppk format. PHPStom says that that keypair is corrupt or has unknown format.

3 comments
Comment actions Permalink

Hello!

Putty keys *.ppk are not supported. Here is an issue for their support, feel free to vote for. Here is a thread on stackoverflow about converting ppk to OpenSSH format. Here is a thread with  a similar problem on this forum.

0
Comment actions Permalink

Thanks.

I understand and can do through 4, but are 5-7 for Linux? I don't understand those instructions.

  1. Open PuttyGen
  2. Click Load
  3. Load your private key
  4. Go to
    Conversions->Export OpenSSH
    and export your private key
  5. Copy your private key to
    ~/.ssh/id_dsa
    (or
    id_rsa
    ).
  6. Create the RFC 4716 version of the public key using

    ssh-keygen

    ssh-keygen -e -f ~/.ssh/id_dsa > ~/.ssh/id_dsa_com.pub
  7. Convert the RFC 4716 version of the public key to the OpenSSH format:
    ssh-keygen -i -f ~/.ssh/id_dsa_com.pub > ~/.ssh/id_dsa.pub

0
Comment actions Permalink

Nevermind, it's working with just those 4 steps.

0

Please sign in to leave a comment.