Stanford University School of Earth Science

Software Tips for the A-65 Computer Classroom

Last revision March 23, 2009

 

Disable kerberos keys if trouble connecting with SecureCRT or SecureFX
ArcMap extensions must be activated by each user
3/23/09 - Disable kerberos keys if trouble connecting with SecureCRT or SecureFX
Sometimes, an ssh connection attempt with the SecureCRT program or an sftp connection attempt with the SecureFX program running on Windows will fail to connect with this error message:

Internal credentials cache error (Kerberos error 196)

This error can happen when SecureCRT or SecureFX tries to forward your kerberos credential from your login to Windows to the remote system to authenticate you, and the remote system does not accept kerberos authentication. To work-around this error, you must disable the use of kerberos key exchange to that server, as shown in this note.

SecureCRT and SecureFX are companion programs and work the same way. The screen-shots shown here are from SecureCRT. Use the same method for SecureFX.

Key exchange methods are set on a per-session basis. You must first define a session for your connection before you can disable kerberos key exchange. When you open the SecureCRT (or SecureFX) program, it normally brings up the Connect dialog box, as shown below. If not, select it from the "File" menu.

If you do not have a session defined for your intended destination, click on the third icon from the left, which is the "New Session" button, shown highlighted in the the screenshot above. This brings up a new window where you can define basic session parameters. Fill in the "Hostname" field and make sure the "Save Session" box is checked, as shown in the screenshot below:

Then click on the "Properties" button.

Alternatively, if you have already defined a session for this server, right-click on its name in the "Connect" window and select "Properties" from the contextual menu, as shown below:

Either way (new or old session), you end up in the "Session Options" window, as shown below:

The left side of "Session Options" is a menu of all the options you can configure. Click on "SSH2". This will bring up the SSH2 connection options, as shown in the screenshot above. The "Key exchange" section on the right shows all the possible key exchange methods that SecureCRT or SecureFX will try. By default, they are all checked (enabled). UNcheck (disable) the two options labelled Kerberos and Kerberos w/ Group Exchange. Close the "Session Options" window and continue with your connection.

This new setting will persist for your account on this computer, until such time as the lab computers are rebuilt with a new software image.

12/10/08 - ArcMap extensions must be activated by each user
The ArcMap program contains many "Analyst" extensions that are not active by default. This is because they require a separate license. Stanford has a site-license for all features, so you can use these extensions as well. However, you must activate them. The activation status is stored on a per-user and per-computer basis. Each person using a computer in the lab must activate these extensions on each computer he/she uses.

Open the ArcMap program. Select the Extensions item from the Tools menu. It will open this Extensions window:

As you can see, all extensions are off by default. You can enable individual ones by clicking the checkbox beside each name. Or, you can simply enable them all at once by holding down the CONTROL key while clicking on any one of the checkboxes. That will mark them all, as shown:

Simply close the window. These settings will persist for your account on this computer, until such time as the lab computers are rebuilt with a new software image.

Stanford University    |