Registry / networking / tmc-scp

tmc-scp

JSON →
library0.0.0-20170824174625-f7b48647feefgogounverified

Simple interface for copying files over an SSH session using the SCP protocol.

go get github.com/tmc/scp
INSTALL
IMPORT
SIG · TMC-SCP
T
tmc-scp
networkinggov0.0.0-20170824174625-f7b48647feef
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

scp
github.com/tmc/scp

Copy a file over SSH using SCP.

package main import ( "fmt" "github.com/tmc/scp" "golang.org/x/crypto/ssh" ) func main() { // Assume an SSH client connection client := &ssh.Client{} err := scp.CopyPath("/local/file.txt", "/remote/file.txt", client) fmt.Println(err) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.0.0-20170824174625-f7b48647feeflatest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
17 hits · last 30 days
node
14
Meta
2
OpenAI (training)
1
Resources
tmc-scp — go get tmc-scp · libregistry