How can I provide my password to PowerShell through a shortcut? I already know how to provide my username, which goes into the target field of the shortcut:
%SystemRoot%\system32\WindowsPowerShell\v1.0\powershell.exe ssh remote.host.name
But not how to pass password.
Askify Moderator Edited question May 3, 2023
2 Answers
It’s recommended to use a key pair instead of a password when using ssh.
Askify Moderator Edited answer May 3, 2023