Post A2wL8e4XUDP5cE2lhA by oscar@fosstodon.org
(DIR) More posts by oscar@fosstodon.org
(DIR) Post #A2wL8e4XUDP5cE2lhA by oscar@fosstodon.org
2021-01-05T21:19:39Z
0 likes, 0 repeats
This is probably a dumb question at this point, but my SSH keys haven't been working for a few months now. I've done some :fedora: reinstallations since then. Am I missing any system configuration under /etc/sshd/sshd_config or something? I've followed GitLab's guide to set them up, but it just gets stuck, without even connecting.
(DIR) Post #A2wL8ePoD8PwgBzkqe by jrballesteros05@fosstodon.org
2021-01-05T21:37:03Z
0 likes, 0 repeats
@oscar when you reinstalled did you format the /home partition? Because the Private Key usually stay in ~/.ssh/ if you delete the PK you would never connect to gitlab again. You have to generate a new Private Key and copy the Public Key to gitlab.
(DIR) Post #A2wUahq1ye0uzWiFma by oscar@fosstodon.org
2021-01-05T23:22:59Z
0 likes, 0 repeats
@jrballesteros05 Yes, I formated the /home partition, but made a backup which didn't work after and I created a new one following the guide and adding it to my account. I don't remember if there were another configs to make, apart from that one.
(DIR) Post #A2wm999Ud5nclppAbg by jrballesteros05@fosstodon.org
2021-01-06T02:39:41Z
0 likes, 0 repeats
@oscar The most important one are the private keys. If you have backed up your /home the most probably place to find it's ~./.ssh otherwise you have to remember where you put the private key. I am pretty sure that's the problem. If you don't find the key you can generate a new one. But I would be lazy if I were you.
(DIR) Post #A2xdzW5nsT9EY2xJFA by oscar@fosstodon.org
2021-01-06T12:43:02Z
0 likes, 0 repeats
@jrballesteros05 After some research, I found out that my ISP hasn't configure SSH on my router, through my phone hotspot works as it should. Thanks for the help! 😄