<?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 public in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/ssh-public/m-p/4754663#M388554</link>
    <description>&lt;!--!*#--&gt;Your private key (~/.ssh/id_rsa) should look something like this:&lt;BR /&gt;[jimw@jimwpc3 ~]$ cat .ssh/id_rsa&lt;BR /&gt;-----BEGIN RSA PRIVATE KEY-----&lt;BR /&gt;Proc-Type: 4,ENCRYPTED&lt;BR /&gt;DEK-Info: DES-EDE3-CBC,F03C935A5BDDE52C&lt;BR /&gt;&lt;BR /&gt;l5LOEVNFjH9mHEe5P5ONRoN/8EC+E5E+JGrQ9hbh9MQjkO5DoFXHFvFocof&lt;BR /&gt;.&lt;BR /&gt;.&lt;BR /&gt;.&lt;BR /&gt;2BpLotM4cRWYj/ik+8XesiCqD8UGEXYPsyvDcpXsLYHtf2VRA7d0esSIrgXXRGlv&lt;BR /&gt;TCnLBqTESaUA59RJCIGA79x3NXwZdpuFZvZ6e3EHzbs9fnXpGO45wQ==&lt;BR /&gt;-----END RSA PRIVATE KEY-----&lt;BR /&gt;&lt;BR /&gt;Each line of gibberish, except perhaps the last, is the same length and should terminate with a new-line character.&lt;BR /&gt;&lt;BR /&gt;If it doesn't then try generating a new key-pair.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Fri, 25 Feb 2011 03:21:14 GMT</pubDate>
    <dc:creator>Jim Walls</dc:creator>
    <dc:date>2011-02-25T03:21:14Z</dc:date>
    <item>
      <title>ssh public</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ssh-public/m-p/4754656#M388547</link>
      <description>I am trying to set up password less ssh connection between 2 HP servers (one of them is on a remote client site). This does not seem to be working (ie using publickeyauthentication) and is prompting for a password everytime. &lt;BR /&gt;&lt;BR /&gt;I have tested the same configuration between two internal HP servers without a problem.&lt;BR /&gt;&lt;BR /&gt;Here is the debug from the non-working setup:-&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 /boesys/jas/.ssh/config&lt;BR /&gt;debug1: Reading configuration data /opt/ssh/etc/ssh_config&lt;BR /&gt;debug3: RNG is ready, skipping seeding&lt;BR /&gt;debug2: ssh_connect: needpriv 0&lt;BR /&gt;debug1: Connecting to pace_test  port 22.&lt;BR /&gt;debug1: Connection established.&lt;BR /&gt;debug3: Not a RSA1 key file /boesys/jas/.ssh/id_rsa.&lt;BR /&gt;debug2: key_type_from_name: unknown key type '-----BEGIN'&lt;BR /&gt;debug3: key_read: missing keytype&lt;BR /&gt;debug3: key_read: missing whitespace&lt;BR /&gt;debug3: key_read: missing whitespace&lt;BR /&gt;debug3: key_read: missing whitespace&lt;BR /&gt;debug3: key_read: missing whitespace&lt;BR /&gt;debug3: key_read: missing whitespace&lt;BR /&gt;debug3: key_read: missing whitespace&lt;BR /&gt;debug3: key_read: missing whitespace&lt;BR /&gt;debug3: key_read: missing whitespace&lt;BR /&gt;debug3: key_read: missing whitespace&lt;BR /&gt;debug3: key_read: missing whitespace&lt;BR /&gt;debug3: key_read: missing whitespace&lt;BR /&gt;debug3: key_read: missing whitespace&lt;BR /&gt;debug3: key_read: missing whitespace&lt;BR /&gt;debug3: key_read: missing whitespace&lt;BR /&gt;debug3: key_read: missing whitespace&lt;BR /&gt;debug3: key_read: missing whitespace&lt;BR /&gt;debug3: key_read: missing whitespace&lt;BR /&gt;debug3: key_read: missing whitespace&lt;BR /&gt;debug3: key_read: missing whitespace&lt;BR /&gt;debug3: key_read: missing whitespace&lt;BR /&gt;debug3: key_read: missing whitespace&lt;BR /&gt;debug3: key_read: missing whitespace&lt;BR /&gt;debug3: key_read: missing whitespace&lt;BR /&gt;debug3: key_read: missing whitespace&lt;BR /&gt;debug3: key_read: missing whitespace&lt;BR /&gt;debug2: key_type_from_name: unknown key type '-----END'&lt;BR /&gt;debug3: key_read: missing keytype&lt;BR /&gt;debug1: identity file /boesys/jas/.ssh/id_rsa type 1&lt;BR /&gt;debug3: Not a RSA1 key file /boesys/jas/.ssh/id_dsa.&lt;BR /&gt;debug2: key_type_from_name: unknown key type '-----BEGIN'&lt;BR /&gt;debug3: key_read: missing keytype&lt;BR /&gt;debug3: key_read: missing whitespace&lt;BR /&gt;debug3: key_read: missing whitespace&lt;BR /&gt;debug3: key_read: missing whitespace&lt;BR /&gt;debug3: key_read: missing whitespace&lt;BR /&gt;debug3: key_read: missing whitespace&lt;BR /&gt;debug3: key_read: missing whitespace&lt;BR /&gt;debug3: key_read: missing whitespace&lt;BR /&gt;debug3: key_read: missing whitespace&lt;BR /&gt;debug3: key_read: missing whitespace&lt;BR /&gt;debug3: key_read: missing whitespace&lt;BR /&gt;debug2: key_type_from_name: unknown key type '-----END'&lt;BR /&gt;debug3: key_read: missing keytype&lt;BR /&gt;debug1: identity file /boesys/jas/.ssh/id_dsa type 2&lt;BR /&gt;debug1: Remote protocol version 2.0, remote software version OpenSSH_4.6&lt;BR /&gt;debug1: match: OpenSSH_4.6 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;debug2: fd 4 setting O_NONBLOCK&lt;BR /&gt;debug3: RNG is ready, skipping seeding&lt;BR /&gt;debug1: SSH2_MSG_KEXINIT sent&lt;BR /&gt;debug1: SSH2_MSG_KEXINIT received&lt;BR /&gt;debug2: kex_parse_kexinit: diffie-hellman-group-exchange-sha1,diffie-hellman-gr1&lt;BR /&gt;debug2: kex_parse_kexinit: ssh-rsa,ssh-dss&lt;BR /&gt;debug2: kex_parse_kexinit: aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,arcfourr&lt;BR /&gt;debug2: kex_parse_kexinit: aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,arcfourr&lt;BR /&gt;debug2: kex_parse_kexinit: hmac-md5,hmac-sha1,hmac-ripemd160,hmac-ripemd160@ope6&lt;BR /&gt;debug2: kex_parse_kexinit: hmac-md5,hmac-sha1,hmac-ripemd160,hmac-ripemd160@ope6&lt;BR /&gt;debug2: kex_parse_kexinit: none,zlib@openssh.com,zlib&lt;BR /&gt;debug2: kex_parse_kexinit: none,zlib@openssh.com,zlib&lt;BR /&gt;debug2: kex_parse_kexinit: &lt;BR /&gt;debug2: kex_parse_kexinit: &lt;BR /&gt;debug2: kex_parse_kexinit: first_kex_follows 0 &lt;BR /&gt;debug2: kex_parse_kexinit: reserved 0 &lt;BR /&gt;debug2: kex_parse_kexinit: diffie-hellman-group-exchange-sha256,diffie-hellman-1&lt;BR /&gt;debug2: kex_parse_kexinit: ssh-dss,ssh-rsa&lt;BR /&gt;debug2: kex_parse_kexinit: aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,arcfourr&lt;BR /&gt;debug2: kex_parse_kexinit: aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,arcfourr&lt;BR /&gt;debug2: kex_parse_kexinit: hmac-md5,hmac-sha1,hmac-ripemd160,hmac-ripemd160@ope6&lt;BR /&gt;debug2: kex_parse_kexinit: hmac-md5,hmac-sha1,hmac-ripemd160,hmac-ripemd160@ope6&lt;BR /&gt;debug2: kex_parse_kexinit: none&lt;BR /&gt;debug2: kex_parse_kexinit: none&lt;BR /&gt;debug2: kex_parse_kexinit: &lt;BR /&gt;debug2: kex_parse_kexinit: &lt;BR /&gt;debug2: kex_parse_kexinit: first_kex_follows 0 &lt;BR /&gt;debug2: kex_parse_kexinit: reserved 0 &lt;BR /&gt;debug2: mac_init: found hmac-md5&lt;BR /&gt;debug1: kex: server-&amp;gt;client aes128-cbc hmac-md5 none&lt;BR /&gt;debug2: mac_init: found hmac-md5&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;debug2: dh_gen_key: priv key bits set: 116/256&lt;BR /&gt;debug2: bits set: 518/1024&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;debug3: check_host_in_hostfile: filename /boesys/jas/.ssh/known_hosts&lt;BR /&gt;debug3: check_host_in_hostfile: match line 1&lt;BR /&gt;debug3: check_host_in_hostfile: filename /boesys/jas/.ssh/known_hosts&lt;BR /&gt;debug3: check_host_in_hostfile: match line 2&lt;BR /&gt;debug1: Host 'pace_test' is known and matches the RSA host key.&lt;BR /&gt;debug1: Found key in /boesys/jas/.ssh/known_hosts:1&lt;BR /&gt;debug2: bits set: 533/1024&lt;BR /&gt;debug1: ssh_rsa_verify: signature correct&lt;BR /&gt;debug2: kex_derive_keys&lt;BR /&gt;debug2: set_newkeys: mode 1&lt;BR /&gt;debug1: SSH2_MSG_NEWKEYS sent&lt;BR /&gt;debug1: expecting SSH2_MSG_NEWKEYS&lt;BR /&gt;debug2: set_newkeys: mode 0&lt;BR /&gt;debug1: SSH2_MSG_NEWKEYS received&lt;BR /&gt;debug1: SSH2_MSG_SERVICE_REQUEST sent&lt;BR /&gt;debug2: service_accept: ssh-userauth&lt;BR /&gt;debug1: SSH2_MSG_SERVICE_ACCEPT received&lt;BR /&gt;debug2: key: /boesys/jas/.ssh/id_rsa (40034c38)&lt;BR /&gt;debug2: key: /boesys/jas/.ssh/id_dsa (4002ed10)&lt;BR /&gt;debug1: Authentications that can continue: password,keyboard-interactive,&lt;BR /&gt;debug3: start over, passed a different list password,keyboard-interactive,&lt;BR /&gt;debug3: preferred publickey,keyboard-interactive,password&lt;BR /&gt;debug3: authmethod_lookup keyboard-interactive&lt;BR /&gt;debug3: remaining preferred: password&lt;BR /&gt;debug3: authmethod_is_enabled keyboard-interactive&lt;BR /&gt;debug1: Next authentication method: keyboard-interactive&lt;BR /&gt;debug2: userauth_kbdint&lt;BR /&gt;debug2: we sent a keyboard-interactive packet, wait for reply&lt;BR /&gt;debug2: input_userauth_info_req&lt;BR /&gt;debug2: input_userauth_info_req: num_prompts 1&lt;BR /&gt;Password: &lt;BR /&gt;&lt;BR /&gt;Any ideas ?</description>
      <pubDate>Fri, 18 Feb 2011 10:41:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ssh-public/m-p/4754656#M388547</guid>
      <dc:creator>Jasdayal Dhanoa</dc:creator>
      <dc:date>2011-02-18T10:41:46Z</dc:date>
    </item>
    <item>
      <title>Re: ssh public</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ssh-public/m-p/4754657#M388548</link>
      <description>&lt;!--!*#--&gt;&amp;gt; I am trying to set up password less ssh&lt;BR /&gt;&amp;gt; connection [...]&lt;BR /&gt;&lt;BR /&gt;How, exactly?&lt;BR /&gt;&lt;BR /&gt;&amp;gt; debug3: Not a RSA1 key file /boesys/jas/.ssh/id_rsa.&lt;BR /&gt;&amp;gt; debug2: key_type_from_name: unknown key type '-----BEGIN'&lt;BR /&gt;&amp;gt; debug3: key_read: missing keytype&lt;BR /&gt;&amp;gt; debug3: key_read: missing whitespace&lt;BR /&gt;&amp;gt; [...]&lt;BR /&gt;&amp;gt; debug1: identity file /boesys/jas/.ssh/id_rsa type 1&lt;BR /&gt;&amp;gt; debug3: Not a RSA1 key file /boesys/jas/.ssh/id_dsa.&lt;BR /&gt;&amp;gt; debug2: key_type_from_name: unknown key type '-----BEGIN'&lt;BR /&gt;&amp;gt; debug3: key_read: missing keytype&lt;BR /&gt;&amp;gt; debug3: key_read: missing whitespace&lt;BR /&gt;&amp;gt; [...]&lt;BR /&gt;&lt;BR /&gt;Who made your key file(s)?  (Where?)&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&amp;gt; OpenSSH_4.3p2-hpn, OpenSSL 0.9.7i 14 Oct 2005&lt;BR /&gt;&amp;gt; HP-UX Secure Shell-A.04.30.006, HP-UX Secure Shell version&lt;BR /&gt;&lt;BR /&gt;Is that the latest version?  (But even the&lt;BR /&gt;latest version can't work with wrong-format&lt;BR /&gt;key files.)&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Did you look at any of the many similar old&lt;BR /&gt;threads in this forum before asking?</description>
      <pubDate>Fri, 18 Feb 2011 12:54:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ssh-public/m-p/4754657#M388548</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2011-02-18T12:54:39Z</dc:date>
    </item>
    <item>
      <title>Re: ssh public</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ssh-public/m-p/4754658#M388549</link>
      <description>The ssh keys were produced using "ssh-keygen -t rsa". The id_rsa.pub was copied over to the remote client. &lt;BR /&gt;&lt;BR /&gt;All servers running HPUX 11iv1.</description>
      <pubDate>Fri, 18 Feb 2011 13:28:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ssh-public/m-p/4754658#M388549</guid>
      <dc:creator>Jasdayal Dhanoa</dc:creator>
      <dc:date>2011-02-18T13:28:04Z</dc:date>
    </item>
    <item>
      <title>Re: ssh public</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ssh-public/m-p/4754659#M388550</link>
      <description>make sure that RSA pub keys you are copied  to the remort system is perfect. Also check the permission of home directory of the users on client and server system should be same .755.&lt;BR /&gt;Also refer syslog of remote system for additional information.there you can find out any problems due to permissions.</description>
      <pubDate>Fri, 18 Feb 2011 14:07:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ssh-public/m-p/4754659#M388550</guid>
      <dc:creator>nijokj</dc:creator>
      <dc:date>2011-02-18T14:07:07Z</dc:date>
    </item>
    <item>
      <title>Re: ssh public</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ssh-public/m-p/4754660#M388551</link>
      <description>&amp;gt; . The id_rsa.pub was copied over to the remote client. &lt;BR /&gt; &lt;BR /&gt;How did you add this key to authorized_keys? The simplest is to append it. If you use vi, use the :r command to read the file. Copy-paste is definitely the least reliable because the line is too long and your terminal emulator (or vi) can truncate or split the line.&lt;BR /&gt; &lt;BR /&gt;Finally, permissions on .ssh MUST BE 700, and 600 for all the files in the .ssh directory. And just in case you have really big problems, verify that no one has corrupted the permissions for / and your $HOME directory:&lt;BR /&gt; &lt;BR /&gt;ll -d / $HOME&lt;BR /&gt;drwxr-xr-x  22 root       root          8192 Feb 18 09:17 /&lt;BR /&gt;drwxr-xr-x  12 root       sys           8192 Feb 18 08:39 /root&lt;BR /&gt;</description>
      <pubDate>Fri, 18 Feb 2011 14:18:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ssh-public/m-p/4754660#M388551</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2011-02-18T14:18:58Z</dc:date>
    </item>
    <item>
      <title>Re: ssh public</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ssh-public/m-p/4754661#M388552</link>
      <description>The key was appended using cat. The permissions are only read/write for owner.</description>
      <pubDate>Fri, 18 Feb 2011 14:20:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ssh-public/m-p/4754661#M388552</guid>
      <dc:creator>Jasdayal Dhanoa</dc:creator>
      <dc:date>2011-02-18T14:20:53Z</dc:date>
    </item>
    <item>
      <title>Re: ssh public</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ssh-public/m-p/4754662#M388553</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;try debugging.&lt;BR /&gt;&lt;BR /&gt;first run sshd in debug mode in the server that you are trying to connect.&lt;BR /&gt;&lt;BR /&gt;/usr/sbin/sshd -d -D -p 9999&lt;BR /&gt;&lt;BR /&gt;that will listen the ssh connections from port 9999. and give dbug information to terminal. Debug information will give what is wrong information.&lt;BR /&gt;&lt;BR /&gt;than try to connect it from client&lt;BR /&gt;&lt;BR /&gt;ssh -p 9999 user@server_ip&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 24 Feb 2011 10:35:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ssh-public/m-p/4754662#M388553</guid>
      <dc:creator>Kenan Erdey</dc:creator>
      <dc:date>2011-02-24T10:35:40Z</dc:date>
    </item>
    <item>
      <title>Re: ssh public</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ssh-public/m-p/4754663#M388554</link>
      <description>&lt;!--!*#--&gt;Your private key (~/.ssh/id_rsa) should look something like this:&lt;BR /&gt;[jimw@jimwpc3 ~]$ cat .ssh/id_rsa&lt;BR /&gt;-----BEGIN RSA PRIVATE KEY-----&lt;BR /&gt;Proc-Type: 4,ENCRYPTED&lt;BR /&gt;DEK-Info: DES-EDE3-CBC,F03C935A5BDDE52C&lt;BR /&gt;&lt;BR /&gt;l5LOEVNFjH9mHEe5P5ONRoN/8EC+E5E+JGrQ9hbh9MQjkO5DoFXHFvFocof&lt;BR /&gt;.&lt;BR /&gt;.&lt;BR /&gt;.&lt;BR /&gt;2BpLotM4cRWYj/ik+8XesiCqD8UGEXYPsyvDcpXsLYHtf2VRA7d0esSIrgXXRGlv&lt;BR /&gt;TCnLBqTESaUA59RJCIGA79x3NXwZdpuFZvZ6e3EHzbs9fnXpGO45wQ==&lt;BR /&gt;-----END RSA PRIVATE KEY-----&lt;BR /&gt;&lt;BR /&gt;Each line of gibberish, except perhaps the last, is the same length and should terminate with a new-line character.&lt;BR /&gt;&lt;BR /&gt;If it doesn't then try generating a new key-pair.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 25 Feb 2011 03:21:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ssh-public/m-p/4754663#M388554</guid>
      <dc:creator>Jim Walls</dc:creator>
      <dc:date>2011-02-25T03:21:14Z</dc:date>
    </item>
  </channel>
</rss>

