issue connecting to sftp

Need help with FileZilla Client? Something does not work as expected? In this forum you may find an answer.

Moderator: Project members

Post Reply
Message
Author
tennyson
500 Command not understood
Posts: 2
Joined: 2023-01-24 16:52

issue connecting to sftp

#1 Post by tennyson » 2023-01-24 16:56

So I have a bit of a challenge and I can’t seem to figure it out.

I have OpenSSH manually installed on our windows 2019 server, the server’s add feature wouldn’t work with it so I needed to manually install it. It’s located at
C:\OpenSSH-Win64

I have 2 users connecting to it, our sever admin account, and SFTPUser, an account I made for sftp access.

Both users have the same permissions as far as I can tell (both are members of the admin group).

admin account connects no problem using sftp in both filezilla and winscp

SFTPUser connects with winscp when I set the server path to C:\OpenSSH-Win64\sftp-server.exe
Filezilla doesn’t seem to have the option of specifying the path for sftp.

I thought about adding the path the environment variables on the server but that didn’t seem to help. The SFTPUser has full control of that path and any other path I can think of related to the sftp.

Any ideas would be appreciated.

User avatar
botg
Site Admin
Posts: 35508
Joined: 2004-02-23 20:49
First name: Tim
Last name: Kosse

Re: issue connecting to sftp

#2 Post by botg » 2023-01-25 08:27

The client asking for a specific subsystem executable by path is merely a fallback mechanism if the SSH server itself does know about the SFTP subsystem. The proper solution is to configure the SSH server so that it knows about the SFTP subsystem in its sshd_config.

tennyson
500 Command not understood
Posts: 2
Joined: 2023-01-24 16:52

Re: issue connecting to sftp

#3 Post by tennyson » 2023-01-25 13:42

Thanks botg
Do i add the path in here? Not sure what the syntax is

# override default of no subsystems
Subsystem sftp sftp-server.exe
Subsystem sftp internal-sftp

User avatar
botg
Site Admin
Posts: 35508
Joined: 2004-02-23 20:49
First name: Tim
Last name: Kosse

Re: issue connecting to sftp

#4 Post by botg » 2023-01-25 21:04

I recommend reading the server manual or asking the server vendor for advice.

Post Reply