node-ssh icon indicating copy to clipboard operation
node-ssh copied to clipboard

Support SFTP on Windows SSH server?

Open TerryChan opened this issue 3 years ago • 1 comments

when I use node-ssh to connect to a Windows ssh server, and perform SFTP operations, it failed to reqeust SFTP with errors below: image Looks like the Windows dowsn't support SFTP protocol. But I checked the sshd_config on the windows server, it has sftp-server subsystem: image I can perform SFTP operations on a Linux ssh server successfully. And I can execute command on the windows ssh server. Does anyone know why it failed? And how to performa sftp on a windows ssh server?

TerryChan avatar Sep 07 '22 10:09 TerryChan

image The path of the file is incorrect, try setting to absolute path.

JKSan avatar Sep 28 '22 08:09 JKSan