This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revisionLast revisionBoth sides next revision |
software:vscode:caviness [2024-04-25 14:03] – anita | software:vscode:caviness [2024-04-25 19:14] – [Using SSH keys] anita |
---|
| |
==== Using SSH keys ==== | ==== Using SSH keys ==== |
SSH public key authentication is a secure way to authenticate with an SSH host by combining a local "private" key with a "public" key associated with your user account. Once you set up the SSH keys, you will not need to enter the password for every login. If you have previously set up your SSH keys (i.e. you can login with SSH to Caviness without having to enter your password), then you do not need to do this step. Please only generate the SSH keys on the trusted computer. For macOS / Linux, you can run the following command in a local terminal: | SSH public key authentication is a secure way to authenticate with an SSH host by combining a local "private" key with a "public" key associated with your user account. Once you set up the SSH keys, you will not need to enter the password for every login. If you have previously set up your SSH keys (i.e. you can login with SSH to Caviness without having to enter your password), then you do not need to do this step unless you want to create SSH keys specifically for VSCode, otherwise proceed to [[software:vscode:caviness#connect-vscode-to-compute-node|Connect VSCode to Compute Node]]. Please only generate the SSH keys on the trusted computer. For macOS / Linux, you can run the following command in a local terminal: |
<code> | <code> |
ssh-keygen -t ed25519 -f ~/.ssh/id_ed25519-remote-ssh | ssh-keygen -t ed25519 -f ~/.ssh/id_ed25519-remote-ssh |