Setting Up SSH Key Agent Forward - 2021.2 English

Vivado Design Suite User Guide: Implementation (UG904)

Document ID
Release Date
2021.2 English

You can configure SSH with the following commands at a Linux terminal or shell.

Note: This is a one-time step. When successfully set-up, this step does not need to be repeated.
  1. Run the following command at a Linux terminal or shell to generate a public key on your primary machine. Though not required, it is a good practice to enter (and remember) a private key phrase when prompted for maximum security.
    ssh-keygen -t rsa
  2. Append the contents of your publish key to an authorized_keys file on the remote machine. Change remote_server to a valid host name:
    cat ~/.ssh/ | ssh remote_server “cat - >> ~/.ssh/ authorized_keys”
  3. Run the following command to prompt for your private key pass phrase, and enable key forwarding:

You should now be able to ssh to any machine without typing a password. The first time you access a new machine, it prompts you for a password. It does not prompt upon subsequent access.

Tip: If you are always prompted for a password, contact your System Administrator.