gliderlabs / gliderlabs/ssh

Option to listen at ipv4 only

Open
#150 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Go
Stars
4.2k
Forks
509
PR merge metrics
No merged PRs in 30d

Description

Currently even if I specify
```go
server := &ssh.Server{
Addr: "0.0.0.0:2222"
}
```
Server will listen at both `ipv4` and `ipv6`. Because line [server.go#L330](https://github.com/gliderlabs/ssh/blob/master/server.go#L330) has protocol `tcp`.

It would be nice to have an option to set `tcp4` instead.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.