search for: canonicaldomain

Displaying 12 results from an estimated 12 matches for "canonicaldomain".

Did you mean: canonicaldomains
2014 Jan 19
1
For the default of CanonicalizeFallbackLocal
...tempt to look up the unqualified hostname using the system resolver?s search rules. A value of ?yes? will cause ssh(1) to fail instantly if CanonicalizeHostname is enabled and the target hostname cannot be found in any of the domains specified by CanonicalDomains. but, I think in the "yes". In the source code... 1476 initialize_options(Options * options) 1477 { 1561 options->canonicalize_fallback_local = -1; 1563 } 1571 fill_default_options(Options * options) 1572 { 1720 if (options->canonicalize_fallback_local == -1) 1721 option...
2014 Dec 22
2
Dealing with roaming machines
...uld be golden. No, because the problem is that the short name always resolves to the IP the machine would have in the local network, and hence this is the IP that OpenSSH tries. However, if the machine is not in the local network, then I'd like OpenSSH to ask for the same hostname in the next CanonicalDomain and try it there. Does this make sense? -- @martinkrafft | http://madduck.net/ | http://two.sentenc.es/ "politicians and diapers should be changed often, and for the same reason." -- mark twain spamtraps: madduck.bogus at maddu...
2020 May 20
7
CanonicalHostname and ssh connections through a jumphost
raf wrote: > Warlich, Christof wrote: > > ... > > I want to be able to ssh to all internal hosts that live in the internal.sub.domain.net, > > i.e. that are only accessible through the internal.sub.domain.net jumphost without > > having to list each of these hosts somewhere, as they may frequently be added or > > removed from the internal domain and without being
2013 Oct 07
4
Feature request: FQDN Host match
Hello! I'm hoping that Gmail won't HTML format this mail so that I'll get flamed :) Anyway, my question relates to ssh_config. The problem I find is that the Host pattern is only applied to the argument given on the command line, as outlined in the man page: "The host is the hostname argument given on the command line (i.e. the name is not converted to a canonicalized host name
2015 Sep 10
0
[Bug 2462] New: Option to try connectiing to multiple DNS names
...@\1,p' | sort -t@ -k2n | sed -ne 's, .*,,p' | tr '\n' ','); nc -vq0 \${TARGETS%%%%,*} %p" which essentially pings all DNS names and uses the respond times to pick the best target. I wish OpenSSH's client just let me do this implicitly. I am not talking about CanonicalDomains ? this would only try various names until one resolved in DNS, whereas in my case, all names always resolve ? but about an option e.g. Host machine TryConnect %h.example.org %h.example.com and it would then try to connect to both these names in parallel and once a connect is successful, it wou...
2023 Apr 01
1
[Bug 3555] New: ForwardAgent doesn't work under Match canonical
...gomez404 at gmail.com When using CanonicalizeHostname, the ForwardAgent directive doesn't seem to work under Match canonical. e.g. ----- Host bastion ProxyJump none Match canonical ProxyJump bastion ForwardAgent yes Host * ForwardAgent no CanonicalizeHostname always CanonicalDomains mydomain.co.uk CanonicalizeMaxDots 0 CanonicalizeFallbackLocal yes ---- When I connect to foo.mydomain.co.uk through the jumphost bastion.mydomain.co.uk, ssh-agent is not forwarded. If I change the ForwardAgent directive under Host * to 'yes', then it does get forwarded. Therefor...
2014 Mar 27
1
[Bug 2218] New: ProxyCommand as both a resolver and connector
...mand may need to duplicate the functionality of a custom resolver as to geta fully qualified form the resolver may need to figure out what use to connect to that host. As a custom resolver may reintroduce the rogue DHCP server problem discussed in [1], I suppose the returned name should present on CanonicalDomains list. [1] - http://blog.djm.net.au/2014/01/hostname-canonicalisation-in-openssh.html The name returned by the custom resolver must be a subject to the same rules that hostname canonicalization uses. Otherwise one can trivially reintroduce a problem of that the the that the resolver has to be wr...
2014 Oct 06
3
[Bug 2286] New: Port ignored when re-reading config after canonicalization
...Assignee: unassigned-bugs at mindrot.org Reporter: pcl at pclewis.com Created attachment 2482 --> https://bugzilla.mindrot.org/attachment.cgi?id=2482&action=edit Patch to make ssh_connect_direct use port parameter. To reproduce: -- # ~/.ssh/config CanonicalizeHostname yes CanonicalDomains mynet.local Host *.mynet.local Port 99 -- $ ssh -vvv somedomain ... debug1: Canonicalized hostname "somedomain" => "somedomain.mynet.local" debug1: Hostname has changed; re-reading configuration debug1: Reading configuration data /home/user/.ssh/config debug1: /home/user/.s...
2015 Feb 21
3
[Bug 2356] New: inheritance of options not working as documented + HostName leads to recursive reparsing isn't documented
https://bugzilla.mindrot.org/show_bug.cgi?id=2356 Bug ID: 2356 Summary: inheritance of options not working as documented + HostName leads to recursive reparsing isn't documented Product: Portable OpenSSH Version: 6.7p1 Hardware: All OS: All Status: NEW Severity: normal
2023 Aug 18
2
Host key verification (known_hosts) with ProxyJump/ProxyCommand
On 18.08.23 07:39, Darren Tucker wrote: > On Fri, 18 Aug 2023 at 15:25, Stuart Longland VK4MSL <me at vk4msl.com> wrote: > [...] >> The crux of this is that we cannot assume the local IPv4 address is >> unique, since it's not (and in many cases, not even static). > > If the IP address is not significant, you can tell ssh to not record > them ("CheckHostIP
2023 Jan 20
17
[Bug 3526] New: Config option AddressFamily has no effect?
https://bugzilla.mindrot.org/show_bug.cgi?id=3526 Bug ID: 3526 Summary: Config option AddressFamily has no effect? Product: Portable OpenSSH Version: 9.0p1 Hardware: amd64 OS: Mac OS X Status: NEW Severity: trivial Priority: P5 Component: ssh Assignee: unassigned-bugs at
2014 Dec 22
9
Dealing with roaming machines
Hey folks, As most of everyone, I use OpenSSH for almost everything and whenever I can: backups, sync, Git, configuration management, and of course console sessions. So much for an intro ;) My laptop and I roam between three networks, though sometimes I leave the laptop at the office overnight, or hop over to the third site for an hour or two. I'd like to find a way to configure OpenSSH (or