Skip to content

Commit 98899a2

Browse files
Carlo JavierGitHub Enterprise
authored andcommitted
Merge pull request #6566 from ens60013/Bugfix
fix command in sftp
2 parents db6d102 + 06db0d3 commit 98899a2

File tree

1 file changed

+1
-1
lines changed
  • help/sources/connectors/cloud-storage

1 file changed

+1
-1
lines changed

help/sources/connectors/cloud-storage/sftp.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ The key's randomart image is:
8787
Next, run the following command while providing the file path of the private key, to encode your private key in [!DNL Base64]:
8888
8989
```shell
90-
C:\Users\lucy> [convert]::ToBase64String((Get-Content -path "C:\Users\lucy\.ssh\id_rsa" -Encoding byte)) > C:\Users\lucy\.ssh\id_rsa_base64
90+
C:\Users\lucy> [convert]::ToBase64String((Get-Content "C:\Users\lucy\.ssh\id_rsa" -AsByteStream)) > "C:\Users\lucy\.ssh\id_rsa_base64"
9191
```
9292
9393
The above command saves the [!DNL Base64]-encoded private key in the file path you designated. You can then use that private key to authenticate to [!DNL SFTP] and connect to Experience Platform.

0 commit comments

Comments
 (0)