tftsr-devops_investigation/gh_2.63.0_linux_amd64/share/man/man1/gh-ssh-key-add.1

40 lines
645 B
Groff
Raw Normal View History

.nh
.TH "GH-SSH-KEY-ADD" "1" "Nov 2024" "GitHub CLI 2.63.0" "GitHub CLI manual"
.SH NAME
gh-ssh-key-add - Add an SSH key to your GitHub account
.SH SYNOPSIS
\fBgh ssh-key add [<key-file>] [flags]\fR
.SH OPTIONS
.TP
\fB-t\fR, \fB--title\fR \fB<string>\fR
Title for the new key
.TP
\fB--type\fR \fB<string> (default "authentication")\fR
Type of the ssh key: {authentication|signing}
.SH EXIT CODES
0: Successful execution
.PP
1: Error
.PP
2: Command canceled
.PP
4: Authentication required
.PP
NOTE: Specific commands may have additional exit codes. Refer to the command's help for more information.
.SH SEE ALSO
\fBgh-ssh-key(1)\fR