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

Option to listen at ipv4 only #150

Open
kyberorg opened this issue Apr 9, 2021 · 0 comments
Open

Option to listen at ipv4 only #150

kyberorg opened this issue Apr 9, 2021 · 0 comments

Comments

@kyberorg
Copy link

kyberorg commented Apr 9, 2021

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants