Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8894499
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T23:30:47+00:00 2026-06-14T23:30:47+00:00

Im pretty new to SSH, Linux AND Amazon EC2, but from my understanding this

  • 0

Im pretty new to SSH, Linux AND Amazon EC2, but from my understanding this should be very simple. What am I missing here?

I am unable to connect to my EC2 instance
I have a local machine running Fedora 15 with minimal modifications. I am connecting to an AWS EC2 instance through the terminal using a .pem file. I believe I have all settings configured properly on amazons interface: enabling neccessary permissions and setting up instance properly with elastic ip etc. This is the command I am typing in terminal while logged in as root user on local machine:
[root@localhost /]# ssh -i mainbackup.pem ec2-user@elasticiphere

I get this in return:

Warning: Identity file mainbackup.pem not accessible: No such file or directory.
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@    WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED!     @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY!
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
<<RSA key here but I removed>>
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:1
RSA host key for elasticiphere has changed and you have requested strict checking.
Host key verification failed.

I understand this is telling me I need to make modifications to the known hosts file located in .ssh directory….however I cannot find the .ssh directory to address the situation! I run cd ../ until root directory, and then run ls to list folders, and .ssh is not one of them. Ive ran the same commands from home and cannot find .ssh. Ive searched through fedora interface and cannot find the directory. Does anyone know where or how I can find this file? Or, am I interpretting this error message wrong and there is perhaps a different solution?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-14T23:30:49+00:00Added an answer on June 14, 2026 at 11:30 pm

    This might be the problem:

    Warning: Identity file mainbackup.pem not accessible: No such file or directory.

    If the file exists, it can be permission problem. Make sure that the file is accessible.

    try:

    chmod 600 mainbackup.pem
    

    the .ssh directory is usually under your home to access it, try
    cd ~/.ssh

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Pretty new to Perl so there may be a very obvious solution here. I'm
I'm pretty new to PHP, but I decided to try and make a simple
Pretty new here. But before I ask my question, I'm not looking for teh
Im pretty new to Linux in general. Ive just been following this tutorial(http://net.tutsplus.com/tutorials/php/how-to-setup-a-dedicated-web-server-for-free/) to
Pretty new to Java programming, but I'm having trouble getting this to run. I
Im pretty new to nhibernate so this may be quite straightforward but i havent
Im pretty new to Java Web Services, but I cant find a good explanation
I am pretty new to PHP and MySQL and I just can't figure this
I am pretty new to buddypress. I am trying to do something pretty simple
Pretty new to jquery but i was hoping to be able to target a

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.