added SSL part to the "new_vh" article
This commit is contained in:
parent
6a194aa079
commit
e43c315ed9
Binary file not shown.
@ -112,6 +112,25 @@ session (read **man ssh-agent** for further information):
|
|||||||
ssh-add ~/.ssh/id_rsa_belugaspot-msleaveamix
|
ssh-add ~/.ssh/id_rsa_belugaspot-msleaveamix
|
||||||
fi
|
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
|
.. _Secure SHell: https://www.ssh.com/ssh
|
||||||
.. _SSH: 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
|
.. _Public Key Authentication: https://www.ssh.com/ssh/public-key-authentication
|
||||||
.. _Git: https://git-scm.com/
|
.. _Git: https://git-scm.com/
|
||||||
.. _SSH-Agent: https://www.ssh.com/ssh/agent
|
.. _SSH-Agent: https://www.ssh.com/ssh/agent
|
||||||
|
.. _freepoteries-doc: ssh://git@git.yannweb.net:2222/maxime-alves/freepoteries-doc.git
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user