LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-02-2018, 12:32 PM   #1
bkelly
Member
 
Registered: Jan 2008
Distribution: Centos 7-4
Posts: 187

Rep: Reputation: 13
embedded system keeps changing its remote host ID


We have Ubuntu version 14 on a workstation connected to two embedded systems running Angstrom and Ubuntu. There is absolutely nothing else on this network, never will be, and therefore no external threat from anywhere.

Every time the Angstrom system is rebooted and I log in with SSH the workstation complains about how the remote host ID has changed and someone might be trying a man in the middle trick.

The long message directs me to a home directory where I find a file named known_hosts. I followed some instructions to update it but on the next reboot the same problem returns. I renamed the file but the workstation created a new one and complained again.

How might I fix this forever?. Please be patient for typos as I cannot cut and paste anything so all is handwritten here.
 
Old 02-02-2018, 01:04 PM   #2
michaelk
Moderator
 
Registered: Aug 2002
Posts: 18,921

Rep: Reputation: 2849Reputation: 2849Reputation: 2849Reputation: 2849Reputation: 2849Reputation: 2849Reputation: 2849Reputation: 2849Reputation: 2849Reputation: 2849Reputation: 2849
There are several ways to disable remote host key checking.
Via the command line

ssh -o StrictHostKeyChecking=no user@remote_host

Create a users ssh config file i.e ~/.ssh/config
Code:
Host angstrom
   hostname ip_address or hostname
   user  username
   StrictHostKeyChecking no
You can also add the above to the system wide configuration file /etc/ssh/ssh_config. You can then ssh to the embedded system by just typing

ssh angstrom


https://www.digitalocean.com/communi...our-ssh-client
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Internet of host system unable to connect after setting up changing root environment of in chap 6 usamamasood Linux From Scratch 3 02-22-2016 10:52 AM
[SOLVED] How to copy file from remote host to local host then delete from remote host legendmac Linux - Newbie 13 05-27-2015 03:47 PM
Pause processes in remote host and resume execution in another remote host Saeya Darsan Linux - General 5 10-22-2013 01:51 AM
How to backup image (file system) to remote Host. grens Linux - Enterprise 0 11-16-2007 01:54 PM
rpc remote system error: no route to host scrubbo Linux - Networking 0 09-14-2004 01:48 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:29 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration