Skip to content

Commit 58f43ee

Browse files
Merge pull request #246952 from mikewill4/patch-51
[SFTP] Document that local users must have 1 container permission
2 parents 77317fd + 3604d85 commit 58f43ee

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

articles/storage/blobs/secure-file-transfer-protocol-support-how-to.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,6 +154,9 @@ To learn more about the SFTP permissions model, see [SFTP Permissions model](sec
154154
> [!div class="mx-imgBorder"]
155155
> ![Container permissions tab](./media/secure-file-transfer-protocol-support-how-to/container-perm-tab.png)
156156
157+
> [!IMPORTANT]
158+
> The local user must have at least one container permission for the container it is connecting to otherwise the connection attempt will fail.
159+
157160
6. In the **Home directory** edit box, type the name of the container or the directory path (including the container name) that will be the default location associated with this local user.
158161

159162
To learn more about the home directory, see [Home directory](secure-file-transfer-protocol-support.md#home-directory).
@@ -178,7 +181,9 @@ To learn more about the SFTP permissions model, see [SFTP Permissions model](sec
178181

179182
```powershell
180183
$permissionScope = New-AzStorageLocalUserPermissionScope -Permission rw -Service blob -ResourceName mycontainer
181-
```
184+
```
185+
> [!IMPORTANT]
186+
> The local user must have at least one container permission for the container it is connecting to otherwise the connection attempt will fail.
182187
183188
2. Decide which methods of authentication you'd like associate with this local user. You can associate a password and / or an SSH key.
184189

0 commit comments

Comments
 (0)