File tree Expand file tree Collapse file tree 1 file changed +11
-11
lines changed
content/post/archlinux-meets-lima Expand file tree Collapse file tree 1 file changed +11
-11
lines changed Original file line number Diff line number Diff line change @@ -181,17 +181,17 @@ inside the VM. The second user provision script in the previous YAML
181181setup the SSH keys sharing as follows :
182182
183183` ` ` sh
184- if ! grep "User git" ~/.ssh/config; then
185- HOST_USER=$(ls /Users)
186- cat<<EOF >> ~/.ssh/config
187- Host github.com
188- User git
189- Port 22
190- StrictHostKeyChecking no
191- PasswordAuthentication no
192- IdentityFile /Users/$HOST_USER/.ssh/id_ed25519
193- EOF
194- fi
184+ if ! grep "User git" ~/.ssh/config; then
185+ HOST_USER=$(ls /Users)
186+ cat<<EOF >> ~/.ssh/config
187+ Host github.com
188+ User git
189+ Port 22
190+ StrictHostKeyChecking no
191+ PasswordAuthentication no
192+ IdentityFile /Users/$HOST_USER/.ssh/id_ed25519
193+ EOF
194+ fi
195195` ` `
196196
197197This avoids duplicating the SSH keys in the ArchLinux VM. However, don't share
You can’t perform that action at this time.
0 commit comments