0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

x-server vpsで登録済みのgithubと毎度接続する手順(備忘録)

Posted at

何の記事?

x-server vpsで一度設定したgithubとの連携は毎度立ち上げる必要があり、その手順をいつも忘れてしまうため記事として残しました。

最初の設定は公式リファレンスに載っているのでそちらを見ていただければと思います。

SSH接続機能立ち上げの手順

1.ssh-agentを立ち上げる

eval "$(ssh-agent -s)"

2.sshに使う対象キー(秘密鍵)を指定する

ssh-add  ~/.ssh/{sshに使う秘密鍵のファイル名}

3.疎通確認

ssh -T git@github.com

# 以下のようなログが出れば成功です
# Hi KONTA2019! You've successfully authenticated, but GitHub does not provide shell access.

以上になります。

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

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?