SmithLabNeuro / Ex

Experimental Software
8 stars 1 forks source link

Multiple github hosts are added to known_hosts #10

Open yuumii-san opened 1 year ago

yuumii-san commented 1 year ago

(This is not a specific issue for Ex)

Because of the below update github made in March, we experience that ubuntu machines keep adding new hosts (corresponding to the different IP address of github) into ~/.ssh/known_hosts. https://github.blog/2023-03-23-we-updated-our-rsa-ssh-host-key/

Solution edit below two parameters in ~/etc/ssh/ssh_config

We need to manually apply this change to all ubuntu machines.

yuumii-san commented 1 year ago

@Sammi-Schmitt Could you check off the machines you've applied this solution and close this issue once we've done all of them? I believe these are all machines we need to make this change. One thing to add is checking to make sure there is nothing to change on the data computers that are running windows. I added them to this list just as a reminder to check them.

Sammi-Schmitt commented 1 year ago

Sure no problem. Good exercise in using this set up for issue solving.

On May 9, 2023, at 9:22 PM, yuumii-san @.***> wrote:

Assigned #10 https://github.com/SmithLabNeuro/Ex/issues/10 to @Sammi-Schmitt https://github.com/Sammi-Schmitt.

— Reply to this email directly, view it on GitHub https://github.com/SmithLabNeuro/Ex/issues/10#event-9206195809, or unsubscribe https://github.com/notifications/unsubscribe-auth/ASOQVZ6SREMFVXONN5CFGXLXFLUW5ANCNFSM6AAAAAAX4A5OE4. You are receiving this because you were assigned.

Sammi-Schmitt commented 1 year ago

Notes: rig j and m don't have .ssh files off the main user. Something I need to further look into. Test rig and rig I do have them.

yuumii-san commented 1 year ago

That sounds strange. We can, of course, just copy those files from rig i or test rig and maybe this works. But the folder should be set up when we had done the ssh setup for the first time. So if this solution will cause problems in the future, we may need to look into the detail of ssh setup in those rigs.