Not sure if these are useful notes, but in case we encounter any issues that are mentioned below, these notes may have relevance. Once determined to be useless, we can delete the irrelevant note(s):
SSH Keys Renewal:
Chat: Need not to add the key ssh -T git@git.estack.com [ just ran this command we are good now seems like not.. it worked on local but not on the server
I can add the keys to the system, but as per I had discussion with Tim, its working on Agent Forwarding we need not add keys
- You can connect from computer A (your computer) to computer B (some server, in this case, github) using your SSH key.
- Now imagine there's another server: C (in this case, an estack server).
- Agent forwarding means that if you're working on "B" via SSH, and attempt to SSH from B => C, it will use your keys (which only exist on A)
Email: A few days back my ssh keys got expired on Gitlab, so I generated the new keys and added them into the GitLab. After that I was able to make push requests to gitlab which is working fine so far.
Today I logged into the server and tried to pull the code from Gitlab, but I am getting the following message.
{width="562" height="220"}
I tried to execute commands on my local as below
**ssh-keygen -R **git.estack.com
and
**ssh -T **git@git.estack.com
These commands ran successfully, and I can connect to the remote server, but when I am executing git pull it is generating the above shown message.
As explained to me in starting days, it is working on ssh-agent forwarding, so I am not adding any keys GitLab, please suggest what to do? If this needs to be resolved by adding the public key of the server to Gitlab then I will do that else please guide what I do next.
Update:
I have the fixed the problem by using ssh-add for new key and it is working fine.
Chat:
Solutuion: some keys issue.. new keys were generated somehow it was pointing to old keys so generated specific keys and then add those keys using some commands. did it on Mac. will configure for the windows as well.
ssh-add id_rsa_feb_2024. this command did the magic
ssh-add is command and id_rsa_feb_2024 is the key