Closed martin059 closed 4 months ago
Result of configuration through Ansible
:
[vagrant@at-pr-dc1 ~]$ ssh -T git@github.com
Hi martin059! You've successfully authenticated, but GitHub does not provide shell access.
[vagrant@at-pr-dc1 ~]$ git clone git@github.com:martin059/virtualization-level-2-vagrant-setup.git
Cloning into 'virtualization-level-2-vagrant-setup'...
remote: Enumerating objects: 44, done.
remote: Counting objects: 100% (44/44), done.
remote: Compressing objects: 100% (26/26), done.
remote: Total 44 (delta 12), reused 31 (delta 6), pack-reused 0
Receiving objects: 100% (44/44), 13.51 KiB | 13.51 MiB/s, done.
Resolving deltas: 100% (12/12), done.
Issue description
depends on:
Modify the
Ansible
script so the login is automated as well if anssh
key is added to the user and allow a direct connection with this repo.Take into account that the login credentials must be configurable by the user, as they are supposed to have their own Git/Github credentials.
Development task
Ansible
script, copies and sets thessh
keys that it finds in thessh/
folder of the vagrant projectssh -T git@github.com
and my user name should come upGithub
.