188.8.131.52. Configuring ssh-agent with GNOME
ssh-agentutility can be used to save your passphrase so that you do not have to enter it each time you initiate an
scpconnection. If you are using GNOME, the
openssh-askpass-gnomepackage contains the application used to prompt you for your passphrase when you log in to GNOME and save it until you log out of GNOME. You will not have to enter your password or passphrase for any
scpconnection made during that GNOME session. If you are not using GNOME, refer to Section 184.108.40.206, “Configuring
To save your passphrase during your GNOME session, follow the following steps:
- You will need to have the package
openssh-askpass-gnomeinstalled; you can use the command
rpm -q openssh-askpass-gnometo determine if it is installed or not. If it is not installed, install it from your Red Hat Enterprise Linux CD-ROM set, from a Red Hat FTP mirror site, or using Red Hat Network.
- Select Main Menu Button (on the Panel) => Preferences => More Preferences => Sessions, and click on the Startup Programs tab. Click Add and enter
/usr/bin/ssh-addin the Startup Command text area. Set it a priority to a number higher than any existing commands to ensure that it is executed last. A good priority number for
ssh-addis 70 or higher. The higher the priority number, the lower the priority. If you have other programs listed, this one should have the lowest priority. Click Close to exit the program.
- Log out and then log back into GNOME; in other words, restart X. After GNOME is started, a dialog box will appear prompting you for your passphrase(s). Enter the passphrase requested. If you have both DSA and RSA key pairs configured, you will be prompted for both. From this point on, you should not be prompted for a password by