Go Back   FlashFXP Forums > >

General Discussion Need help? Have a problem? Let us help you. Bug reports and feature requests should be made using the Bug Tracker or Feature Tracker

Closed Thread
 
Thread Tools Rate Thread Display Modes
Old 04-02-2015, 01:17 AM   #1
oxign
Junior Member
FlashFXP Registered User
 
Join Date: Aug 2010
Posts: 2
Default FlashFXP with Amazon EC2 SSH keys Part2

Hi Guys,

This subject has already been discussed here https://www.flashfxp.com/forum/flash...-ssh-keys.html

I've set-up an AWS EC2 instance to install a Wordpress Blog. All good so far. But I wanted to access it via FTP so I followed the instructions as per above (both versions, Admin and Cog01) but no joy. I've tried multiple ways of saving the file names and also exporting from Puttygen. I'm assuming the private key is ok and the issue is the public key. Any ideas? Thanks. Steve.

The error is

[R] Auth Type: Public Key
[R] Authentication failed [Public Key]
[R] SSH Error: failed to negotiate authentication method [Public Key]
[R] SSH Connection closed
oxign is offline  
Old 04-02-2015, 06:57 AM   #2
bigstar
FlashFXP Developer
FlashFXP Administrator
ioFTPD Beta Tester
 
bigstar's Avatar
 
Join Date: Oct 2001
Posts: 8,012
Default

When you setup an EC-2 instance in AWE it asks you to select an existing key pair or create a new one as shown in the image below.

I created a new key pair named EC-2 and then downloaded it to my computer.





I launched the instance and waited for it to enter the running state.

Then from within FlashFXP I added the site to the Site Manager.





I set the "Login Type" to "Key Based" then clicked on the Key Manager button to the right of the Private Key field.

Import my key pair as shown below




Its important to make sure you select RSA/DSA key for SFTP, select the private key file and click the Save button.

Now back in the Site Manager select the Key Pair named AWE EC-2

Save the site profile and connect

Code:
Connecting to AWE EC-2 -> IP=52.5.7.12 PORT=22
Connected to AWE EC-2
Host key algorithm ssh-RSA, size 2048 bits.
Fingerprint (MD5): 06:59:f4:77:7f:a6:1e:c8:f1:16:50:17:b7:06:26:98
Key exchange: diffie-hellman-group-exchange-sha256. Session encryption: aes128-ctr, MAC: hmac-sha2-256, compression: none.
Auth Type: Public Key
Authentication succeeded
SSH Connection open
Connection established with OpenSSH_6.2 (SFTP v3)
SFTP Connection Ready
bigstar is offline  
Old 04-02-2015, 05:40 PM   #3
oxign
Junior Member
FlashFXP Registered User
 
Join Date: Aug 2010
Posts: 2
Default

Once I saw the user name you had used I realized my mistake. I'm in and all is good. Thanks very much for your help.
oxign is offline  
Closed Thread

Tags
flashfxp, ftp, [r], key, ssh, error, public, authentication, key], [public, failed, ec2, exporting, joy, cog01, multiple, file, saving, ways, names, type, auth, negotiate, method, closed

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 10:45 AM.

Parts of this site powered by vBulletin Mods & Addons from DragonByte Technologies Ltd. (Details)