Skip to content

Instantly share code, notes, and snippets.

@cygnetix
cygnetix / go_scp.go
Created October 7, 2015 05:34 — forked from jedy/go_scp.go
an example of scp in golang
// https://blogs.oracle.com/janp/entry/how_the_scp_protocol_works
package main
import (
"fmt"
"golang.org/x/crypto/ssh"
)
const privateKey = `content of id_rsa`