How to ensure that SSH is configured on the new node

Posted on 2013-05-16
Last Modified: 2013-05-29
Dear experts here:

I am going to add a new node to the oracle cluster. On this document:

step 4, it asked me to "Ensure that SSH is configured on the node". Then I use root account to ssh to the new node(poseidon) from an existing node(elysium). However, it gives me the following error. When I switch to "mis" user, I can SSH in without any problem. Could anybody help me to verify if the SSH is configured well. thank you.  

[root@elysium ~]# ssh poseidon
Someone could be eavesdropping on you right now (man-in-the-middle attack)!
It is also possible that the RSA host key has just been changed.
The fingerprint for the RSA key sent by the remote host is
Please contact your system administrator.
Add correct host key in /root/.ssh/known_hosts to get rid of this message.
Offending key in /root/.ssh/known_hosts:3
RSA host key for poseidon has changed and you have requested strict checking.
Host key verification failed.
[root@elysium ~]#


[mis@elysium ~]$ ssh poseidon
mis@poseidon's password:
Last login: Thu May 16 15:22:32 2013 from
[mis@poseidon ~]$
Question by:Jason Yu
  • 2
  • 2
  • 2
LVL 21

Accepted Solution

Mazdajai earned 250 total points
ID: 39173235
Is it a reinstall or has the ip changed? If it is the case, remove line 3 on the file.

vi /root/.ssh/known_hosts

Open in new window

LVL 28

Assisted Solution

serialband earned 250 total points
ID: 39173519
sed -i '3d' ~/.ssh/know_hosts

Author Comment

by:Jason Yu
ID: 39182823
After I delete the third line in this file, it works now.

Connection to poseidon closed.
[root@elysium ~]# ssh poseidon
root@poseidon's password:
Last login: Mon May 20 15:27:05 2013 from
[root@poseidon ~]#

One more question, if I want to disregard the password (so I don't need to input password every time) which should I do?

Also, how to set up log in welcome logo. thank you.
Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

LVL 21

Assisted Solution

Mazdajai earned 250 total points
ID: 39182828
What type of distro? You need to setup key pair for passwordless login -

Open in new window

Not sure what you mean by "log in welcome logo"?
LVL 28

Assisted Solution

serialband earned 250 total points
ID: 39183369
Maybe you mean /etc/motd.  Put your text Message of the Day in the file and whenever you log in, it will be displayed.

Author Closing Comment

by:Jason Yu
ID: 39206339
thank you guys, got it solved satisfied.

Featured Post

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
docker invalid registry name 2 106
Edit linux file using python 4 40
Linux hostname change 2 54
Help on running oracle SQL script in linux 3 35
Over the last ten+ years I have seen Linux configuration tools come and go. In the early days there was the tried-and-true, all-powerful linuxconf that many thought would remain the one and only Linux configuration tool until the end of times. Well,…
Linux users are sometimes dumbfounded by the severe lack of documentation on a topic. Sometimes, the documentation is copious, but other times, you end up with some obscure "it varies depending on your distribution" over and over when searching for …
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…

910 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now