<?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 SSH key auto authentication Linux in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/ssh-key-auto-authentication-linux/m-p/4799785#M44544</link>
    <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I tried to create ssh key in order easy to me to access into server without key in credential. unfortunately it only for 1st login and after that it's back to normal which is i need to key in manually credential.&lt;BR /&gt;&lt;BR /&gt;May i know is there has any step need to perform to put this permanently?&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;&lt;BR /&gt;BR&lt;BR /&gt;Naj</description>
    <pubDate>Sat, 18 Jun 2011 11:03:27 GMT</pubDate>
    <dc:creator>Naj</dc:creator>
    <dc:date>2011-06-18T11:03:27Z</dc:date>
    <item>
      <title>SSH key auto authentication Linux</title>
      <link>https://community.hpe.com/t5/operating-system-linux/ssh-key-auto-authentication-linux/m-p/4799785#M44544</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I tried to create ssh key in order easy to me to access into server without key in credential. unfortunately it only for 1st login and after that it's back to normal which is i need to key in manually credential.&lt;BR /&gt;&lt;BR /&gt;May i know is there has any step need to perform to put this permanently?&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;&lt;BR /&gt;BR&lt;BR /&gt;Naj</description>
      <pubDate>Sat, 18 Jun 2011 11:03:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/ssh-key-auto-authentication-linux/m-p/4799785#M44544</guid>
      <dc:creator>Naj</dc:creator>
      <dc:date>2011-06-18T11:03:27Z</dc:date>
    </item>
    <item>
      <title>Re: SSH key auto authentication Linux</title>
      <link>https://community.hpe.com/t5/operating-system-linux/ssh-key-auto-authentication-linux/m-p/4799786#M44545</link>
      <description>First create the key (unless already did) with "ssh-keygen -t rsa"&lt;BR /&gt;&lt;BR /&gt;then copy the key to the remote station with&lt;BR /&gt;"ssh-copy-id user@machine"&lt;BR /&gt;&lt;BR /&gt;replace the user/machine with the actual username and machine name.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;If still doesn't work - check the file /etc/ssh/sshd_config&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Pay attention to entries like:&lt;BR /&gt;PubkeyAuthentication&lt;BR /&gt;PermitRootLogin&lt;BR /&gt;all should be set to yes.</description>
      <pubDate>Sun, 19 Jun 2011 12:20:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/ssh-key-auto-authentication-linux/m-p/4799786#M44545</guid>
      <dc:creator>Alexander Chuzhoy</dc:creator>
      <dc:date>2011-06-19T12:20:32Z</dc:date>
    </item>
    <item>
      <title>Re: SSH key auto authentication Linux</title>
      <link>https://community.hpe.com/t5/operating-system-linux/ssh-key-auto-authentication-linux/m-p/4799787#M44546</link>
      <description>&lt;!--!*#--&gt;&amp;gt; I tried to create ssh key [...]&lt;BR /&gt;&lt;BR /&gt;Not a very detailed description of what you&lt;BR /&gt;did.&lt;BR /&gt;&lt;BR /&gt;&amp;gt; [...] Linux [...] server [...]&lt;BR /&gt;&lt;BR /&gt;Not a very detailed description of the system&lt;BR /&gt;where you did it (or of the other system,&lt;BR /&gt;either).&lt;BR /&gt;&lt;BR /&gt;&amp;gt; [...] it only for 1st login and after that it's back to normal [...]&lt;BR /&gt;&lt;BR /&gt;Not a very detailed description of what&lt;BR /&gt;happened when you did it.&lt;BR /&gt;&lt;BR /&gt;As usual, showing actual commands with their&lt;BR /&gt;actual output can be more helpful than vague&lt;BR /&gt;descriptions or interpretations.&lt;BR /&gt;&lt;BR /&gt;As a Forum search for "ssh" should show,&lt;BR /&gt;adding "-v" (or "-vv", ...) to an "ssh"&lt;BR /&gt;command can provide some diagnostics which&lt;BR /&gt;might be helpful.  Some authentication&lt;BR /&gt;problems leave messages in the system log&lt;BR /&gt;file(s).  I've never seen a problem where&lt;BR /&gt;"ssh" worked only once.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&amp;gt; PermitRootLogin&lt;BR /&gt;&amp;gt; all should be set to yes.&lt;BR /&gt;&lt;BR /&gt;Who said anything about user "root" being&lt;BR /&gt;involved here?</description>
      <pubDate>Sun, 19 Jun 2011 17:31:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/ssh-key-auto-authentication-linux/m-p/4799787#M44546</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2011-06-19T17:31:32Z</dc:date>
    </item>
    <item>
      <title>Re: SSH key auto authentication Linux</title>
      <link>https://community.hpe.com/t5/operating-system-linux/ssh-key-auto-authentication-linux/m-p/4799788#M44547</link>
      <description>Hi Steven Schweda,&lt;BR /&gt;&lt;BR /&gt;May i know what is solution for this issue as far as you understand?&lt;BR /&gt;I never seen any solution come out from your end. The main objective is to be able both workstation and server communicating each other via ssh without keyed any credential where is server is Linux and workstation using Linux as well.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;&lt;BR /&gt;BR &lt;BR /&gt;Naj</description>
      <pubDate>Sun, 19 Jun 2011 23:14:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/ssh-key-auto-authentication-linux/m-p/4799788#M44547</guid>
      <dc:creator>Naj</dc:creator>
      <dc:date>2011-06-19T23:14:11Z</dc:date>
    </item>
    <item>
      <title>Re: SSH key auto authentication Linux</title>
      <link>https://community.hpe.com/t5/operating-system-linux/ssh-key-auto-authentication-linux/m-p/4799789#M44548</link>
      <description>&lt;!--!*#--&gt;&amp;gt; [...] I never seen any solution come out&lt;BR /&gt;&amp;gt; from your end. [...]&lt;BR /&gt;&lt;BR /&gt;You probably won't see much from me until you&lt;BR /&gt;answer some basic questions, like, say,&lt;BR /&gt;"What, exactly, did you do?" and, "What,&lt;BR /&gt;exactly, happened when you did it?".  With my&lt;BR /&gt;weak psychic powers, I can't even guess any&lt;BR /&gt;of these things.&lt;BR /&gt;&lt;BR /&gt;&amp;gt; [...] adding "-v" (or "-vv", ...) [...]&lt;BR /&gt;&lt;BR /&gt;Did you try that?  What happened?&lt;BR /&gt;&lt;BR /&gt;&amp;gt; As a Forum search for "ssh" should show,&lt;BR /&gt;&amp;gt; [...]&lt;BR /&gt;&lt;BR /&gt;Did you look at any of the dozens of old&lt;BR /&gt;threads related to "ssh" problems?  Some&lt;BR /&gt;people have bad file permissions.  Some have&lt;BR /&gt;bad file ownership.  Some have good files in&lt;BR /&gt;bad places.  Some have bad files in good&lt;BR /&gt;places.  Believe it or not, there's more than&lt;BR /&gt;one possible ssh problem, and it can be hard&lt;BR /&gt;to guess which one you're seeing with almost&lt;BR /&gt;no useful information to work from.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&amp;gt; [...] Linux [...]&lt;BR /&gt;&lt;BR /&gt;_Whose_ "Linux"?&lt;BR /&gt;&lt;BR /&gt;      uname -a&lt;BR /&gt;      ssh -V</description>
      <pubDate>Mon, 20 Jun 2011 05:23:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/ssh-key-auto-authentication-linux/m-p/4799789#M44548</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2011-06-20T05:23:21Z</dc:date>
    </item>
    <item>
      <title>Re: SSH key auto authentication Linux</title>
      <link>https://community.hpe.com/t5/operating-system-linux/ssh-key-auto-authentication-linux/m-p/4803703#M44559</link>
      <description>&lt;P&gt;system a:&lt;BR /&gt;1) login as userA&lt;BR /&gt;2) per Alex instruction, generate a key pairs.&lt;BR /&gt;**do not enter anything for the passphase if you want password-less authentication.&lt;BR /&gt;3) you should now have id_rsa and id_rsa.pub in the .ssh subdirectory under userA's home dir&lt;/P&gt;&lt;P&gt;system b:&lt;BR /&gt;1) login as userB&lt;BR /&gt;2) vi /home/userB/.ssh/authorized_keys&lt;BR /&gt;3) cut/paste content of id_rsa.pub into the file in step (2)&lt;/P&gt;&lt;P&gt;note: for step 2 and 3, better to use Alex's method instead and use ssh-copy-id &lt;A target="_blank" href="mailto:userB@systemb"&gt;userB@systemb&lt;/A&gt; as userA from systemA&lt;/P&gt;&lt;P&gt;now from system a, login as userA, then ssh to system b as userB. First login will ask you if you want to add system b's host key into your known_hosts file, type yes, next you will be on system b as userB!&lt;/P&gt;</description>
      <pubDate>Mon, 27 Jun 2011 17:51:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/ssh-key-auto-authentication-linux/m-p/4803703#M44559</guid>
      <dc:creator>Wilfred Chau_1</dc:creator>
      <dc:date>2011-06-27T17:51:08Z</dc:date>
    </item>
  </channel>
</rss>

