Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support SFTP on Windows SSH server? #440

Open
TerryChan opened this issue Sep 7, 2022 · 1 comment
Open

Support SFTP on Windows SSH server? #440

TerryChan opened this issue Sep 7, 2022 · 1 comment

Comments

@TerryChan
Copy link

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?

@JKSan
Copy link

JKSan commented Sep 28, 2022

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants