GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
GCLI-ISSUES(1) FreeBSD General Commands Manual GCLI-ISSUES(1)

gcli configGit Forge Configuration

gcli config ssh

gcli config ssh add -t title -k keypath

gcli config ssh delete -i id

gcli config is used to change the settings of the Git Forge Account. You can use it to e.g. add or delete SSH Public Keys used to push to forges.

, --title title
Set the title of the SSH Key to be added. This is a short description of the key.
, --key key-path
Path to the file containing the SSH public key.
, --id id
ID of the public key to delete.

List SSH public keys for the current user.
Add an SSH public key for the current user.
Delete an SSH public key for the current user.

Print a list of registered SSH public keys:

$ gcli config ssh

Register ~/.ssh/id_rsa.pub on the default forge:

$ gcli config ssh add \
      -t "Key for $(hostname)" \
      -k ~/.ssh/id_rsa.pub

git(1), gcli(1)

Nico Sonack aka. herrhotzenplotz <nsonack@herrhotzenplotz.de> and contributors.

When using this feature to manage SSH keys on GitHub be aware that you need the “read:public_key” scope enabled on your access token. You will receive HTTP 404 errors otherwise.

Please report bugs via E-Mail to https://lists.sr.ht/~herrhotzenplotz/gcli-discuss.

Alternatively you can report them on any of the forges linked at https://sr.ht/~herrhotzenplotz/gcli. However, the preferred and quickest method is to use the mailing list.

25-May-2025 gcli 2.8.0

Search for    or go to Top of page |  Section 1 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.