Sftp and ssh

netplus21
netplus21 used Ask the Experts™
on
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
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Adrian CantrillSolutions Architect

Commented:
You could use a SCP client such as winSCP to give you a graphical interface for SCP (copy over SSH).
Adrian CantrillSolutions Architect

Commented:
or a decent set of instructions for SFTP configuration

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

Commented:
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
Microsoft Azure 2017

Azure has a changed a lot since it was originally introduce by adding new services and features. Do you know everything you need to about Azure? This course will teach you about the Azure App Service, monitoring and application insights, DevOps, and Team Services.

Commented:
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

Commented:
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
Commented:
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.

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial