1
1

added SSL part to the "new_vh" article

This commit is contained in:
maxime 2019-09-10 17:19:40 +02:00
parent 6a194aa079
commit e43c315ed9
2 changed files with 20 additions and 0 deletions

Binary file not shown.

View File

@ -112,6 +112,25 @@ session (read **man ssh-agent** for further information):
ssh-add ~/.ssh/id_rsa_belugaspot-msleaveamix
fi
Git_ users! Don't be fooled, your SSH authentication to repositories as of the
sources of freepoteries-doc_, by adding this snippet to your **~/.ssh/config**:
.. code-block:: bash
Host git.yannweb.net
User git
Port 2222
IdentityFile ~/new_key
ForwardAgent yes
If this doesn't work, you may want to verify that the keys are correctly loaded,
to do this, run:
.. code-block:: bash
(arch)emixam@archlinux:~$ ssh-add -l
2048 SHA256:S4LpyvoqT3wBBNYlosJkX6VFPQ00BoBu6LJ/IJWywOw /home/emixam/.ssh/id_rsa (RSA)
.. _Secure SHell: https://www.ssh.com/ssh
.. _SSH: https://www.ssh.com/ssh
@ -119,3 +138,4 @@ session (read **man ssh-agent** for further information):
.. _Public Key Authentication: https://www.ssh.com/ssh/public-key-authentication
.. _Git: https://git-scm.com/
.. _SSH-Agent: https://www.ssh.com/ssh/agent
.. _freepoteries-doc: ssh://git@git.yannweb.net:2222/maxime-alves/freepoteries-doc.git