Solved

Sftp and ssh

Posted on 2010-09-01
6
3,060 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
Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

 
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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Secure Shell (SSH) is a network protocol for secure data communication, mainly used to administer remote Unix / Linux servers via command line. But it also allows the user to open a secure tunnel between a client and a server where he can send any k…
Outsource Your Fax Infrastructure to the Cloud (And come out looking like an IT Hero!) Relative to the many demands on today’s IT teams, spending capital, time and resources to maintain physical fax servers and infrastructure is not a high priority.
Viewers will learn how to properly install and use Secure Shell (SSH) to work on projects or homework remotely. Download Secure Shell: Follow basic installation instructions: Open Secure Shell and use "Quick Connect" to enter credentials includi…
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…

839 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