Error on establishing SFTP connection: SSH server does not support SFTP protocol

Discussion of open issues, suggestions and bugs regarding network security and data protection solution - SecureBridge
Post Reply
jcanon
Posts: 11
Joined: Sat 24 May 2014 04:22

Error on establishing SFTP connection: SSH server does not support SFTP protocol

Post by jcanon » Wed 14 Mar 2018 21:57

I'm using rad studio 10.2 (delphi 10.2 ) and trying the last trial version of secureBridge (8.1.3 unregistred)

I managed to start sshserver service and connect user using password or public key, but I recive a "Error on establishing SFTP connection: SSH server does not support SFTP protocol" message as you can see in logs:

SSHClientApp log:

4:50:59 p. m. SSH connection to server: "localhost" port: 22 established.
4:50:59 p. m. SFTP connection disconnected.
4:50:59 p. m. Error on establishing SFTP connection: SSH server does not support SFTP protocol
4:51:05 p. m. SSH connection to server: "localhost" port: 22 disconnected.

SSHServer Log
4:50:05 p. m. Starting SSH server.
4:50:05 p. m. SSH server started.
4:50:59 p. m. IP 127.0.0.1 User Juank successfully connected.
4:50:59 p. m. IP 127.0.0.1 User Juank local port forwarding to :0 established.
4:50:59 p. m. IP 127.0.0.1 User Juank local port forwarding to :0 closed.
4:51:05 p. m. IP 127.0.0.1 User Juank disconnected.

What I'm doing wrong?

Thanks in advance...

jcanon
Posts: 11
Joined: Sat 24 May 2014 04:22

Re: Error on establishing SFTP connection: SSH server does not support SFTP protocol

Post by jcanon » Wed 14 Mar 2018 22:05

By the way, I have default options in all demos... Nothing changed on port fordwarding or sftp options in client app

jcanon
Posts: 11
Joined: Sat 24 May 2014 04:22

Re: Error on establishing SFTP connection: SSH server does not support SFTP protocol

Post by jcanon » Thu 15 Mar 2018 15:55

Ok, silly me...

I notice now the default server service does'nt have a sftpserver by default, you have to add the sftp component to the project...

ViktorV
Devart Team
Posts: 3168
Joined: Wed 30 Jul 2014 07:16

Re: Error on establishing SFTP connection: SSH server does not support SFTP protocol

Post by ViktorV » Fri 16 Mar 2018 10:05

Yes, you are right. To test the TScSFTPServer component, you can use our SimpleSSHServer demo project.
You can find the demo project in the %SecureBridgeDemos%\SimpleSSHServer directory.
%SecureBridgeDemos% is the SecureBridge Demo projects installation path on your computer.
To start SFTP server it's enough to place the TScSFTPServer component onto the form and set this component to the TScSSHServer.SFTPServer property.

Post Reply