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 for CanonicalDomains #99

Open
balrawat opened this issue Jan 20, 2016 · 4 comments
Open

Support for CanonicalDomains #99

balrawat opened this issue Jan 20, 2016 · 4 comments

Comments

@balrawat
Copy link

I've set CanonicalDomains in the config but its not searching for them.
if I comment out the proxy command line, then it works fine.
Am I doing something wrong.

@moul moul self-assigned this Jan 20, 2016
@moul moul added the Bug label Jan 20, 2016
@moul
Copy link
Owner

moul commented Jan 20, 2016

Hi @balrawat, thank you for reporting

Can you give me an (anonymised) example of configuration file ?

I will give a try and come back to you

@balrawat
Copy link
Author

here is a snippet my ssh config file:

Host *
    User root
    CanonicalDomains balvinder.in public.balvinder.in local.balvinder.in private.balvinder.in storage.balvinder.in net.balvinder.in
    CanonicalizeHostname yes
    CanonicalizeMaxDots 0
    SendEnv MYOWNID
    StrictHostKeyChecking no
    ConnectTimeout 7
    ControlMaster auto
    ControlPath ~/.ssh/cm_socket/%r@%h:%p
    ControlPersist yes

I would like this to work with the proxycommand setup you make.

@balrawat
Copy link
Author

the issue the when I use your setup i.e. proxycommand, it doesn't search for canonical domains I've set and returns "Couldn't resolve hostname". While it works without using proxycommand

@moul
Copy link
Owner

moul commented Feb 1, 2016

Ok, I got it!

I though you were talking about DNS Canonical names (a.k.a CNAME), I wasn't aware of this SSH feature yet, so I need to give a deeper look.
Stay tuned, I will update the issue as soon as I have a testable version

Thanks again

@moul moul added this to the Proposal milestone Mar 21, 2016
@moul moul added the freeze label Dec 6, 2016
@moul moul removed their assignment Sep 18, 2017
@moul moul removed freeze labels Nov 25, 2018
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