【发布时间】:2016-01-01 18:32:32
【问题描述】:
我一直在尝试使用我的 github 帐户设置 ssh,并按照https://help.github.com/articles/generating-ssh-keys/ 上的指南并运行那里列出的命令:我收到以下错误
ssh-keygen -t rsa -b 4096 -C "your_email@example.com"
illegal option -- C
Usage: ssh-keygen [options] [key1 key2 ...]
Where `options` are:
-b nnn Specify key strength in bits (e.g. 1024)
-t dsa | rsa Choose the key type.
-c comment Provide the comment.
-e file Edit the comment/passphrase of the key.
-p passphrase Provide passphrase.
-P Assume empty passphrase.
-?
-h Print this help text.
-q Suppress the progress indicator.
-1 Convert a SSH 1.x key.
-i file Load and display information on `file'.
-D file Derive the public key from the private key 'file'.
-B number The number base for displaying key information (default 10).
-V Print ssh-keygen version number.
-r file Stir data from file to random pool.
-F file Dump fingerprint of file.
我正在运行 Ubuntu 14.04
【问题讨论】:
标签: ubuntu amazon-web-services github ssh