Skip to content

Fixed host parsing to work with ipv6 addresses #9

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

Merged
merged 1 commit into from
Sep 11, 2016
Merged

Fixed host parsing to work with ipv6 addresses #9

merged 1 commit into from
Sep 11, 2016

Conversation

mdelaney
Copy link

can now put [ ] around the ip address, without this ipv6 addresses that
are like 2605:fd00:4:1000:f816:3eff:fe33:4679 would be have '4679' be
interpreted as a port number.

@mfazekas
Copy link
Collaborator

Hi, can you please add a test for this?

@funzoneq
Copy link

The test should be something like:

ssh [2001:DB8::1234]:22 I guess?

can now put [ ] around the ip address, without this ipv6 addresses that
are like 2605:fd00:4:1000:f816:3eff:fe33:4679 would be have '4679' be
interpreted as a port number.
@mdelaney
Copy link
Author

This was so long ago that it completely fell off my radar. I've added a test for using ipv6 with the bracketed notation.

@mfazekas mfazekas merged commit f4c787e into net-ssh:master Sep 11, 2016
@mdelaney mdelaney deleted the fix_ipv6 branch September 11, 2016 05:50
@ghost ghost mentioned this pull request Sep 26, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants