How to connect to SSH using PowerShell?

PowerShellMicrosoft TechnologiesSoftware & Coding

It is possible to connect the non-windows target machines with the PowerShell using the SSH command in PowerShell. For that, you need to use the below format.

ssh username@servername

The below example shows how we can connect the non-windows target machine.

PS C:\> ssh ansible@192.168.0.104

Output

Once you run this command the first time for any new server the setting will be added to the path .ssh/known_hosts in the user profile.

raja
Published on 02-Sep-2021 11:20:55
Advertisements