From c67a3da20d930d06f3e1c871ea9141ceba5c0447 Mon Sep 17 00:00:00 2001
From: nsfisis
Host teika
-HostName **********
-User **********
-Port **********
-IdentityFile ~/.ssh/teika.key
+ HostName **********
+ User **********
+ Port **********
+ IdentityFile ~/.ssh/teika.key
+ IdentitiesOnly yes
@@ -222,15 +226,17 @@ $ cat ~/.ssh/github.key.pub
Host github.com
-HostName github.com
-User git
-IdentityFile ~/.ssh/github.key
+ HostName github.com
+ User git
+ Port 22
+ IdentityFile ~/.ssh/github.key
+ IdentitiesOnly yes
最後に接続できるか確認しておく。
-ssh -T github.com
+ $ ssh -T github.com
sudo adduser ********** docker
+ $ sudo adduser ********** docker