SSH with multiple MangOH


#1

I have 5 MangOH board. I use SSH to connect to the board. When I change the board I must remove ssh key on the pc and create a new with the board. Any way to not delete/create ssh key each time I change the board? Each board have the same IP address… thank.


#2

I am on mobile right now, so I can’t tell you the exact answer, but I have solved this problem by adding a section to my ~/.ssh/config. Basically, it disables the identity check, but only for the 192.168.2.2 IP address.


#3

Ok I wait your answer. I will try to find with google :slight_smile:


#4

I have found :slight_smile:
adding to the ssh config file :

Host 192.168.2.2
StrictHostKeyChecking no
UserKnownHostsFile=/dev/null

Thank for the information !