<?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 keeps asking for password in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/ssh-keeps-asking-for-password/m-p/4888065#M744880</link>
    <description>Have you also looked at the permissions of the user's home dir on both the server and the client?&lt;BR /&gt;&lt;BR /&gt;They ~/.ssh shouldn't be world or group writable. Same goes for the ~/.ssh/authorized_keys file.&lt;BR /&gt;&lt;BR /&gt;If you're not worried about permissions and don't want to change them, set "StrictModes no" in the servers sshd_config file.&lt;BR /&gt;&lt;BR /&gt;Refer to "man sshd_config" for details.&lt;BR /&gt;&lt;BR /&gt;-denver</description>
    <pubDate>Fri, 25 Feb 2005 10:51:38 GMT</pubDate>
    <dc:creator>Denver Osborn</dc:creator>
    <dc:date>2005-02-25T10:51:38Z</dc:date>
    <item>
      <title>ssh keeps asking for password</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ssh-keeps-asking-for-password/m-p/4888058#M744873</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I have a Debian box with OpenSSH client on it and want to connect to a HP-UX 11.00 server with SSH2 - paswordless. I have generated locally on the client the key pair with ssh-keygen -t dsa and coppied the id_dsa.pub on the server in the $HOME/.ssh2/ directory. I have created there also the authorization file with the entry "Key id_dsa.pub", I have tried also with authorized_key2 file in which I've coppied my id_dsa.pub, The permissions for the files in ssh2 directory are 644, but still the sshd2 asks me for password if I'm trying to login on the HP-UX box (when I'm supplying the password it works, ofcourse). On the client I'm user grigorei, remote - omc, see the attached debug mode from the ssh login.&lt;BR /&gt;&lt;BR /&gt;Thanks in advance&lt;BR /&gt;Ionut</description>
      <pubDate>Fri, 25 Feb 2005 09:34:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ssh-keeps-asking-for-password/m-p/4888058#M744873</guid>
      <dc:creator>Ionut Grigorescu_2</dc:creator>
      <dc:date>2005-02-25T09:34:55Z</dc:date>
    </item>
    <item>
      <title>Re: ssh keeps asking for password</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ssh-keeps-asking-for-password/m-p/4888059#M744874</link>
      <description>Did you cut and paste the public key?? Do not do that do cat file &amp;gt;&amp;gt; to authozied_keys file.&lt;BR /&gt;&lt;BR /&gt;Anil</description>
      <pubDate>Fri, 25 Feb 2005 09:41:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ssh-keeps-asking-for-password/m-p/4888059#M744874</guid>
      <dc:creator>RAC_1</dc:creator>
      <dc:date>2005-02-25T09:41:02Z</dc:date>
    </item>
    <item>
      <title>Re: ssh keeps asking for password</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ssh-keeps-asking-for-password/m-p/4888060#M744875</link>
      <description>Also check you have an identification file for the user, on the server you are connecting from, with an IdKey entry for the private key name.&lt;BR /&gt;&lt;BR /&gt;Keith</description>
      <pubDate>Fri, 25 Feb 2005 09:46:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ssh-keeps-asking-for-password/m-p/4888060#M744875</guid>
      <dc:creator>Keith Bryson</dc:creator>
      <dc:date>2005-02-25T09:46:01Z</dc:date>
    </item>
    <item>
      <title>Re: ssh keeps asking for password</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ssh-keeps-asking-for-password/m-p/4888061#M744876</link>
      <description>I've always did that with cat id_dsa.pub &amp;gt;&amp;gt; authorized_keys2.&lt;BR /&gt;That with identification doesn't work for OpenSSH, I have OpenSSH on the Debian Linux box...</description>
      <pubDate>Fri, 25 Feb 2005 09:50:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ssh-keeps-asking-for-password/m-p/4888061#M744876</guid>
      <dc:creator>Ionut Grigorescu_2</dc:creator>
      <dc:date>2005-02-25T09:50:33Z</dc:date>
    </item>
    <item>
      <title>Re: ssh keeps asking for password</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ssh-keeps-asking-for-password/m-p/4888062#M744877</link>
      <description>"Not a RSA1 key file /home/grigorei/.ssh/id_dsa."&lt;BR /&gt;&lt;BR /&gt;makes me think that, does it need to be a rsa key or a dsa key?? Try both and check.&lt;BR /&gt;&lt;BR /&gt;On hp-ux authorized_keys file is authorized_keys and not authorized_keys2&lt;BR /&gt;&lt;BR /&gt;Also what if you explicitely do ss -2</description>
      <pubDate>Fri, 25 Feb 2005 10:08:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ssh-keeps-asking-for-password/m-p/4888062#M744877</guid>
      <dc:creator>RAC_1</dc:creator>
      <dc:date>2005-02-25T10:08:46Z</dc:date>
    </item>
    <item>
      <title>Re: ssh keeps asking for password</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ssh-keeps-asking-for-password/m-p/4888063#M744878</link>
      <description>Hello,&lt;BR /&gt;&lt;BR /&gt;I have created both rsa and dsa keys, both authorized_keys and authorized_keys2 files, though in man sshd2_config the authorization file is authorization and it has to be in $HOME/.ssh2</description>
      <pubDate>Fri, 25 Feb 2005 10:19:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ssh-keeps-asking-for-password/m-p/4888063#M744878</guid>
      <dc:creator>Ionut Grigorescu_2</dc:creator>
      <dc:date>2005-02-25T10:19:35Z</dc:date>
    </item>
    <item>
      <title>Re: ssh keeps asking for password</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ssh-keeps-asking-for-password/m-p/4888064#M744879</link>
      <description>Let's start all over again. &lt;BR /&gt;You are connecting from linux box (you have openssh on this) to hp-ux. Is that right?? If yes, on hp-ux the file has to be ~/.ssh/authorized_keys file.&lt;BR /&gt;&lt;BR /&gt;Also give sshd -ddd on hp-ux and ssh -vvv from client side.&lt;BR /&gt;&lt;BR /&gt;Anil</description>
      <pubDate>Fri, 25 Feb 2005 10:27:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ssh-keeps-asking-for-password/m-p/4888064#M744879</guid>
      <dc:creator>RAC_1</dc:creator>
      <dc:date>2005-02-25T10:27:05Z</dc:date>
    </item>
    <item>
      <title>Re: ssh keeps asking for password</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ssh-keeps-asking-for-password/m-p/4888065#M744880</link>
      <description>Have you also looked at the permissions of the user's home dir on both the server and the client?&lt;BR /&gt;&lt;BR /&gt;They ~/.ssh shouldn't be world or group writable. Same goes for the ~/.ssh/authorized_keys file.&lt;BR /&gt;&lt;BR /&gt;If you're not worried about permissions and don't want to change them, set "StrictModes no" in the servers sshd_config file.&lt;BR /&gt;&lt;BR /&gt;Refer to "man sshd_config" for details.&lt;BR /&gt;&lt;BR /&gt;-denver</description>
      <pubDate>Fri, 25 Feb 2005 10:51:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ssh-keeps-asking-for-password/m-p/4888065#M744880</guid>
      <dc:creator>Denver Osborn</dc:creator>
      <dc:date>2005-02-25T10:51:38Z</dc:date>
    </item>
    <item>
      <title>Re: ssh keeps asking for password</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ssh-keeps-asking-for-password/m-p/4888066#M744881</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;let's put the things in order:&lt;BR /&gt;&lt;BR /&gt;On the HP-UX side I have a MC/SG cluster, the /d/home directory is NFS-exported to the NIS domain to the cluster it belongs to, so I've thought it's a permission problem. So, I've copied the id_dsa.pub + id_rsa.pub also to the /.ssh2 (root login) - please note - in the $HOME of the user I'm logging in as there are two subdirectories: .ssh and .ssh2. In the .ssh are these two files : authorized_keys and authorized_keys2 where I put the id_dsa.pub and id_rsa.pub. In the root home directory there is only .ssh2, which - according to the man page - is the conf directory for ssh2. However, I've put everywhere the authorized_keys and authorized_keys2 with the rsa and dsa keys and also the authorization file were I put the public key names as instructed by man ssh2 - the identification file is needed by ssh2 only if I want to login from the local machine using ssh2 client (not OpenSSH!!!) to the other machine (in my case from my Unix box to the Debian box, which is not the case) - one comment: I have also another HP-UX 11.00 box where I have installed myself OpenSSH and I could login in it passwordless - I have ssh-agent on the Debian box and I have passed it the passphrase so it negotiates for me with the remote hosts - I don't have to type the passphrase in. I have also did a Ethereal trace but a sniffer cannnot give too many clues - this is actualy the reason for ssh, isn't it?&lt;BR /&gt;&lt;BR /&gt;regards,&lt;BR /&gt;ionut</description>
      <pubDate>Sat, 26 Feb 2005 03:19:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ssh-keeps-asking-for-password/m-p/4888066#M744881</guid>
      <dc:creator>Ionut Grigorescu_2</dc:creator>
      <dc:date>2005-02-26T03:19:44Z</dc:date>
    </item>
    <item>
      <title>Re: ssh keeps asking for password</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ssh-keeps-asking-for-password/m-p/4888067#M744882</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I've tried again with sshd -ddd on the server and ssh -vvv on the client. Attached the result.&lt;BR /&gt;</description>
      <pubDate>Mon, 28 Feb 2005 02:29:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ssh-keeps-asking-for-password/m-p/4888067#M744882</guid>
      <dc:creator>Ionut Grigorescu_2</dc:creator>
      <dc:date>2005-02-28T02:29:45Z</dc:date>
    </item>
    <item>
      <title>Re: ssh keeps asking for password</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ssh-keeps-asking-for-password/m-p/4888068#M744883</link>
      <description>Hello,&lt;BR /&gt;&lt;BR /&gt;I've found it!&lt;BR /&gt;on the OpenSSH client ssh-keygen -e -f id_dsa.pub &amp;gt; id_dsa_new.pub&lt;BR /&gt;-e option read the public key and output the key converted in "SECSH Public Key Format" to stdout to be used with various comercial ssh implementations.I have copied the new key to the .ssh2 directory on the ssh2 server and add the line "Key id_dsa_new.pub" to the authorization file. Now I can login without password/passphrase (ssh-agent is running also on my client).&lt;BR /&gt;&lt;BR /&gt;case closed</description>
      <pubDate>Mon, 28 Feb 2005 02:56:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ssh-keeps-asking-for-password/m-p/4888068#M744883</guid>
      <dc:creator>Ionut Grigorescu_2</dc:creator>
      <dc:date>2005-02-28T02:56:38Z</dc:date>
    </item>
    <item>
      <title>Re: ssh keeps asking for password</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ssh-keeps-asking-for-password/m-p/4888069#M744884</link>
      <description>see the answer above</description>
      <pubDate>Mon, 28 Feb 2005 02:57:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ssh-keeps-asking-for-password/m-p/4888069#M744884</guid>
      <dc:creator>Ionut Grigorescu_2</dc:creator>
      <dc:date>2005-02-28T02:57:15Z</dc:date>
    </item>
  </channel>
</rss>

