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

Support ssh_config Hostname #5

Open
wollerman opened this issue Jul 5, 2019 · 0 comments
Open

Support ssh_config Hostname #5

wollerman opened this issue Jul 5, 2019 · 0 comments

Comments

@wollerman
Copy link

First, thanks for creating this! You've saved us some time working through the ProxyCommand and ec2connect dance.

So far I've been able to successfully ssh ec2-user@<instance-id>. I typically like to add an entry to ssh_config so that I can ssh mynode. If I drop the instance-id into the Hostname field, however, it throws the following error:

ssh: Could not resolve hostname <instance-id>: nodename nor servname provided, or not known

I've also tried the public DNS. And If I use the IPv4 Public IP I get:

ec2-user@<public-ip>: Permission denied (publickey,gssapi-keyex,gssapi-with-mic).

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

No branches or pull requests

1 participant