Skip to content

Conversation

@abguy
Copy link

@abguy abguy commented Apr 24, 2015

Sometimes hostnames are not resolved.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why would you not want the option to connect to both?

@FliesLikeABrick
Copy link
Contributor

If this change is to be adopted, I think it should be accompanied by a command line option which enables "ssh by IP address". Because:

  • With EC2 supporting IPv4 and IPv6 now, forcing IPv4 would be a bad practice and a regression from the more-expected behavior of SSHing by name
  • This may change behavior for organizations that have instance names configured a certain way, an option would prevent a change to default behavior

The option would probably allow for selection between "SSH by" name, IPv4 address, IPv6 address.

@abguy
Copy link
Author

abguy commented Nov 16, 2017

I think that SSH by instance name is a bad idea. AWS allows to reconfigure internal VPC DNS through Route53. It is better to use IP addresses.

PS.
Too many things were changed since 2015. Let's just close this PR.

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