Solved

Sftp and ssh

Posted on 2010-09-01
6
3,012 Views
Last Modified: 2013-12-09
Hello,

I can already establish SSH and FTP connections on my linux hosting account, and I would also like to establish an SFTP connection. This is because SFTP gives me a graphical interface where I can navigate directories not available with FTP.

However my SFTP client won't establish a connection. I receive the following message when connecting on port 22:

Failure to agree with SSH server on compatible algorithms
Failed SSH Key Exchange
SSH Transport closed.

thanks for your help
0
Comment
Question by:netplus21
  • 3
  • 2
6 Comments
 
LVL 20

Expert Comment

by:woolnoir
ID: 33575137
You could use a SCP client such as winSCP to give you a graphical interface for SCP (copy over SSH).
0
 
LVL 20

Expert Comment

by:woolnoir
ID: 33575162
or a decent set of instructions for SFTP configuration

http://ubuntuforums.org/showthread.php?t=451510
0
 
LVL 3

Expert Comment

by:simoesp
ID: 33575642
you can use filezilla to connect too the problem looks like the SSH key that you're using it's wrong

to use filezilla select the port 22 instead of port 21
0
Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

 
LVL 7

Accepted Solution

by:
mchkorg earned 250 total points
ID: 33587768
Hi,

FTP is not the subject here. No link between SSH, SFTP and FTP/FTPS.
If SSH works, SFTP will, unless you explicitely denied it. SSH and SFTP are by default on port 22.
FTP, is using 21 and, if possible, 20.
(the last one to avoid confusion is FTPS : it's FTP with SSL ; SFTP is FTP via SSH :))

I think you just have something wrong with your keys.

When you say SSH is working, is it with password authentication or SSH keys?
- If "with password", configure your graphical SFTP tool (winscp, filezilla) so it won't use any key
- If "with SSH keys", did you correctly

Just to have a clear picture of it? You're running windows with some graphical SFTP tool to connect to a unix-based SSH server ?

regards
0
 
LVL 3

Expert Comment

by:simoesp
ID: 33587849
i wasn't talking about ftps filezilla does support SFTP the problem looks to be the SSH version you're using to connect try WinSCP or Filezilla to see if it devolves the same error
0
 
LVL 3

Assisted Solution

by:simoesp
simoesp earned 250 total points
ID: 33587889
if you're using WSFTP Pro try this:

under SSH settings and uncheck "zlib compression." You may have difficulty connecting if that option is enabled.
0

Featured Post

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Windows 8.1 - SSH Into Your Raspberry Pi with Putty Terminal 4 151
SSH logs Cisco switch 4 81
UNIX SCP 5 76
Access Based Enumeration on by default for all Network Shares 3 101
Over the past decade, as Internet security has become a chief concern of IT professionals, one of the most common questions administrators and users ask is, “Which is more secure, SFTP or FTPS?” In short, both file transfer protocols offer a high…
When it comes to security, there are always trade-offs between security and convenience/ease of administration. This article examines some of the main pros and cons of using key authentication vs password authentication for hosting an SFTP server.
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…

816 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now