<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: ssh failling on password authentication in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/ssh-failling-on-password-authentication/m-p/2749061#M1819</link>
    <description>Since it looks like you are trying to ssh as root, have you checked the sshd_config file on the server you are trying to ssh to? There may be a line not allowing root ssh. It would look something like this:&lt;BR /&gt;PermitRootLogin no&lt;BR /&gt;you can either change that to yes or login as a different user if that is the case.&lt;BR /&gt;&lt;BR /&gt;Hope this helps.</description>
    <pubDate>Fri, 02 Aug 2002 20:54:33 GMT</pubDate>
    <dc:creator>Jeffrey S. Sims</dc:creator>
    <dc:date>2002-08-02T20:54:33Z</dc:date>
    <item>
      <title>ssh failling on password authentication</title>
      <link>https://community.hpe.com/t5/operating-system-linux/ssh-failling-on-password-authentication/m-p/2749053#M1811</link>
      <description>All,&lt;BR /&gt;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: &lt;BR /&gt;"debug1: next auth method to try is password&lt;BR /&gt;root@localhost's password: &lt;BR /&gt;[*] error opening config file".&lt;BR /&gt;&lt;BR /&gt;Does any one have any idea why this is happening? Thanks.</description>
      <pubDate>Thu, 20 Jun 2002 15:00:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/ssh-failling-on-password-authentication/m-p/2749053#M1811</guid>
      <dc:creator>K.C. Chan</dc:creator>
      <dc:date>2002-06-20T15:00:22Z</dc:date>
    </item>
    <item>
      <title>Re: ssh failling on password authentication</title>
      <link>https://community.hpe.com/t5/operating-system-linux/ssh-failling-on-password-authentication/m-p/2749054#M1812</link>
      <description>I don't have the answer, but I've seen the same post before so I thought I'd at least make a stab at it.  It's not for lack of trying--I could not find that error message referenced anywhere.&lt;BR /&gt;&lt;BR /&gt;- Check the permissions on the ~/.ssh directory and the files in it, also /etc/ssh_config.&lt;BR /&gt;&lt;BR /&gt;- I think you are already running with verbose, right?  If not, do that see if a more useful error shows up.&lt;BR /&gt;&lt;BR /&gt;- If you have control of the server, see what the errors if any are on it.&lt;BR /&gt;&lt;BR /&gt;- Can other users ssh into this server?&lt;BR /&gt;&lt;BR /&gt;-hal</description>
      <pubDate>Fri, 21 Jun 2002 10:59:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/ssh-failling-on-password-authentication/m-p/2749054#M1812</guid>
      <dc:creator>Hal Rottenberg</dc:creator>
      <dc:date>2002-06-21T10:59:50Z</dc:date>
    </item>
    <item>
      <title>Re: ssh failling on password authentication</title>
      <link>https://community.hpe.com/t5/operating-system-linux/ssh-failling-on-password-authentication/m-p/2749055#M1813</link>
      <description>I assume you're logged in as root on the local box. If so, cd ~/ and do an ls -al. If you see a .ssh directory check permissions (as above post stated) if it doesn't exist. Create it. See if that works.</description>
      <pubDate>Mon, 01 Jul 2002 19:38:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/ssh-failling-on-password-authentication/m-p/2749055#M1813</guid>
      <dc:creator>Jonathan Sharp_1</dc:creator>
      <dc:date>2002-07-01T19:38:56Z</dc:date>
    </item>
    <item>
      <title>Re: ssh failling on password authentication</title>
      <link>https://community.hpe.com/t5/operating-system-linux/ssh-failling-on-password-authentication/m-p/2749056#M1814</link>
      <description>I am running ssh as a regular user. I am able to run ssh as root but not as a regular user.&lt;BR /&gt;&lt;BR /&gt;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.</description>
      <pubDate>Tue, 23 Jul 2002 14:02:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/ssh-failling-on-password-authentication/m-p/2749056#M1814</guid>
      <dc:creator>K.C. Chan</dc:creator>
      <dc:date>2002-07-23T14:02:42Z</dc:date>
    </item>
    <item>
      <title>Re: ssh failling on password authentication</title>
      <link>https://community.hpe.com/t5/operating-system-linux/ssh-failling-on-password-authentication/m-p/2749057#M1815</link>
      <description>Here's what I got on /var/log/messages from the recipient server: ...sshd(pam_unix)[31180]: session closed for user root&lt;BR /&gt;...sshd(pam_unix)[31323]: session opened for user root b&lt;BR /&gt;y (uid=0)&lt;BR /&gt;&lt;BR /&gt;still the same error, here's a stripped down err msg: &lt;BR /&gt;debug1: next auth method to try is password&lt;BR /&gt;[*] error opening config file&lt;BR /&gt;&lt;BR /&gt;Any idea?</description>
      <pubDate>Tue, 23 Jul 2002 14:07:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/ssh-failling-on-password-authentication/m-p/2749057#M1815</guid>
      <dc:creator>K.C. Chan</dc:creator>
      <dc:date>2002-07-23T14:07:39Z</dc:date>
    </item>
    <item>
      <title>Re: ssh failling on password authentication</title>
      <link>https://community.hpe.com/t5/operating-system-linux/ssh-failling-on-password-authentication/m-p/2749058#M1816</link>
      <description>By the way the config file /etc/ssh are all the same through out my environment, and only this box I am having problem with. Here's the view on /etc/ssh:&lt;BR /&gt;-rw------- 1 root root 88039 Apr 4 22:27 moduli&lt;BR /&gt;-rw-r--r-- 1 root root 1167 Jul 24 12:13 ssh_config&lt;BR /&gt;-rw------- 1 root root 2528 Apr 4 22:27 sshd_config&lt;BR /&gt;-rw------- 1 root root 668 Jul 31 2001 ssh_host_dsa_key&lt;BR /&gt;-rw-r--r-- 1 root root 590 Jul 31 2001 ssh_host_dsa_key.pub&lt;BR /&gt;-rw------- 1 root root 515 Jul 31 2001 ssh_host_key&lt;BR /&gt;-rw-r--r-- 1 root root 319 Jul 31 2001 ssh_host_key.pub&lt;BR /&gt;-rw------- 1 root root 887 Jul 31 2001 ssh_host_rsa_key&lt;BR /&gt;-rw-r--r-- 1 root root 210 Jul 31 2001 ssh_host_rsa_key.pub&lt;BR /&gt;&lt;BR /&gt;Here's the view from one of the other system:&lt;BR /&gt;-rw------- 1 root root 26287 Apr 8 2001 primes&lt;BR /&gt;-rw-r--r-- 1 root root 1122 Apr 8 2001 ssh_config&lt;BR /&gt;-rw------- 1 root root 1686 Apr 8 2001 sshd_config&lt;BR /&gt;-rw------- 1 root root 668 Jul 10 2001 ssh_host_dsa_key&lt;BR /&gt;-rw-r--r-- 1 root root 590 Jul 10 2001 ssh_host_dsa_key.pub&lt;BR /&gt;-rw------- 1 root root 527 Dec 13 2000 ssh_host_key&lt;BR /&gt;-rw-r--r-- 1 root root 331 Dec 13 2000 ssh_host_key.pub&lt;BR /&gt;-rw------- 1 root root 887 Jul 10 2001 ssh_host_rsa_key&lt;BR /&gt;-rw-r--r-- 1 root root 210 Jul 10 2001 ssh_host_rsa_key.pub&lt;BR /&gt;-rw------- 1 root root 512 Jul 10 2001 ssh_random_seed&lt;BR /&gt;&lt;BR /&gt;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?</description>
      <pubDate>Mon, 29 Jul 2002 16:32:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/ssh-failling-on-password-authentication/m-p/2749058#M1816</guid>
      <dc:creator>K.C. Chan</dc:creator>
      <dc:date>2002-07-29T16:32:07Z</dc:date>
    </item>
    <item>
      <title>Re: ssh failling on password authentication</title>
      <link>https://community.hpe.com/t5/operating-system-linux/ssh-failling-on-password-authentication/m-p/2749059#M1817</link>
      <description>I would say it is not ipchains or iptables since root can get out.  Those rules are not user specific.&lt;BR /&gt;&lt;BR /&gt;What is the output of ls -ld /etc/ssh ?&lt;BR /&gt;&lt;BR /&gt;Also, I would move the .ssh directory in the user's home to .ssh.bak.  &lt;BR /&gt;&lt;BR /&gt;This may sound a bit silly, but does the user have write permission to his own home directory?  &lt;BR /&gt;&lt;BR /&gt;Hope this helps,&lt;BR /&gt;&lt;BR /&gt;Chris</description>
      <pubDate>Wed, 31 Jul 2002 16:26:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/ssh-failling-on-password-authentication/m-p/2749059#M1817</guid>
      <dc:creator>Chris Slater</dc:creator>
      <dc:date>2002-07-31T16:26:02Z</dc:date>
    </item>
    <item>
      <title>Re: ssh failling on password authentication</title>
      <link>https://community.hpe.com/t5/operating-system-linux/ssh-failling-on-password-authentication/m-p/2749060#M1818</link>
      <description>here's the perm: drwxr-xr-x    2 root     root         4096 Jul 24 12:13 /etc/ssh&lt;BR /&gt;and yes user has write perm to user's own home.</description>
      <pubDate>Wed, 31 Jul 2002 16:30:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/ssh-failling-on-password-authentication/m-p/2749060#M1818</guid>
      <dc:creator>K.C. Chan</dc:creator>
      <dc:date>2002-07-31T16:30:27Z</dc:date>
    </item>
    <item>
      <title>Re: ssh failling on password authentication</title>
      <link>https://community.hpe.com/t5/operating-system-linux/ssh-failling-on-password-authentication/m-p/2749061#M1819</link>
      <description>Since it looks like you are trying to ssh as root, have you checked the sshd_config file on the server you are trying to ssh to? There may be a line not allowing root ssh. It would look something like this:&lt;BR /&gt;PermitRootLogin no&lt;BR /&gt;you can either change that to yes or login as a different user if that is the case.&lt;BR /&gt;&lt;BR /&gt;Hope this helps.</description>
      <pubDate>Fri, 02 Aug 2002 20:54:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/ssh-failling-on-password-authentication/m-p/2749061#M1819</guid>
      <dc:creator>Jeffrey S. Sims</dc:creator>
      <dc:date>2002-08-02T20:54:33Z</dc:date>
    </item>
  </channel>
</rss>

