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

No such host when trying to connect #207

Closed
lnfel opened this issue Jul 29, 2023 · 2 comments · Fixed by #208
Closed

No such host when trying to connect #207

lnfel opened this issue Jul 29, 2023 · 2 comments · Fixed by #208

Comments

@lnfel
Copy link

lnfel commented Jul 29, 2023

Using MacOS (intel) and just trying out wishlist for the first time (locally). Downloaded the binary from release page.

Started wishlist on installation directory:

./wishlist

Showed all my available ssh connections, one of them being:

deploy-dev
ssh://deploy-dev:22

Tried connecting to it by providing the password, but errors out with:

Something went wrong:
lookup deploy-dev: no such host

My .ssh/config is this:

Host deploy-dev
Hostname ec2-gotta-guess-it.compute.amazonaws.com
User someone
ForwardX11 yes
IdentityFile ~/path/to/id_rsa
ServerAliveInterval 50

I think it should connect using the Hostname no?

@caarlos0
Copy link
Member

yes, sounds like a bug, investigating...

caarlos0 added a commit that referenced this issue Jul 31, 2023
caarlos0 added a commit that referenced this issue Jul 31, 2023
* fix: sshconfig parse: lowercase keys

fixes #207

* Revert "build: group dependency updates"

This reverts commit 72bf13d.
@caarlos0
Copy link
Member

found it, btw, its trying to match specifically HostName (and not Hostname). Its fixed in main, but if you don't want to compile from source in the meantime, you can change your config to HostName (Name capitalized)

Thanks for reporting this 😄

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 a pull request may close this issue.

2 participants