PasswordPrompt Parameter (Connect-SFTP Cmdlet)

The shell prompt used for keyboard-interactive authentication.


Connect-SFTP -PasswordPrompt string


If AuthMode is set to Keyboard-Interactive, the shell's password prompt must be specified in PasswordPrompt. At connection, the cmdlet will wait for the PasswordPrompt and provide the Password when it is received.

Default Value


Copyright (c) 2022 /n software inc. - All rights reserved.
NetCmdlets 2020 - Version 20.0 [Build 8165]