Sftp and ssh


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
Who is Participating?
mchkorgConnect With a Mentor Commented:

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 ?

You could use a SCP client such as winSCP to give you a graphical interface for SCP (copy over SSH).
or a decent set of instructions for SFTP configuration

[Webinar] Kill tickets & tabs using PowerShell

Are you tired of cycling through the same browser tabs everyday to close the same repetitive tickets? In this webinar JumpCloud will show how you can leverage RESTful APIs to build your own PowerShell modules to kill tickets & tabs using the PowerShell command Invoke-RestMethod.

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
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
simoespConnect With a Mentor 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.
All Courses

From novice to tech pro — start learning today.