Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

How to ssh from powershell? Basically from my host-os windows7 to my guest-os linux.

share|improve this question

There is putty utility called PLINK Usage:

$out = .\plink.exe -ssh $($hostIP) -l $($attribute_user) -pw $($attribute_password) -batch super cat /etc/opt/somefile_or_any_other_command

You have to sotre SSL certificate of remote server before first connection. This can be done by:

echo Y | .\plink.exe -ssh $($hostIP) -l $($attribute_user) -pw $($attribute_password) exit
share|improve this answer

Install an SSH client and start it?

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.