Railsチュートリアルを見ながらRailsの学習をしています。
Bitbucketのアカウント登録を終え、公開鍵の出力をしたいのですがうまくいきません。
<使用環境>
Cloud9を利用しています。
OS:Windows
チュートリアルの
リスト1.11: catコマンドで公開鍵を出力する。
$ cat ~/.ssh/id_rsa.pub
を入力すると
cat: ~/.ssh/id_rsa.pub: No such file or directory
と表示されます。
$ ssh-keygen
では
Generating public/private rsa key pair.
Enter file in which to save the key (/home/ubuntu/.ssh/id_rsa):
/home/ubuntu/.ssh/id_rsa already exists.
Overwrite (y/n)? n
Enter passphrase (empty for no passphrase):
Enter same passphrase again:
Your identification has been saved in /home/ubuntu/.ssh/id_rsa.
Your public key has been saved in /home/ubuntu/.ssh/id_rsa.pub.
The key fingerprint is:
The key's randomart image is:
+--[ RSA 2048]----+
| .+o |
| .. .o |
| . . . .|
| o o . . o|
| . S . o.|
| . . . .o.|
| . . oE .|
| oo.+ |
| .o++ +|
となります。
これは/home/ubuntu/.ssh/id_rsa.pub.に公開鍵が作られているということでいいんでしょうか?
しかし、公開鍵を出力の方法がわからないのですがどうしたらよろしですか?
回答1件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。
2016/10/08 13:54