[Home]MySecurID-page

HauptseiteVerlaufPreferences

BlowFish and Token How 2 integrate openSSH with RSA-SecurID


Credits
The infamous openSSH-Patch:
http://www.omniti.com/~jesus/projects/
Theo Schlossnagle


This side describes how to integrate RSA-SecurID-authentication to openSSH, using the Patch from Theo Schlossnagle. There are basically two ways for integrating openSSH with SecurID-Authentication:
To patch and compile openSSH with the Theo's patch you can either install the appropriate openSSH-sources from your Linux distribution CD or get a source-rpm for your system at http://www.rpmfind.net. !I would uninstall every previous (open)ssh sources or binaries at this point to avoid any further confusion!

Although it is very tantalizing and seems reasonable to use the headers and libs from the /ACEAgentSDK/inc/ and /mnt/cdrom/ACEAgentSDK/lib/lnx/ directory of the RSA ACE Server CD I would NOT recommend doing this. Please use the files from the /examples directory as described above.

After installation there are several new options for the sshd_config-file available: NegateSecurIDUsers, SecurIDFallBack, SecurIDAuthentication, SecurIDIgnoreShell, SecurIDUsersFile, AllowNonSecurID. There are numerous configurations possible. You even can mix different users (NIS, SecurID, Unix). Basically it works that way:
Using the SecurIDUsersFile option you specify a file with users (one per line) who are required to login via SecurID. Create that file and add users. These users MUST exist in /etc/passwd or NIS, but MUST NOT have the clumsy sdshell as their loginshell. From now on the specified users will need to authenticate with their SecurID Token at the time they log on.


Login from a Windows Tera Term client (with ssh-extension ttssh).

I personally like to be able to mix SecurID users and normal system users. This is done with the AllowNonSecurID option. Simply copy this somewhere into your sshd_config file

SecurIDAuthenticationyes
SecurIDUsersFile/usr/local/etc/securid_users
AllowNonSecurIDyes

PrObLeMs which can occur: The ACE-Server might request the next PASSCODE or next TOKENCODE when a wrong Passcode was entered more than five times. The next Tokencode is not supported yet which is mainly due to the ssh- client, not to the patch. If you are using a Unix ssh-client you can see that when using the -v option (ssh -v user@some.host) on the client side.

I have placed two prepatched and compiled openSSH versions for SuSE Linux 8.1 on my anonymous ftp-server (ftp://joerg.cc/pub). To use those you simply need to do a make install. However, the chances that they fit exactly your system or any other system are not to high, since i.e. the openssl version needs to be the same as the version the sshd was compiled against.

? Why isn't there a precompiled (open)SSH binary or packet, why do I need to do all this ?
It is because of a little something called proprietary software license. No part of the RSA (Client)Software comes with the GNU or Berkely license. Binaries and packages would have sdiclient.a from the /var/ace/examples directory linked in, so it is not quite legal adding them to "commercial" distributions although you only can use it together with an RSA ACE-Server you previously bought from RSA.
 
FeedBack

If you have any questions I would like to hear from you:
<fritsch@joerg.cc>,
or just click here and commentMySecurID-page !
HauptseiteVerlaufPreferences
This page is read-onlyAndere Versionen ansehen
Last edited August 7, 2003 3:01 pm CST (diff)
Search: