Skip to content

Instantly share code, notes, and snippets.

View AnirudhVyas's full-sized avatar
🏠
Working from home

Anirudh Vyas AnirudhVyas

🏠
Working from home
  • Goldilocks Fashion LLC
  • San Ramon,CA
View GitHub Profile
@benmcginnis
benmcginnis / sftp_example.go
Created January 11, 2016 16:17
Golang: Connect to SFTP Server via Keyboard Interactive Password
// much help received from https://github.com/mindreframer/golang-stuff/blame/master/github.com/mitchellh/packer/communicator/ssh/password.go
package main
import (
"fmt"
"github.com/pkg/sftp"
"golang.org/x/crypto/ssh"
)
@jniltinho
jniltinho / myip.go
Created March 26, 2014 16:55
Get My IP Golang
package main
/*
URL: https://github.com/mccoyst/myip/blob/master/myip.go
URL: http://changsijay.com/2013/07/28/golang-get-ip-address/
*/
import (
"net"
"os"