<?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: Passwordless SSH problem in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/passwordless-ssh-problem/m-p/4984444#M741073</link>
    <description>I guess the client tries to connect to the server with protocol version 2. The options that you have given works only on protocol version 1. So try to connect to the server explicitly through protocol version 1 by adding -1 option to the commandline&lt;BR /&gt;&lt;BR /&gt;ssh -1 -vvv ........&lt;BR /&gt;&lt;BR /&gt;Make sure the server is started with protocol 1 support. &lt;BR /&gt;&lt;BR /&gt;Note: ssh protocol version 1 is less secured than version 2.</description>
    <pubDate>Mon, 12 Jun 2006 01:31:25 GMT</pubDate>
    <dc:creator>Logu_2</dc:creator>
    <dc:date>2006-06-12T01:31:25Z</dc:date>
    <item>
      <title>Passwordless SSH problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/passwordless-ssh-problem/m-p/4984443#M741072</link>
      <description>I looked through previous posts and tried using the information to get ours working.  I am still having problems.  I have attached the debub information and sshd_config for the connecting system and the ssh_config information of the Windows remote system.  &lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 09 Jun 2006 10:34:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/passwordless-ssh-problem/m-p/4984443#M741072</guid>
      <dc:creator>Larry J. Griswold</dc:creator>
      <dc:date>2006-06-09T10:34:14Z</dc:date>
    </item>
    <item>
      <title>Re: Passwordless SSH problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/passwordless-ssh-problem/m-p/4984444#M741073</link>
      <description>I guess the client tries to connect to the server with protocol version 2. The options that you have given works only on protocol version 1. So try to connect to the server explicitly through protocol version 1 by adding -1 option to the commandline&lt;BR /&gt;&lt;BR /&gt;ssh -1 -vvv ........&lt;BR /&gt;&lt;BR /&gt;Make sure the server is started with protocol 1 support. &lt;BR /&gt;&lt;BR /&gt;Note: ssh protocol version 1 is less secured than version 2.</description>
      <pubDate>Mon, 12 Jun 2006 01:31:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/passwordless-ssh-problem/m-p/4984444#M741073</guid>
      <dc:creator>Logu_2</dc:creator>
      <dc:date>2006-06-12T01:31:25Z</dc:date>
    </item>
    <item>
      <title>Re: Passwordless SSH problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/passwordless-ssh-problem/m-p/4984445#M741074</link>
      <description>Shalom Larry,&lt;BR /&gt;&lt;BR /&gt;The most common issues with password free access are the owner of the home directory and .ssh directory and the permissions therein.&lt;BR /&gt;&lt;BR /&gt;The directories and files must be owned by the user attempting to login.&lt;BR /&gt;&lt;BR /&gt;Default permissions should be what you see below:&lt;BR /&gt;&lt;BR /&gt;drwxr-x---  15 root root 4096 Jun 11 04:42 /root/&lt;BR /&gt;drwx------  2 root root 4096 May 10 08:04 /root/.ssh/&lt;BR /&gt;[root@gated .ssh]# ll&lt;BR /&gt;total 32&lt;BR /&gt;-rw-r--r--  1 root root 3653 Jun  4 02:37 authorized_keys&lt;BR /&gt;-rw-------  1 root root  668 May 10 08:03 id_dsa&lt;BR /&gt;-rw-r--r--  1 root root  614 May 10 08:03 id_dsa.pub&lt;BR /&gt;-rw-r--r--  1 root root 1312 Jun  8 10:31 known_hosts&lt;BR /&gt;&lt;BR /&gt;They may look a bit different under windows, but the permission requires are exactly the same.&lt;BR /&gt;&lt;BR /&gt;ssh/scp/sftp with the -vvv command often brings issues to light.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Mon, 12 Jun 2006 01:42:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/passwordless-ssh-problem/m-p/4984445#M741074</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2006-06-12T01:42:22Z</dc:date>
    </item>
    <item>
      <title>Re: Passwordless SSH problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/passwordless-ssh-problem/m-p/4984446#M741075</link>
      <description>Thanks for your replies, &lt;BR /&gt;&lt;BR /&gt;When I created the keygens on HP-UX and the Windows box I used  &lt;BR /&gt;&lt;BR /&gt;ssh-kengen -t rsa&lt;BR /&gt;&lt;BR /&gt;This should have created a protocol 2 RSA.  I do get the following debug message:&lt;BR /&gt;&lt;BR /&gt;debug1: Enabling compatibility mode for protocol 2.0&lt;BR /&gt;&lt;BR /&gt;I tried forcing protocol 2 and get the same debug messages in the connection attempt:&lt;BR /&gt;&lt;BR /&gt;ssh -i job_tcon_rsa -v -2 dewey.nhctc.edu&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;As for the directory and files, on the HP-UX system I have the permissions set the way you suggested:&lt;BR /&gt;&lt;BR /&gt;drwx------   2 job_tcon   users         2048 Jun 12 07:54 .ssh&lt;BR /&gt;&lt;BR /&gt;-rw-r--r--   1 job_tcon   users          224 Jun  9 08:23 authorized_keys&lt;BR /&gt;-rw-------   1 job_tcon   users          951 Jun  9 08:20 job_tcon_cannon_rsa&lt;BR /&gt;-rw-r--r--   1 job_tcon   users          225 Jun  9 08:20 job_tcon_cannon_rsa.pub&lt;BR /&gt;-rwxr--r--   1 job_tcon   users          475 Jun  9 09:45 known_hosts&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;I did read openSSH for Windows key_authorization.txt file that some Windows servers have problems reading the public key try setting StrictModes to 'no' in sshd_config.  I did that, stop/restart OpenSSH and everything is working.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;Larry&lt;BR /&gt;</description>
      <pubDate>Mon, 12 Jun 2006 07:46:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/passwordless-ssh-problem/m-p/4984446#M741075</guid>
      <dc:creator>Larry J. Griswold</dc:creator>
      <dc:date>2006-06-12T07:46:51Z</dc:date>
    </item>
    <item>
      <title>Re: Passwordless SSH problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/passwordless-ssh-problem/m-p/4984447#M741076</link>
      <description>Look at the previous reply</description>
      <pubDate>Wed, 14 Jun 2006 08:31:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/passwordless-ssh-problem/m-p/4984447#M741076</guid>
      <dc:creator>Larry J. Griswold</dc:creator>
      <dc:date>2006-06-14T08:31:08Z</dc:date>
    </item>
  </channel>
</rss>

