scrapli / scrapligo

scrapli, but in go!
MIT License
258 stars 42 forks source link

unsupported error on open driver #158

Closed arphillips06 closed 1 year ago

arphillips06 commented 1 year ago

Hi,

I'm trying to learn automation in go, I'm a relatively newbie at programming so might be missing something obvious.

I'm trying to run the "generic_driver" example against a vMX device I have in GNS3. The device is reachable from my Windows PC, I'm using go version 1.21 and VScode as my IDE.

When I run the example (after updating the hostname) all I get is;

failed to open driver; error: unsupported

I'm not sure if I've not installed something I needed to? The code compiles and runs ok so I thought I'd installed everything I needed to but it might not be the case.

Thanks

carlmontanari commented 1 year ago

Use standard transport type here or don’t use windows. Scrapli wraps /bin/ssh with the default transport.

Please use discussions or ask on discord for non bug/feature related things.