NppFTP icon indicating copy to clipboard operation
NppFTP copied to clipboard

Channel request subsystem failed

Open B-Dionysus opened this issue 7 years ago • 7 comments

Many apologies if this is a dumb question, but I just began to get the "[SFTP] Error initialising channel: Channel request subsystem failed " notification.

Is this related the libssh support and, if so, what does my server admin need to do to fix it? Sorry again about the vague question here.

B-Dionysus avatar Aug 16 '17 21:08 B-Dionysus

See https://github.com/ashkulz/NppFTP/blob/master/src/FTPClientWrapperSSH.cpp#L457

on call to http://api.libssh.org/master/group__libssh__sftp.html#ga32c8e182e97352e1aa8a20443c320d7f

chcg avatar Aug 30 '17 16:08 chcg

@B-Dionysus

  • Is this just happening with a specific server or with multiple ones? Could you test against server: test.rebex.net

, see https://test.rebex.net/ for further config params.

  • With which version of NppFTP?

chcg avatar Aug 30 '17 17:08 chcg

Ah, looks like it's just the one server. Or, at least, rebex worked fine.

I asked the sysadmin of the server in question, who said that "it's been upgraded to not support deprecated protocols" as part of the move from Debian 7 to 9. So I'm assuming that libssh (and therefore NppFTP) uses an out of date protocol?

Thanks!

B-Dionysus avatar Aug 30 '17 17:08 B-Dionysus

@B-Dionysus libssh features, see https://www.libssh.org/features/ with support for Subsystems: sftp(version 3), and latest version is 6 (https://en.wikipedia.org/wiki/SSH_File_Transfer_Protocol#Version_6)

Could you connect with winscp or filezilla?

chcg avatar Aug 30 '17 18:08 chcg

@B-Dionysus You may want to test current release https://github.com/ashkulz/NppFTP/releases/tag/v0.28.0 which contains updated libssh version 0.8.6 with support for additional algorithms.

chcg avatar Jan 01 '19 21:01 chcg

@B-Dionysus You may want to test current release https://github.com/ashkulz/NppFTP/releases/tag/v0.28.0 which contains updated libssh version 0.8.6 with support for additional algorithms.

Facing the same issue in 0.28.3 as well.

knayan1 avatar May 29 '19 06:05 knayan1

Same issue observed in 0.28.4 Edit: Turned out to be server configuration not allowing sftp

tttonyyy avatar Sep 20 '19 13:09 tttonyyy