Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

proposal: x/crypto/ssh: export a method Disconnect in Conn interface #37913

Open
wutz opened this issue Mar 18, 2020 · 1 comment
Open

proposal: x/crypto/ssh: export a method Disconnect in Conn interface #37913

wutz opened this issue Mar 18, 2020 · 1 comment
Labels
Proposal Proposal-Crypto Proposal related to crypto packages or other security issues
Milestone

Comments

@wutz
Copy link

wutz commented Mar 18, 2020

What version of Go are you using (go version)?

$ go version
go version go1.14 linux/amd64

Does this issue reproduce with the latest release?

Yes

What operating system and processor architecture are you using (go env)?

go env Output
$ go env
GO111MODULE="on"
GOARCH="amd64"
GOBIN=""
GOCACHE="/home/wutz/.cache/go-build"
GOENV="/home/wutz/.config/go/env"
GOEXE=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GOINSECURE=""
GONOPROXY="git.paratera.net"
GONOSUMDB="git.paratera.net"
GOOS="linux"
GOPATH="/home/wutz/.go/path"
GOPRIVATE="git.paratera.net"
GOPROXY="https://goproxy.cn,direct"
GOROOT="/home/wutz/.go/root"
GOSUMDB="sum.golang.org"
GOTMPDIR=""
GOTOOLDIR="/home/wutz/.go/root/pkg/tool/linux_amd64"
GCCGO="gccgo"
AR="ar"
CC="gcc"
CXX="g++"
CGO_ENABLED="1"
GOMOD="/home/wutz/go/ssh/go.mod"
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -m64 -pthread -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build427084596=/tmp/go-build -gno-record-gcc-switches"

Proposal: Feature Request

https://github.com/golang/crypto/blob/1b76d66859c6111b3d5c3ea6600ea44dc188bf12/ssh/connection.go#L72-L75

Want to export a method Disconnect

@gopherbot gopherbot added this to the Proposal milestone Mar 18, 2020
@ianlancetaylor ianlancetaylor added this to Incoming in Proposals (old) Jan 6, 2021
@ianlancetaylor ianlancetaylor added the Proposal-Crypto Proposal related to crypto packages or other security issues label Jan 6, 2021
@nwtgck
Copy link

nwtgck commented Jun 10, 2023

I would like to use .Disconnect() too for an SSH client implementation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Proposal Proposal-Crypto Proposal related to crypto packages or other security issues
Projects
Status: Incoming
Development

No branches or pull requests

4 participants