Connect to SSH Using PowerShell



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 [email protected]

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.

Updated on: 2021-09-02T11:21:19+05:30

7K+ Views

Kickstart Your Career

Get certified by completing the course

Get Started
Advertisements