You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: support/windows-server/system-management-components/troubleshoot-sftp-issues-using-openssh.md
+3-6Lines changed: 3 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,4 +1,3 @@
1
-
2
1
---
3
2
title: How to Enable OpenSSH Verbose Logging
4
3
description: Explains how to resolve common SFTP issues when using OpenSSH for Windows.
@@ -18,7 +17,7 @@ appliesto:
18
17
19
18
OpenSSH on Windows provides secure file transfer (SFTP) capabilities. This article describes how to resolve the most common issues that you might encounter while using SFTP and OpenSSH to administer Windows Server and Windows Client.
20
19
21
-
## Best Practices and Additional Resources
20
+
## Best practices and additional resources
22
21
23
22
- Use the latest supported OpenSSH version.
24
23
- Avoid configuring OpenSSH to use a network share for the chroot directory.
@@ -81,7 +80,7 @@ Check the following settings:
81
80
> [!NOTE]
82
81
> To verify and fix NTFS permissions, use [icacls](/windows-server/administration/windows-commands/icacls) command at an administrative Command Prompt window.
83
82
84
-
- In the sshd_config file, use`ForceCommand internal-sftp`, and use the -d switch with the `Subsystem sftp sftp-server.exe` command to set an upload directory. You can use these settings in `Match` blocks to specify users.
83
+
- In the sshd_config file, use`ForceCommand internal-sftp`, and use the `-d` switch with the `Subsystem sftp sftp-server.exe` command to set an upload directory. You can use these settings in `Match` blocks to specify users.
85
84
86
85
### Particular users can't use SFTP or receive "Access denied" errors
87
86
@@ -93,7 +92,7 @@ This behavior indicates ownership or permissions issues. Check the following set
93
92
> [!NOTE]
94
93
> To verify and fix NTFS permissions, use [icacls](/windows-server/administration/windows-commands/icacls) command at an administrative Command Prompt window.
95
94
96
-
### Users can't sign in or receive "Authentication failed", or "Server refused our key" errors
95
+
### Users can't sign in or receive "Authentication failed," or "Server refused our key" errors
97
96
98
97
This behavior indicates public key or password issues. Check the following configurations:
99
98
@@ -110,8 +109,6 @@ This behavior indicates public key or password issues. Check the following confi
110
109
111
110
### OpenSSH Server service doesn't start, or SFTP connections hang
112
111
113
-
SFTP server fails to start after configuration changes or Windows Updates - A. Service and Connection Failures - Scenario 3: SFTP Connections Hang - Scenario 4: SFTP Fails After Windows Update - SFTP connections hang or timeout
114
-
115
112
To resolve these issues, try the following actions:
116
113
117
114
- To validate the sshd_config settings, run the `sshd -t` command.
0 commit comments