Current Windows versions do not contain any SSH support out of the box.
You could Google for an SSH client component, or you could look at running an instance of PLink (which is designed to be "scripted"). To do the latter you'll need to start PLink via CreateProcess() redirecting its standard I/O streams to anonymous pipes that your program handles. This has been covered here and elsewhere many times.
Using an ActiveX component is more straightforward in VB, but I'm unaware of any free component libraries for this purpose. PLink however is free.
If you find a "shell with pipe" or "shellpipe" component it may save you some time debugging the equivalent code yourself.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.