Back

Explore Courses Blog Tutorials Interview Questions
0 votes
2 views
in Azure by (13.1k points)

I have an automation script and using that I want to execute bash commands in my linux virtual machine. But, every time I use the command New-SshSession it is throwing an error:

New-SshSession -ComputerName 'ComputerName' -Username 'UserName'

Unable to create SSH client object: Exception calling ".ctor" with "4" argument(s): "Could not load type 'System.Security.Cryptography.HMACRIPEMD160' from assembly 'mscorlib, Version=4.0.0.0, Culture=neutral,

Can anyone help me with this?

1 Answer

0 votes
by (26.7k points)

If you want to use automation on Linux VM then you can use this link to execute the command. You can take it as an example.

I hope this will help.

Want to become an Azure expert? join Azure Training now!! 

Related questions

0 votes
1 answer
0 votes
1 answer
asked Dec 23, 2020 in Azure by dante07 (13.1k points)
0 votes
1 answer
0 votes
1 answer
asked Nov 30, 2020 in Linux by dev_sk2311 (45k points)

Browse Categories

...