Title: SFTP(SSH2) &#8211; Not Working
Last modified: August 20, 2016

---

# SFTP(SSH2) – Not Working

 *  [bryceray1121](https://wordpress.org/support/users/bryceray1121/)
 * (@bryceray1121)
 * [13 years, 7 months ago](https://wordpress.org/support/topic/sftpssh2-not-working/)
 * Hello,
 * I am attempting to run WordPress on AWS (specifically Amazon AMI). I have wordpress
   running but I am attempting to setup SFTP (SSH2) to be able to download plugins.
   I have a working SSH key pair because I am able to login via ssh with my key 
   pair. WordPress doesn’t seem to be recognizing this.
 * My configuration:
 *     ```
       hostname: localhost
       user: myuser
       password: <empty>
       authentication keys:
       public: /home/myuser/.ssh/authorized_keys
       private: /home/myuser/.ssh/PrivateKey
       Connection Type: SSH2
       ```
   
 * > Error Message: Public and Private keys incorrect for myuser.
 * I can’t seem to get past this error message and would appreciate any suggestions
   you may have to offer.

Viewing 1 replies (of 1 total)

 *  [ricardusexa](https://wordpress.org/support/users/ricardusexa/)
 * (@ricardusexa)
 * [13 years, 7 months ago](https://wordpress.org/support/topic/sftpssh2-not-working/#post-3093197)
 * check with your host

Viewing 1 replies (of 1 total)

The topic ‘SFTP(SSH2) – Not Working’ is closed to new replies.

## Tags

 * [Setup](https://wordpress.org/support/topic-tag/setup/)
 * [sftp](https://wordpress.org/support/topic-tag/sftp/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 2 participants
 * Last reply from: [ricardusexa](https://wordpress.org/support/users/ricardusexa/)
 * Last activity: [13 years, 7 months ago](https://wordpress.org/support/topic/sftpssh2-not-working/#post-3093197)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
