<?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 connection to iLo with publickey authentication failure in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/ssh-connection-to-ilo-with-publickey-authentication-failure/m-p/7018845#M81658</link>
    <description>&lt;P&gt;sorry for necroposting, but i have the same problem, i have configured the keys, but when i try to connect with:&lt;/P&gt;&lt;PRE&gt;ssh -v -i path/to/my/key.ppk -o HostKeyAlgorithms=ssh-rsa,ssh-dss -o KexAlgorithms=diffie-hellman-group1-sha1 -o Ciphers=aes128-cbc,3des-cbc -o MACs=hmac-md5,hmac-sha1 usr@ilo&lt;/PRE&gt;&lt;P&gt;i get:&lt;/P&gt;&lt;PRE&gt;debug1: Authentications that can continue: password,publickey
debug1: Next authentication method: password&lt;/PRE&gt;</description>
    <pubDate>Wed, 19 Sep 2018 08:55:12 GMT</pubDate>
    <dc:creator>Rustio</dc:creator>
    <dc:date>2018-09-19T08:55:12Z</dc:date>
    <item>
      <title>SSH connection to iLo with publickey authentication failure</title>
      <link>https://community.hpe.com/t5/operating-system-linux/ssh-connection-to-ilo-with-publickey-authentication-failure/m-p/4130575#M81657</link>
      <description>I've been trying for several days now to configure a workstation to connect to iLo2 using using ssh public key authentication, I want to do this to automate virtual power management into a script.&lt;BR /&gt;&lt;BR /&gt;Here is how the connection fails:&lt;BR /&gt;&lt;BR /&gt;user@localhost:~$ ssh -vi /home/user/.ssh/id_rsa.pub 192.168.1.3&lt;BR /&gt;OpenSSH_4.6p1 Debian-5ubuntu0.1, OpenSSL 0.9.8e 23 Feb 2007&lt;BR /&gt;debug1: Reading configuration data /etc/ssh/ssh_config&lt;BR /&gt;debug1: Applying options for *&lt;BR /&gt;debug1: Connecting to 192.168.1.3 [192.168.1.3] port 22.&lt;BR /&gt;debug1: Connection established.&lt;BR /&gt;debug1: identity file /home/user/.ssh/id_rsa.pub type 1&lt;BR /&gt;debug1: Remote protocol version 2.0, remote software version mpSSH_0.0.1&lt;BR /&gt;debug1: no match: mpSSH_0.0.1&lt;BR /&gt;debug1: Enabling compatibility mode for protocol 2.0&lt;BR /&gt;debug1: Local version string SSH-2.0-OpenSSH_4.6p1 Debian-5ubuntu0.1&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: sending SSH2_MSG_KEXDH_INIT&lt;BR /&gt;debug1: expecting SSH2_MSG_KEXDH_REPLY&lt;BR /&gt;debug1: Host '192.168.1.3' is known and matches the RSA host key.&lt;BR /&gt;debug1: Found key in /home/user/.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: password,publickey&lt;BR /&gt;debug1: Next authentication method: publickey&lt;BR /&gt;debug1: Offering public key: /home/user/.ssh/id_rsa.pub&lt;BR /&gt;debug1: Server accepts key: pkalg ssh-rsa blen 277&lt;BR /&gt;debug1: PEM_read_PrivateKey failed&lt;BR /&gt;debug1: read PEM private key done: type &lt;UNKNOWN&gt;&lt;BR /&gt;Enter passphrase for key '/home/user/.ssh/id_rsa.pub':&lt;BR /&gt;debug1: No more authentication methods to try.&lt;BR /&gt;Permission denied (password,publickey).&lt;BR /&gt;user@localhost:~$&lt;BR /&gt;&lt;BR /&gt;I'm creating my keys with:&lt;BR /&gt;user@local:~$ ssh-keygen -t rsa -F /home/user/.ssh/known_hosts&lt;BR /&gt;&lt;BR /&gt;I tried the configuration recommended for PuTTY in HP's guide for this process and that worked like a charm, which means that the iLo is indeed authenticating with public key, so I'm thinking it must be some setting that I'm missing with OpenSSH.&lt;BR /&gt;&lt;BR /&gt;Any help would be appreciated.&lt;/UNKNOWN&gt;</description>
      <pubDate>Wed, 16 Jan 2008 18:04:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/ssh-connection-to-ilo-with-publickey-authentication-failure/m-p/4130575#M81657</guid>
      <dc:creator>Adrian Hernandez B</dc:creator>
      <dc:date>2008-01-16T18:04:16Z</dc:date>
    </item>
    <item>
      <title>Re: SSH connection to iLo with publickey authentication failure</title>
      <link>https://community.hpe.com/t5/operating-system-linux/ssh-connection-to-ilo-with-publickey-authentication-failure/m-p/7018845#M81658</link>
      <description>&lt;P&gt;sorry for necroposting, but i have the same problem, i have configured the keys, but when i try to connect with:&lt;/P&gt;&lt;PRE&gt;ssh -v -i path/to/my/key.ppk -o HostKeyAlgorithms=ssh-rsa,ssh-dss -o KexAlgorithms=diffie-hellman-group1-sha1 -o Ciphers=aes128-cbc,3des-cbc -o MACs=hmac-md5,hmac-sha1 usr@ilo&lt;/PRE&gt;&lt;P&gt;i get:&lt;/P&gt;&lt;PRE&gt;debug1: Authentications that can continue: password,publickey
debug1: Next authentication method: password&lt;/PRE&gt;</description>
      <pubDate>Wed, 19 Sep 2018 08:55:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/ssh-connection-to-ilo-with-publickey-authentication-failure/m-p/7018845#M81658</guid>
      <dc:creator>Rustio</dc:creator>
      <dc:date>2018-09-19T08:55:12Z</dc:date>
    </item>
    <item>
      <title>Re: SSH connection to iLo with publickey authentication failure</title>
      <link>https://community.hpe.com/t5/operating-system-linux/ssh-connection-to-ilo-with-publickey-authentication-failure/m-p/7019784#M81659</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Im facing the same problem on ILO2.&lt;/P&gt;&lt;P&gt;I've added my RSA key to ILO2 using the ILO2 web interface.&lt;/P&gt;&lt;P&gt;But upon connecting:&lt;/P&gt;&lt;PRE&gt;ssh -o MACs=hmac-sha1 -i ~/.ssh/id_rsa 192.168.1.221 -v&lt;/PRE&gt;&lt;PRE&gt;OpenSSH_7.5p1, OpenSSL 1.0.2k-freebsd  26 Jan 2017
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: /etc/ssh/ssh_config line 3: Deprecated option "useroaming"
debug1: Connecting to 192.168.1.221 [192.168.1.221] port 22.
debug1: Connection established.
debug1: permanently_set_uid: 0/0
debug1: identity file /home/user/.ssh/id_rsa type 1
debug1: Fssh_key_load_public: No such file or directory
debug1: identity file /home/userid_rsa-cert type -1
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_7.5 FreeBSD-20170903
debug1: Remote protocol version 2.0, remote software version mpSSH_0.1.4
debug1: no match: mpSSH_0.1.4
debug1: Authenticating to 192.168.1.221:22 as 'user'
debug1: SSH2_MSG_KEXINIT sent
debug1: SSH2_MSG_KEXINIT received
debug1: kex: algorithm: diffie-hellman-group14-sha1
debug1: kex: host key algorithm: ssh-rsa
debug1: kex: server-&amp;gt;client cipher: aes128-ctr MAC: hmac-sha1 compression: none
debug1: kex: client-&amp;gt;server cipher: aes128-ctr MAC: hmac-sha1 compression: none
debug1: sending SSH2_MSG_KEXDH_INIT
debug1: expecting SSH2_MSG_KEXDH_REPLY
debug1: Server host key: ssh-rsa SHA256:xxxxx.xxxxxxxxxxxx.xxxxxxxxxxx.xxxxxxxx
debug1: skipped DNS lookup for numerical hostname
debug1: Host '192.168.1.221' is known and matches the RSA host key.
debug1: Found key in /home/user/.ssh/known_hosts:4
debug1: rekey after 4294967296 blocks
debug1: SSH2_MSG_NEWKEYS sent
debug1: expecting SSH2_MSG_NEWKEYS
debug1: SSH2_MSG_NEWKEYS received
debug1: rekey after 4294967296 blocks
debug1: SSH2_MSG_SERVICE_ACCEPT received
debug1: Authentications that can continue: password,publickey
debug1: Next authentication method: publickey
debug1: Offering RSA public key: /home/user/.ssh/id_rsa
debug1: Server accepts key: pkalg ssh-rsa blen 279
debug1: Authentications that can continue: password,publickey
debug1: Next authentication method: password
user@192.168.1.221's password:&lt;/PRE&gt;&lt;P&gt;Greetings&lt;/P&gt;</description>
      <pubDate>Thu, 27 Sep 2018 13:05:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/ssh-connection-to-ilo-with-publickey-authentication-failure/m-p/7019784#M81659</guid>
      <dc:creator>JoeDoe1</dc:creator>
      <dc:date>2018-09-27T13:05:42Z</dc:date>
    </item>
  </channel>
</rss>

