If you do not see the key printed when you run this command, something is wrong and you will not be prompted for your PIN if you ssh further into the environment. Once logged in, run ‘ssh-add –l’ to ensure that the forwarding agent is working.Enter your PIN, click OK and you should be logged in.When prompted, enter your remote Unix/Linux account name, and you should be prompted for your PIV PIN.Load one of your saved sessions that you previously configured for PIV logon.Right click the Pageant icon and choose “New Session”. Open Pageant (if not already running) and make sure your CAPI key is populated, close the Pageant window.In Saved Sessions, click Save to save your configuration.The configuration file should contain “Host *” and “ForwardAgent yes” and exist in the same folder where they place the SSH key. Copy and paste the SSH keystring value from PuTTY into Notepad as you will need to include the SSH key when you contact the jumpbox support team or create a service ticket.This will automatically fill in the “Cert” and “SSH keystring” fields. To get your PIV card’s SSH key, in PuTTY, go to Connection > SSH > CAPI and select the browse button on the right side.This profile is now configured for PIV logon. From within PuTTY, select Connection > SSH > Auth then select both “Allow agent forwarding” and “Allow attempted changes of username in SSH-2.”.On left panel, select Connection > SSH > CAPI thencheck the box beside the words Attempt “CAPI Certificate” (Key-only) auth (SSH-2).Enter a descriptive name under Saved Sessions textbox (if setting up a new profile).Note: If you have multiple destination profiles, you will have to do the following steps for each profile From within PuTTY, enter the destination IP address or hostname in the Host Name (or IP address) textbox to setup a new profile, or if you already have profiles set up in PuTTY, load that profile.Right-click the Pageant icon again from the menu bar and select New Session.Warning: You must re-add your certificate every time pageant is started. The Pageant Window will now display the certificate information.Highlight the correct Smart Card certificate and click OK. Note: If multiple certificates exist, you may want to clear out the expired or revoked certificates by following How To – FIXME: PIV Card – Clear certificate store. If you do not see this field, select a different certificate. It should begin with “Smart Card Logon ” this indicates it is the correct certificate. Make sure you choose the correct certificate! Select “Click here to view certificate properties,” click “Details,” scroll half-way, and locate Enhanced Key Usage.Select your Smart Card Logon certificate from the Windows Security window.The Pageant Key List window will appear.Right-click the icon and select View Keys. A window will not open, but the Pageant icon will appear on the menu bar.Open Pageant by clicking the executable.Open Windows Explorer or click Start > Computer.You must now insert the CAPI Key and configure PuTTY-CAC.Pageant will appear in the taskbar on the bottom right of your desktop it will not open a window. Launch pageant from the PuTTY install directory, (eg, C:\Program Files\Putty-CAC).Verify the version of PuTTY that was installed by opening the application and clicking About in the lower left corner.This will enable the Putty-CAC applications to be available from the Start Menu.Īt a minimum, you must install the following packages: Build an installation package to install the executables in the location you choose.Place the executable files in a directory that you have execute rights over.There is no installer available for the binaries, so you must either:.If you do not have access to forge.mil, you can also download it at. If you have a forge.mil account, download the latest Putty-CAC package from forge.mil.Note that Van Dyke Secure CRT, a commercial product, also supports PIV SSH login for multiple platforms, including Windows and Mac. Putty-CAC, a fork of the Open Source Putty SSH client, resolves this issue. Most Unix-like systems are configured to use the SSH protocol for remote access, but most SSH client applications do not support PIV as required by Federal policy.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |