<?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 passwordless connection problem in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/ssh-passwordless-connection-problem/m-p/4343809#M343871</link>
    <description>Hi,&lt;BR /&gt;I changed the permission as you mentioned.&lt;BR /&gt;&lt;BR /&gt;-rwx------   1 user1        users          394 Jan 23 19:18 authorized_keys&lt;BR /&gt;&lt;BR /&gt;But, Still its asking password.&lt;BR /&gt;&lt;BR /&gt;How do I change the HOME directory permission, If its required to change.&lt;BR /&gt;&lt;BR /&gt;Thanks.</description>
    <pubDate>Fri, 23 Jan 2009 20:13:37 GMT</pubDate>
    <dc:creator>mrk_1</dc:creator>
    <dc:date>2009-01-23T20:13:37Z</dc:date>
    <item>
      <title>ssh passwordless connection problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ssh-passwordless-connection-problem/m-p/4343799#M343861</link>
      <description>Hi,&lt;BR /&gt;I tried to setup the passwordless connection to remote host on HP-UX server.&lt;BR /&gt;but still its asking password to connect to remote host.&lt;BR /&gt;&lt;BR /&gt;Attached the procedure.&lt;BR /&gt;&lt;BR /&gt;Can anyone help me to solve the problem.&lt;BR /&gt;&lt;BR /&gt;Thanks in advance.&lt;BR /&gt;</description>
      <pubDate>Fri, 23 Jan 2009 17:37:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ssh-passwordless-connection-problem/m-p/4343799#M343861</guid>
      <dc:creator>mrk_1</dc:creator>
      <dc:date>2009-01-23T17:37:25Z</dc:date>
    </item>
    <item>
      <title>Re: ssh passwordless connection problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ssh-passwordless-connection-problem/m-p/4343800#M343862</link>
      <description>Search the Forum.  This has been covered&lt;BR /&gt;countless times.&lt;BR /&gt;&lt;BR /&gt;"ssh -v [...]" is usually helpful, for a&lt;BR /&gt;start.</description>
      <pubDate>Fri, 23 Jan 2009 18:15:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ssh-passwordless-connection-problem/m-p/4343800#M343862</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2009-01-23T18:15:57Z</dc:date>
    </item>
    <item>
      <title>Re: ssh passwordless connection problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ssh-passwordless-connection-problem/m-p/4343801#M343863</link>
      <description>Also check the permissions of destination ~home and !home/.ssh  directory.&lt;BR /&gt;ssh does not like if permission is open for others.&lt;BR /&gt;&lt;BR /&gt;-USA..</description>
      <pubDate>Fri, 23 Jan 2009 18:24:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ssh-passwordless-connection-problem/m-p/4343801#M343863</guid>
      <dc:creator>Uday_S_Ankolekar</dc:creator>
      <dc:date>2009-01-23T18:24:35Z</dc:date>
    </item>
    <item>
      <title>Re: ssh passwordless connection problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ssh-passwordless-connection-problem/m-p/4343802#M343864</link>
      <description>chmod 777 authorized_keys????&lt;BR /&gt;&lt;BR /&gt;better make it chmod 640 !&lt;BR /&gt;&lt;BR /&gt;cannot check the required settings of .ssh directory itself...&lt;BR /&gt;&lt;BR /&gt;JP</description>
      <pubDate>Fri, 23 Jan 2009 18:43:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ssh-passwordless-connection-problem/m-p/4343802#M343864</guid>
      <dc:creator>Jeroen Peereboom</dc:creator>
      <dc:date>2009-01-23T18:43:05Z</dc:date>
    </item>
    <item>
      <title>Re: ssh passwordless connection problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ssh-passwordless-connection-problem/m-p/4343803#M343865</link>
      <description>Hi,&lt;BR /&gt;Thanks for the reply.&lt;BR /&gt;&lt;BR /&gt;what would be the permission for .ssh folder.&lt;BR /&gt;I changer the chmod 640 for authorized_keys.&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Ram</description>
      <pubDate>Fri, 23 Jan 2009 18:51:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ssh-passwordless-connection-problem/m-p/4343803#M343865</guid>
      <dc:creator>mrk_1</dc:creator>
      <dc:date>2009-01-23T18:51:49Z</dc:date>
    </item>
    <item>
      <title>Re: ssh passwordless connection problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ssh-passwordless-connection-problem/m-p/4343804#M343866</link>
      <description>svr# ls -ld .ssh&lt;BR /&gt;drwx------   2 root     system          512 Jul 03 2007  .ssh&lt;BR /&gt;svr# ls -l .ssh&lt;BR /&gt;total 40&lt;BR /&gt;-rw-------   1 root     system          214 Jul 03 2007  authorized_keys&lt;BR /&gt;-rw-r--r--   1 root     system        12599 Dec 11 14:18 known_hosts&lt;BR /&gt;svr#&lt;BR /&gt;</description>
      <pubDate>Fri, 23 Jan 2009 19:24:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ssh-passwordless-connection-problem/m-p/4343804#M343866</guid>
      <dc:creator>OldSchool</dc:creator>
      <dc:date>2009-01-23T19:24:20Z</dc:date>
    </item>
    <item>
      <title>Re: ssh passwordless connection problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ssh-passwordless-connection-problem/m-p/4343805#M343867</link>
      <description>ls -ld .ssh&lt;BR /&gt;drwx------   2 user1        users         1024 Jan 23 19:20 .ssh&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;ls -l .ssh&lt;BR /&gt;total 4&lt;BR /&gt;-rw-r--r--   1 user1        users          394 Jan 23 19:18 authorized_keys&lt;BR /&gt;-rw-r--r--   1 user1        users          884 Jan 23 19:18 known_hosts&lt;BR /&gt;&lt;BR /&gt;Still not working.&lt;BR /&gt;&lt;BR /&gt;Thanks.</description>
      <pubDate>Fri, 23 Jan 2009 19:31:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ssh-passwordless-connection-problem/m-p/4343805#M343867</guid>
      <dc:creator>mrk_1</dc:creator>
      <dc:date>2009-01-23T19:31:07Z</dc:date>
    </item>
    <item>
      <title>Re: ssh passwordless connection problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ssh-passwordless-connection-problem/m-p/4343806#M343868</link>
      <description>I tried in loal host:&lt;BR /&gt;&lt;BR /&gt;user1@A[XXX]:/users/user1/admin [1] ssh -v B&lt;BR /&gt;&lt;BR /&gt;OpenSSH_4.3p2-hpn, OpenSSL 0.9.7i 14 Oct 2005&lt;BR /&gt;HP-UX Secure Shell-A.04.30.006, HP-UX Secure Shell version&lt;BR /&gt;debug1: Reading configuration data /opt/ssh/etc/ssh_config&lt;BR /&gt;debug1: Connecting to b [xxxxxxxxx] port 22.&lt;BR /&gt;debug1: Connection established.&lt;BR /&gt;debug1: identity file /users/user1/admin/.ssh/id_rsa type 1&lt;BR /&gt;debug1: identity file /users/user1/admin/.ssh/id_dsa type -1&lt;BR /&gt;debug1: Remote protocol version 2.0, remote software version OpenSSH_4.3p2-hpn&lt;BR /&gt;debug1: match: OpenSSH_4.3p2-hpn pat OpenSSH*&lt;BR /&gt;debug1: Enabling compatibility mode for protocol 2.0&lt;BR /&gt;debug1: Local version string SSH-2.0-OpenSSH_4.3p2-hpn&lt;BR /&gt;debug1: SSH2_MSG_KEXINIT sent&lt;BR /&gt;debug1: SSH2_MSG_KEXINIT received&lt;BR /&gt;debug1: kex: server-&amp;gt;client aes128-cbc hmac-md5 none&lt;BR /&gt;debug1: kex: client-&amp;gt;server aes128-cbc hmac-md5 none&lt;BR /&gt;debug1: SSH2_MSG_KEX_DH_GEX_REQUEST(1024&amp;lt;1024&amp;lt;8192) sent&lt;BR /&gt;debug1: expecting SSH2_MSG_KEX_DH_GEX_GROUP&lt;BR /&gt;debug1: SSH2_MSG_KEX_DH_GEX_INIT sent&lt;BR /&gt;debug1: expecting SSH2_MSG_KEX_DH_GEX_REPLY&lt;BR /&gt;debug1: Host 'B' is known and matches the RSA host key.&lt;BR /&gt;debug1: Found key in /users/user1/admin/.ssh/known_hosts:1&lt;BR /&gt;debug1: ssh_rsa_verify: signature correct&lt;BR /&gt;debug1: SSH2_MSG_NEWKEYS sent&lt;BR /&gt;debug1: expecting SSH2_MSG_NEWKEYS&lt;BR /&gt;debug1: SSH2_MSG_NEWKEYS received&lt;BR /&gt;debug1: SSH2_MSG_SERVICE_REQUEST sent&lt;BR /&gt;debug1: SSH2_MSG_SERVICE_ACCEPT received&lt;BR /&gt;debug1: Authentications that can continue: publickey,password,keyboard-interactive&lt;BR /&gt;debug1: Next authentication method: publickey&lt;BR /&gt;debug1: Offering public key: /users/user1/admin/.ssh/id_rsa&lt;BR /&gt;debug1: Authentications that can continue: publickey,password,keyboard-interactive&lt;BR /&gt;debug1: Trying private key: /users/user1/admin/.ssh/id_dsa&lt;BR /&gt;debug1: Next authentication method: keyboard-interactive&lt;BR /&gt;Password:&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Still asking password....&lt;BR /&gt;</description>
      <pubDate>Fri, 23 Jan 2009 19:43:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ssh-passwordless-connection-problem/m-p/4343806#M343868</guid>
      <dc:creator>mrk_1</dc:creator>
      <dc:date>2009-01-23T19:43:51Z</dc:date>
    </item>
    <item>
      <title>Re: ssh passwordless connection problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ssh-passwordless-connection-problem/m-p/4343807#M343869</link>
      <description>I said:&lt;BR /&gt;ls -ld .ssh&lt;BR /&gt;drwx------ 2 root system 512 Jul 03 2007 .ssh&lt;BR /&gt;ls -l .ssh&lt;BR /&gt;total 40&lt;BR /&gt;-rw------- 1 root system 214 Jul 03 2007 authorized_keys&lt;BR /&gt;-rw-r--r-- 1 root system 12599 Dec 11 14:18 known_hosts&lt;BR /&gt;svr#&lt;BR /&gt;&lt;BR /&gt;You said:&lt;BR /&gt;ls -ld .ssh&lt;BR /&gt;drwx------ 2 user1 users 1024 Jan 23 19:20 .ssh&lt;BR /&gt;ls -l .ssh&lt;BR /&gt;total 4&lt;BR /&gt;-rw-r--r-- 1 user1 users 394 Jan 23 19:18 authorized_keys&lt;BR /&gt;-rw-r--r-- 1 user1 users 884 Jan 23 19:18 known_hosts&lt;BR /&gt;&lt;BR /&gt;Do you see the difference?&lt;BR /&gt;&lt;BR /&gt;And the permissions need to be correct on both ends of the connection.&lt;BR /&gt;</description>
      <pubDate>Fri, 23 Jan 2009 19:58:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ssh-passwordless-connection-problem/m-p/4343807#M343869</guid>
      <dc:creator>OldSchool</dc:creator>
      <dc:date>2009-01-23T19:58:28Z</dc:date>
    </item>
    <item>
      <title>Re: ssh passwordless connection problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ssh-passwordless-connection-problem/m-p/4343808#M343870</link>
      <description>Hi all,&lt;BR /&gt;I found below error in /var/adm/syslog/syslog.log at remote host B when I tried from local host A.&lt;BR /&gt;&lt;BR /&gt;Jan 23 19:58:07 B sshd[22075]: Authentication refused: bad ownership or modes for directory /users/user1/admin&lt;BR /&gt;&lt;BR /&gt;Home directory of user1 is looking bad authendication at Remote host.&lt;BR /&gt;&lt;BR /&gt;Is it necessary to be same permission for both HOME directory.&lt;BR /&gt;&lt;BR /&gt;Thanks.&lt;BR /&gt;</description>
      <pubDate>Fri, 23 Jan 2009 20:08:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ssh-passwordless-connection-problem/m-p/4343808#M343870</guid>
      <dc:creator>mrk_1</dc:creator>
      <dc:date>2009-01-23T20:08:24Z</dc:date>
    </item>
    <item>
      <title>Re: ssh passwordless connection problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ssh-passwordless-connection-problem/m-p/4343809#M343871</link>
      <description>Hi,&lt;BR /&gt;I changed the permission as you mentioned.&lt;BR /&gt;&lt;BR /&gt;-rwx------   1 user1        users          394 Jan 23 19:18 authorized_keys&lt;BR /&gt;&lt;BR /&gt;But, Still its asking password.&lt;BR /&gt;&lt;BR /&gt;How do I change the HOME directory permission, If its required to change.&lt;BR /&gt;&lt;BR /&gt;Thanks.</description>
      <pubDate>Fri, 23 Jan 2009 20:13:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ssh-passwordless-connection-problem/m-p/4343809#M343871</guid>
      <dc:creator>mrk_1</dc:creator>
      <dc:date>2009-01-23T20:13:37Z</dc:date>
    </item>
    <item>
      <title>Re: ssh passwordless connection problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ssh-passwordless-connection-problem/m-p/4343810#M343872</link>
      <description>"Jan 23 19:58:07 B sshd[22075]: Authentication refused: bad ownership or modes for directory /users/user1/admin"&lt;BR /&gt;&lt;BR /&gt;where is the .ssh directory located? in /users/user1/admin??? if so, you need to lock that down.  in addition the permissions on the "authorized_keys" file needs to be set.&lt;BR /&gt;&lt;BR /&gt;the permissions need to be set up such that no one other that the owner can remove/replace the keys.  as noted before, this is all explained in other posts here.  &lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 23 Jan 2009 20:18:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ssh-passwordless-connection-problem/m-p/4343810#M343872</guid>
      <dc:creator>OldSchool</dc:creator>
      <dc:date>2009-01-23T20:18:46Z</dc:date>
    </item>
    <item>
      <title>Re: ssh passwordless connection problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ssh-passwordless-connection-problem/m-p/4343811#M343873</link>
      <description>&lt;BR /&gt;Thank you very much for all your help.&lt;BR /&gt;Finally issue is resolved.&lt;BR /&gt;I changed the permission of the user home directory.&lt;BR /&gt;The home directory of local and remote host must be same. I found this one of other thread of this forum. &lt;BR /&gt;So, I changed the permission of the home directory and its working fine now. &lt;BR /&gt;&lt;BR /&gt;But it should be done by root user i think.i tried this in root user only. As the normal user cant change their own home directory permission.&lt;BR /&gt;&lt;BR /&gt;Can any one confirm me that is it correct.&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Ram&lt;BR /&gt;</description>
      <pubDate>Sat, 24 Jan 2009 01:28:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ssh-passwordless-connection-problem/m-p/4343811#M343873</guid>
      <dc:creator>mrk_1</dc:creator>
      <dc:date>2009-01-24T01:28:37Z</dc:date>
    </item>
    <item>
      <title>Re: ssh passwordless connection problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ssh-passwordless-connection-problem/m-p/4343812#M343874</link>
      <description>&amp;gt;As the normal user can't change their own home directory permission.&lt;BR /&gt;&lt;BR /&gt;Typically the user owns his own home directory so he can change its permissions.</description>
      <pubDate>Sat, 24 Jan 2009 01:52:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ssh-passwordless-connection-problem/m-p/4343812#M343874</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2009-01-24T01:52:08Z</dc:date>
    </item>
    <item>
      <title>Re: ssh passwordless connection problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ssh-passwordless-connection-problem/m-p/4343813#M343875</link>
      <description>Thanks Dennis..&lt;BR /&gt;I tried to change home directory permission using normal user. I am able to change the home directory. Its working now... &lt;BR /&gt;&lt;BR /&gt;Once again thank you all..&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;Ram</description>
      <pubDate>Sat, 24 Jan 2009 02:07:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ssh-passwordless-connection-problem/m-p/4343813#M343875</guid>
      <dc:creator>mrk_1</dc:creator>
      <dc:date>2009-01-24T02:07:36Z</dc:date>
    </item>
  </channel>
</rss>

