LoginSignup
0
0

More than 5 years have passed since last update.

githubにssh接続しようとしてハマりました。。。

Posted at

久しぶりにgithubに公開鍵を追加したので、ssh接続して確認しようとしたところハマりました。

$ ssh -T github-username@github.com
Permission denied (publickey).

接続時のユーザー名にgithubのユーザー名を指定していました。。。
正しくは以下ですね。

$ ssh -T git@github.com
Hi github-username! You've successfully authenticated, but GitHub does not provide shell access.

サーバのユーザーとgithubのユーザーは全く別物なので分かりますが、なんかモヤモヤしますね。

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0