- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: ssh failling on password authentication
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-20-2002 08:00 AM
06-20-2002 08:00 AM
ssh failling on password authentication
I man using ssh-agent, it works well however when I ssh vi "ssh someone-else@hostxyz" the password authenication failed. here's a snip of the err:
"debug1: next auth method to try is password
root@localhost's password:
[*] error opening config file".
Does any one have any idea why this is happening? Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-21-2002 03:59 AM
06-21-2002 03:59 AM
Re: ssh failling on password authentication
- Check the permissions on the ~/.ssh directory and the files in it, also /etc/ssh_config.
- I think you are already running with verbose, right? If not, do that see if a more useful error shows up.
- If you have control of the server, see what the errors if any are on it.
- Can other users ssh into this server?
-hal
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-01-2002 12:38 PM
07-01-2002 12:38 PM
Re: ssh failling on password authentication
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-23-2002 07:02 AM
07-23-2002 07:02 AM
Re: ssh failling on password authentication
Yes, I have control on both server and yes, I am running ssh in verbose mode. The permission on my home dirs looks ok. The permission on /etc/ssh looks ok as well. Does any one have any idea why ssh is behaving like this? Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-23-2002 07:07 AM
07-23-2002 07:07 AM
Re: ssh failling on password authentication
...sshd(pam_unix)[31323]: session opened for user root b
y (uid=0)
still the same error, here's a stripped down err msg:
debug1: next auth method to try is password
[*] error opening config file
Any idea?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-29-2002 09:32 AM
07-29-2002 09:32 AM
Re: ssh failling on password authentication
-rw------- 1 root root 88039 Apr 4 22:27 moduli
-rw-r--r-- 1 root root 1167 Jul 24 12:13 ssh_config
-rw------- 1 root root 2528 Apr 4 22:27 sshd_config
-rw------- 1 root root 668 Jul 31 2001 ssh_host_dsa_key
-rw-r--r-- 1 root root 590 Jul 31 2001 ssh_host_dsa_key.pub
-rw------- 1 root root 515 Jul 31 2001 ssh_host_key
-rw-r--r-- 1 root root 319 Jul 31 2001 ssh_host_key.pub
-rw------- 1 root root 887 Jul 31 2001 ssh_host_rsa_key
-rw-r--r-- 1 root root 210 Jul 31 2001 ssh_host_rsa_key.pub
Here's the view from one of the other system:
-rw------- 1 root root 26287 Apr 8 2001 primes
-rw-r--r-- 1 root root 1122 Apr 8 2001 ssh_config
-rw------- 1 root root 1686 Apr 8 2001 sshd_config
-rw------- 1 root root 668 Jul 10 2001 ssh_host_dsa_key
-rw-r--r-- 1 root root 590 Jul 10 2001 ssh_host_dsa_key.pub
-rw------- 1 root root 527 Dec 13 2000 ssh_host_key
-rw-r--r-- 1 root root 331 Dec 13 2000 ssh_host_key.pub
-rw------- 1 root root 887 Jul 10 2001 ssh_host_rsa_key
-rw-r--r-- 1 root root 210 Jul 10 2001 ssh_host_rsa_key.pub
-rw------- 1 root root 512 Jul 10 2001 ssh_random_seed
I have no problem when I am root, I have this err when I am ssh-ing as a regular user. The permission of the files are exactly unlike as other systems in the environment. However, on all other system I can ssh as regular user to this box. But for some strange reason I can not ssh out as regular user on this box. By the way I am using ipchains or iptables. Is there some file out there that's preventing regular user to use the authentication when ssh-ing to other box?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-31-2002 09:26 AM
07-31-2002 09:26 AM
Re: ssh failling on password authentication
What is the output of ls -ld /etc/ssh ?
Also, I would move the .ssh directory in the user's home to .ssh.bak.
This may sound a bit silly, but does the user have write permission to his own home directory?
Hope this helps,
Chris
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-31-2002 09:30 AM
07-31-2002 09:30 AM
Re: ssh failling on password authentication
and yes user has write perm to user's own home.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-02-2002 01:54 PM
08-02-2002 01:54 PM
Re: ssh failling on password authentication
PermitRootLogin no
you can either change that to yes or login as a different user if that is the case.
Hope this helps.