Results 1 to 12 of 12
-
10-13-2009, 02:04 AM #1Total Nerd
- Join Date
- Feb 2007
- Location
- Florida
- Posts
- 1,932
Cannot SSH into server as user via PuTTy.
I'm having some trouble here and have been fighting with this all day. I am trying to SSH into my server using a user account and RSA key with no luck. I am able to SSH with root fine and my partner can SSH into his user account fine on Fedora, but I am getting the following errors with PuTTy:
In /var/log/secure:
Code:No supported authentication methods available
Code:Server refused our key
Any ideas?-Joe @ Secure Dragon LLC.
+ OpenVZ Powered by Wyvern | KVM | cPanel Hosting | Backup VPSs | LowEndBoxes | DDOS Protection
+ Florida | Colorado | Illinois | California | Oregon | Georgia | New Jersey | Arizona | Texas
-
10-13-2009, 02:19 AM #2Retired Moderator
- Join Date
- Feb 2005
- Location
- Australia
- Posts
- 5,849
Is the user allowed to log in at all? Try enabling password logins (if they're disabled) and verify you can log in as user.
Chris
"Some problems are so complex that you have to be highly intelligent and well informed just to be undecided about them." - Laurence J. Peter
-
10-13-2009, 02:24 AM #3Total Nerd
- Join Date
- Feb 2007
- Location
- Florida
- Posts
- 1,932
Yup, user can login with password just not with a RSA key.
-Joe @ Secure Dragon LLC.
+ OpenVZ Powered by Wyvern | KVM | cPanel Hosting | Backup VPSs | LowEndBoxes | DDOS Protection
+ Florida | Colorado | Illinois | California | Oregon | Georgia | New Jersey | Arizona | Texas
-
10-13-2009, 02:38 AM #4Retired Moderator
- Join Date
- Feb 2005
- Location
- Australia
- Posts
- 5,849
Still suggests you have something wrong server-side. It's been a while since I used putty but I'm sure it can handle keys. Try it from the command line with -vvv.
Edit: Oh, and check /var/log/secure before that "No supported authentication methods available" to see why the key-based auth failed.Chris
"Some problems are so complex that you have to be highly intelligent and well informed just to be undecided about them." - Laurence J. Peter
-
10-13-2009, 03:06 AM #5Total Nerd
- Join Date
- Feb 2007
- Location
- Florida
- Posts
- 1,932
Ok, this is really weird now. When I SSH from another VPS it requires both the passcode for the RSA key AND my account password, but it lets me login to the user without a problem. Still getting the same error on PuTTy.
Oct 13 01:38:56 server sshd[2391]: Received disconnect from MY_IP: 14: No supported authentication methods available
Oct 13 01:44:11 server sshd[3195]: Received disconnect from MY_IP: 14: No supported authentication methods available
Oct 13 01:45:08 server sshd[3429]: Received disconnect from MY_IP: 14: No supported authentication methods available
Oct 13 02:10:55 server sshd[7270]: Received disconnect from MY_IP: 14: No supported authentication methods available
Oct 13 02:13:31 server sshd[7608]: Received disconnect from MY_IP: 14: No supported authentication methods available
Oct 13 02:15:54 server sshd[8041]: Received disconnect from MY_IP: 14: No supported authentication methods available
Oct 13 02:17:14 server sshd[8305]: Received disconnect from MY_IP: 14: No supported authentication methods available
Oct 13 02:18:13 server sshd[8369]: Received disconnect from MY_IP: 14: No supported authentication methods available-Joe @ Secure Dragon LLC.
+ OpenVZ Powered by Wyvern | KVM | cPanel Hosting | Backup VPSs | LowEndBoxes | DDOS Protection
+ Florida | Colorado | Illinois | California | Oregon | Georgia | New Jersey | Arizona | Texas
-
10-13-2009, 03:30 AM #6Retired Moderator
- Join Date
- Feb 2005
- Location
- Australia
- Posts
- 5,849
Last edited by foobic; 10-13-2009 at 03:37 AM.
Chris
"Some problems are so complex that you have to be highly intelligent and well informed just to be undecided about them." - Laurence J. Peter
-
10-13-2009, 04:08 AM #7Total Nerd
- Join Date
- Feb 2007
- Location
- Florida
- Posts
- 1,932
The user is setup just like the other accounts.
-Joe @ Secure Dragon LLC.
+ OpenVZ Powered by Wyvern | KVM | cPanel Hosting | Backup VPSs | LowEndBoxes | DDOS Protection
+ Florida | Colorado | Illinois | California | Oregon | Georgia | New Jersey | Arizona | Texas
-
10-13-2009, 05:57 AM #8Web Hosting Guru
- Join Date
- May 2008
- Posts
- 340
Make sure when you paste the SSH key into the file authorized_keys, the complete key is pasted and there are no line breaks/space in it.
Twitter : http://twitter.com/eth1networks
Contact Us : support[at]eth1.in
-
10-13-2009, 06:53 AM #9Total Nerd
- Join Date
- Feb 2007
- Location
- Florida
- Posts
- 1,932
Thanks but this isn't my first time setting up SSH keys. I'm guessing it's a PuTTy issue and I'll probably be stuck running a Linux VM on my laptop.
-Joe @ Secure Dragon LLC.
+ OpenVZ Powered by Wyvern | KVM | cPanel Hosting | Backup VPSs | LowEndBoxes | DDOS Protection
+ Florida | Colorado | Illinois | California | Oregon | Georgia | New Jersey | Arizona | Texas
-
10-13-2009, 07:12 AM #10Newbie
- Join Date
- Sep 2008
- Posts
- 15
Use Putty-0.60 version or you may try installing Poderosa. Poderosa is a good alternative for putty.
-
10-13-2009, 02:03 PM #11Web Hosting Master
- Join Date
- Oct 2004
- Location
- Kerala, India
- Posts
- 4,771
The issue with the ssh keys happen most of the time with wrong file permission. Make sure the related files have these permissions.
authorized_keys and authorized_keys2 --> 600
.ssh --> 700
Home Directory --> 711
Keys (id_dsa,id_rsa) --> 600
Public Keys (id_dsa.pub,id_rsa.pub) --> 644David | www.cliffsupport.com
Affordable Server Management Solutions sales AT cliffsupport DOT com
CliffWebManager | Access WHM from iPhone and Android
-
10-13-2009, 03:36 PM #12Junior Guru
- Join Date
- Jul 2009
- Posts
- 240
have you tried this?
http://tartarus.org/~simon/putty-sna...errors-no-auth
Similar Threads
-
cant login to my server using putty
By netpox in forum Dedicated ServerReplies: 4Last Post: 07-03-2008, 11:09 AM -
Server Access Problem using root in putty
By cctv in forum Hosting Security and TechnologyReplies: 11Last Post: 01-03-2008, 05:40 PM -
Putty and SSH
By SecondSight in forum Hosting Software and Control PanelsReplies: 7Last Post: 08-07-2006, 01:48 PM -
In Putty
By rockergirl in forum Web Hosting LoungeReplies: 2Last Post: 04-19-2006, 11:21 AM -
ssh win2000 game server,cygwin,putty
By zero-maitimax in forum Dedicated ServerReplies: 1Last Post: 10-28-2004, 03:55 AM