LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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-22-2012, 12:13 PM   #1
ghandizzle8
Member
 
Registered: Jun 2010
Posts: 30

Rep: Reputation: 0
Server Refused Out Key


Good Day,

Iam presently using fedora 8 64-bit which is provided by amazon.

I am usually able to ssh into my server using an ssh key and a username.

At this time...iam unable to ssh into the server. When i try, i get the error "Server Refused Our Key" The server is still up as i am still able to access my web applications.

Another wierd thing is that when i try to ssh into the server via ip directly (without using a ssh key) it prompts me for a username and password...


Any help would be greatly appreciated as i need to be able to ssh into my server.

Thanks in advance
Brian
 
Old 02-22-2012, 12:56 PM   #2
uhelp
Member
 
Registered: Nov 2011
Location: Germany, Bavaria, Nueremberg area
Distribution: openSUSE, Debian, LFS
Posts: 205

Rep: Reputation: 43
check the ~/.ssh/authorized_keys file
Make sure that the proper key is used and has the proper format
ssh-rsa <weirdCryptoChars> hostname

If that dosn't help check for access rights of ~/.ssh
should be 600

If it still doesn't work, remove key from ~/.ssh/authorized_keys and create a new one.

Last edited by uhelp; 02-22-2012 at 12:58 PM.
 
Old 02-22-2012, 01:26 PM   #3
ghandizzle8
Member
 
Registered: Jun 2010
Posts: 30

Original Poster
Rep: Reputation: 0
thanks for the response....the issue is that iam unable to access my server...its an amazon cloud server. hence the main access is through ssh...so iam unable to even check /ssh directory
 
Old 02-23-2012, 04:15 AM   #4
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,331
Blog Entries: 55

Rep: Reputation: 3530Reputation: 3530Reputation: 3530Reputation: 3530Reputation: 3530Reputation: 3530Reputation: 3530Reputation: 3530Reputation: 3530Reputation: 3530Reputation: 3530
Your answer is here. Read it and act on it.
 
1 members found this post helpful.
  


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
[SOLVED] Server Refused our key error:while login putty jsaravana87 Linux - Server 7 09-16-2011 04:37 AM
Putty/SSH login failed when using RSA public key: 'Server refused our key' itsecx@gmail.com Linux - Server 10 10-04-2010 02:19 PM
Importing private key from key server ManiDhillon Linux - General 2 07-09-2010 07:56 PM
xhost + refused by server sunny8107 Linux - Newbie 2 03-11-2010 05:30 PM
server refused our key lord-fu Linux - Security 11 11-09-2005 07:58 AM


All times are GMT -5. The time now is 12:19 PM.

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