ssh icon indicating copy to clipboard operation
ssh copied to clipboard

Option to listen at ipv4 only

Open kyberorg opened this issue 4 years ago • 0 comments

Currently even if I specify

server := &ssh.Server{
		Addr:        "0.0.0.0:2222"
	}

Server will listen at both ipv4 and ipv6. Because line server.go#L330 has protocol tcp.

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

kyberorg avatar Apr 09 '21 11:04 kyberorg