LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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, 11:13 AM   #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, 11:56 AM   #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 11:58 AM.
 
Old 02-22-2012, 12: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, 03:15 AM   #4
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

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


Reply



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

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

All times are GMT -5. The time now is 01:40 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
Open Source Consulting | Domain Registration