Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 111694 - SSH client binary selection mechanism
Summary: SSH client binary selection mechanism
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-11-06 07:22 UTC by kalium
Modified: 2006-09-15 22:31 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
openssh-4.2_p1-r1.ebuild sshchooser use flag (openssh-4.2_p1-r1.ebuild,5.40 KB, text/plain)
2005-11-06 07:23 UTC, kalium
Details
ssh-chooser.conf example (ssh-chooser.conf,53 bytes, text/plain)
2005-11-06 07:23 UTC, kalium
Details
ssh-chooser.sh (ssh-chooser.sh,1.43 KB, text/plain)
2005-11-06 07:23 UTC, kalium
Details

Note You need to log in before you can comment on or make changes to this bug.
Description kalium 2005-11-06 07:22:04 UTC
For some hosts one sometimes needs outdated or patched ssh binaries (special
kerberos implementations and such stuff like at FNAL). This solves that problem:
when emerging openssh using the "sshchooser" use flag, the /usr/bin/ssh file
will be script that decides depending on /etc/ssh-chooser.conf which ssh binary
to call -- depending on the remote site name.

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 kalium 2005-11-06 07:23:09 UTC
Created attachment 72307 [details]
openssh-4.2_p1-r1.ebuild sshchooser use flag
Comment 2 kalium 2005-11-06 07:23:37 UTC
Created attachment 72308 [details]
ssh-chooser.conf example
Comment 3 kalium 2005-11-06 07:23:57 UTC
Created attachment 72309 [details]
ssh-chooser.sh
Comment 5 SpanKY gentoo-dev 2005-11-06 17:49:35 UTC
Comment on attachment 72307 [details]
openssh-4.2_p1-r1.ebuild sshchooser use flag

post a *diff* not the full ebuild

is this 'sshchooser' something you wrote ?
Comment 6 kalium 2006-09-15 17:07:46 UTC
> is this 'sshchooser' something you wrote ?

Yes. It is a simple script replacing /usr/bin/ssh (and installed by the openssh ebuild). It uses the contents of /etc/sshchooser.conf to decide which ssh binary to use to connect to a specific host.

There is also openssh-krb5 at https://stier.dynu.com/~myportage/net-misc/. The default sshchooser.conf is set up to use that ssh binary to connect to hosts ending with .fnal.gov. It is installed in /opt/ssh-krb5. I don't know the reason why only that old debian-patched openssh release works with Fermilab Kerberos, but that's how it is. I have used it for over a year in combination with mit-krb5.

Additional note: even sftp in konqueror works like a charm to connect to Fermilab machines using a Kerberos ticket.

Second note: the most recent openssh ebuild on my server also includes a "padlock" use flag: it enables patches to activate support for VIA's PadLock AES hardware acceleration.
Comment 7 SpanKY gentoo-dev 2006-09-15 22:31:01 UTC
dont really want to modify openssh in this way, sorry