packagemainimport("fmt""github.com/appleboy/easyssh-proxy")funcmain() {// Create MakeConfig instance with remote username, server address and path to private key.ssh:=&easyssh.MakeConfig{User:"appleboy",Server:"example.com",Password:"123qwe",Port:"22", }// Call Scp method with file you...
Breadcrumbs easyssh-proxy / easyssh.goTop File metadata and controls Code Blame 438 lines (382 loc) · 11.6 KB Raw // Package easyssh provides a simple implementation of some SSH protocol // features in Go. You can simply run a command on a remote server or get a file // even simpler...
easyssh-proxy provides a simple implementation of some SSH protocol features in Go - Lint and Testing · Workflow runs · appleboy/easyssh-proxy
replace github.com/appleboy/easyssh-proxy v1.5.0 => ../../12 changes: 6 additions & 6 deletions 12 _example/ssh/go.sum Original file line numberDiff line numberDiff line change @@ -13,16 +13,16 @@ github.com/stretchr/testify v1.8.4 h1:CcVxjf3Q8PM0mHUKJCdn+eZZtm5yQwehR5yeSV...