User Tools

Site Tools


access_sdf_gitea_using_ssh_keys

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
access_sdf_gitea_using_ssh_keys [2022/02/07 21:36] jquahaccess_sdf_gitea_using_ssh_keys [2022/02/07 21:37] (current) jquah
Line 13: Line 13:
     * The Gitea server is running on the system as the 'git' user, so you need to ssh into it using 'git' as the username (rather than your normal sdf username).     * The Gitea server is running on the system as the 'git' user, so you need to ssh into it using 'git' as the username (rather than your normal sdf username).
     * The Gitea server is running on port 2222, so our test of public key authentication will specify this port manually. (It is possible for the server to switch seamlessly to port 2222 whenever the 'git' username attempts an SSH connection, but this option has not been configured at present.)     * The Gitea server is running on port 2222, so our test of public key authentication will specify this port manually. (It is possible for the server to switch seamlessly to port 2222 whenever the 'git' username attempts an SSH connection, but this option has not been configured at present.)
-    * At the command line, test that your newly-uploaded SSH key is recognized by Gitea. A dedicated stanza for git.sdf.org in $HOME/.ssh/config will load the key automatically, or you can use ssh-agent as shown below. +    * At the command line, test that your newly-uploaded SSH key is recognized by Gitea. A dedicated stanza for git.sdf.org in $HOME/.ssh/config will load the key automatically, or you can use ssh-agent as shown below.<code>$ keychain ~/.ssh/<the-ssh-key-in-gitea>
-<code>$ keychain ~/.ssh/<the-ssh-key-in-gitea>+
 $ ssh -vvv git@git.sdf.org -p 2222</code> $ ssh -vvv git@git.sdf.org -p 2222</code>
     * You'll see a load of output, if it's successful you'll see:<code>     * You'll see a load of output, if it's successful you'll see:<code>
access_sdf_gitea_using_ssh_keys.1644269787.txt.gz · Last modified: 2022/02/07 21:36 by jquah