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 02-04-2013, 12:03 PM   #1
mike_36
Junior Member
FlashFXP Registered User
 
Join Date: Jul 2005
Posts: 2
Default Cannot Connect via SSH

First - I love FlashFxp and have been using for quite a few years. I am an oldtimer and have always used FTP. I am being pressured by my peers to use SSH and have been trying to set it up with no luck.

I always get the following:
] Connecting to XXXXXXXXX - SSH -> DNS=XXXXXXXXIP=XXXXXXX PORT=22
[L] Connected to XXXXXX - SSH
[L] Host key algorithm ssh-RSA, size 2048 bits.
[L] Fingerprint (MD5): c6:a4:23:14:2c:3a:4e:84:86:95:60:20:c7:ed:fa:eb
[L] Key exchange: diffie-hellman-group14-sha1. Session encryption: aes256-ctr, MAC: hmac-sha1, compression: none.
[L] Auth Type: Public Key
[L] Authentication failed [Public Key]
[L] Auth Type: Password
[L] Auth Type: Password
[L] Authentication failed [Invalid Password]
[L] SSH Error: failed to negotiate authentication method
[L] SSH Connection closed

Because I am not in familiar territory, I am not sure where the problem is. My host is Rochen and I am on a managed virtual server. Rochen has enable SSH. In cpanel under security/SSH/Shell access I have generated a public and private key and recorded the key name and password. I have tried 1024 and 2048 bits and RSA/DSA. I download the keys locally.

In the FlashFXP setup, I start with a working FTP profile, then change the connection type to SFTP over SSH. I leave the username, password and address the same. Then in connections I select the key manager and import both private and public keys, giving them the name that was assigned in cpanel and the password assigned in cpanel. I choose type RSA/DSA for SFTP.

I apply everything and then try to connect. I have tried many different permutations, but the results are always the same.

I am sure that I am missing something simple, but I dont see it. Please walk me through my error.
mike_36 is offline  
Old 02-04-2013, 12:53 PM   #2
mike_36
Junior Member
FlashFXP Registered User
 
Join Date: Jul 2005
Posts: 2
Default

I just solved the problem. I needed to use the ftp account of the root user. The ftp account I was using only connects via ftp. Not sure of this is common with cpanel ftp accounts or not, but it was the issue in my case. Once I changed to the root account, the connection worked just fine.
mike_36 is offline  
Old 02-04-2013, 06:16 PM   #3
bigstar
FlashFXP Developer
FlashFXP Administrator
ioFTPD Beta Tester
 
bigstar's Avatar
 
Join Date: Oct 2001
Posts: 8,012
Default

I have observed a similar situation with managed virtual servers using cpanel. Typically only the main root account has ssh/sftp access.. ftp accounts are limited to ftp access.

Though I suppose this could also depend on how the server is configured, i know that proftpd can be compiled/configured with sftp support via mod_sftp so I imagine if the server was running proftpd with mod_sftp then maybe (just maybe) ftp accounts would be capable of accessing sftp too.
bigstar is offline  
Closed Thread

Tags
download, flashfxp, ftp, sftp, [l]

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:41 PM.

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