diff --git a/client.go b/client.go index 9801ba9..8aab44b 100644 --- a/client.go +++ b/client.go @@ -2,8 +2,8 @@ package obfssh import ( socks "github.com/fangdingjun/socks-go" - "github.com/golang/crypto/ssh" - "github.com/golang/crypto/ssh/terminal" + "golang.org/x/crypto/ssh" + "golang.org/x/crypto/ssh/terminal" "net" "os" "os/signal" diff --git a/obfssh_client/ssh.go b/obfssh_client/ssh.go index d5678ac..cfb6332 100644 --- a/obfssh_client/ssh.go +++ b/obfssh_client/ssh.go @@ -5,8 +5,8 @@ import ( "fmt" "github.com/bgentry/speakeasy" "github.com/fangdingjun/obfssh" - "github.com/golang/crypto/ssh" - "github.com/golang/crypto/ssh/agent" + "golang.org/x/crypto/ssh" + "golang.org/x/crypto/ssh/agent" "io/ioutil" "log" "net" diff --git a/obfssh_server/config.go b/obfssh_server/config.go index e19bbf5..b1b5097 100644 --- a/obfssh_server/config.go +++ b/obfssh_server/config.go @@ -3,7 +3,7 @@ package main import ( "bytes" "github.com/go-yaml/yaml" - "github.com/golang/crypto/ssh" + "golang.org/x/crypto/ssh" "io/ioutil" "log" ) diff --git a/obfssh_server/server.go b/obfssh_server/server.go index e66b5a7..ab6eda3 100644 --- a/obfssh_server/server.go +++ b/obfssh_server/server.go @@ -5,7 +5,7 @@ import ( "flag" "fmt" "github.com/fangdingjun/obfssh" - "github.com/golang/crypto/ssh" + "golang.org/x/crypto/ssh" "io/ioutil" "log" "net" diff --git a/server.go b/server.go index 6d09605..3badc3f 100644 --- a/server.go +++ b/server.go @@ -2,8 +2,8 @@ package obfssh import ( "fmt" - "github.com/golang/crypto/ssh" - "github.com/golang/crypto/ssh/terminal" + "golang.org/x/crypto/ssh" + "golang.org/x/crypto/ssh/terminal" //"log" "net" )