[Bug 694033] New: ssh config interface change breaks backwards compatibility
https://bugzilla.novell.com/show_bug.cgi?id=694033 https://bugzilla.novell.com/show_bug.cgi?id=694033#c0 Summary: ssh config interface change breaks backwards compatibility Classification: openSUSE Product: openSUSE 11.4 Version: Final Platform: x86-64 OS/Version: Linux Status: NEW Severity: Critical Priority: P5 - None Component: Basesystem AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: ohering@novell.com QAContact: qa@suse.de Found By: Outsourced Testing Blocker: --- I use IPv6 link-local addresses to ssh to other hosts on my LAN. An entry in ~/.ssh/config looks like that and works fine up to 11.3: # FSC Esprimo Mobile M9400 # 00:0a:95:e8:7c:fc host esprimo-en0 hostname = fe80::2a0:d1ff:fec8:8ecb%eth0 user = olaf # 00:11:24:2a:c5:fb host esprimo-en1 hostname = fe80::222:5fff:fe68:ee6d%en1 user = olaf In 11.4 the %e is rejected as unknown. Looking through man ssh_config in sles11sp1 and 11.4 I noticed a difference in the Hostname section. Now appearently '%h' is parsed as a new feature. Please add code to restore the old behaviour since a hostname in an IPv6 link-local address does not make sense. I can workaround it by add double percent %%, but then the config is not understood by previous ssh versions. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=694033
https://bugzilla.novell.com/show_bug.cgi?id=694033#c2
--- Comment #2 from Petr Cerny
https://bugzilla.novell.com/show_bug.cgi?id=694033
https://bugzilla.novell.com/show_bug.cgi?id=694033#c3
--- Comment #3 from Olaf Hering
https://bugzilla.novell.com/show_bug.cgi?id=694033
https://bugzilla.novell.com/show_bug.cgi?id=694033#c4
Petr Cerny
Is that backwards compatible at all? I havent looked at the source, but shouldnt ssh just look for %h and leave anything else alone?
It might be I didn't correctly understand your request - the patch mimicks the previous behaviour for the HostName option only. All other substitutions (ControlPath etc.) are not changed. Unless you have a tricky setup, you should be able to log in with '-h' and the config file above, from a 11.4 box while older versions won't crash on an unknown option. Neither do I want to change the default behaviour to one from a year old version, nor to include any additional patches that are not accepted upstreams. We can discuss what exactly the newly introduced option does (and update the patch accordingly), though. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=694033
https://bugzilla.novell.com/show_bug.cgi?id=694033#c5
--- Comment #5 from Olaf Hering
participants (1)
-
bugzilla_noreply@novell.com