<?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 question in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/ssh-question/m-p/2651154#M46052</link>
    <description>Sanman,&lt;BR /&gt;&lt;BR /&gt;1. Genereate public keys using ssh-keygen with a pass-phrase&lt;BR /&gt;2. Append identify.pub to authorized_keys on the target system.&lt;BR /&gt;3. Run ssh-agent with ssh-add to remember the passphrase&lt;BR /&gt;&lt;BR /&gt;-Sri</description>
    <pubDate>Wed, 23 Jan 2002 17:45:15 GMT</pubDate>
    <dc:creator>Sridhar Bhaskarla</dc:creator>
    <dc:date>2002-01-23T17:45:15Z</dc:date>
    <item>
      <title>ssh question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ssh-question/m-p/2651153#M46051</link>
      <description>Hello,&lt;BR /&gt;&lt;BR /&gt;What option can I use with ssh that would not ask me for a password when I ssh to another system?. I'm running a script that looks for a file in different servers. I'd like to be able to get to that system and not asked for a password. Any help will be greatly appreciated.</description>
      <pubDate>Wed, 23 Jan 2002 17:41:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ssh-question/m-p/2651153#M46051</guid>
      <dc:creator>Ragni Singh</dc:creator>
      <dc:date>2002-01-23T17:41:56Z</dc:date>
    </item>
    <item>
      <title>Re: ssh question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ssh-question/m-p/2651154#M46052</link>
      <description>Sanman,&lt;BR /&gt;&lt;BR /&gt;1. Genereate public keys using ssh-keygen with a pass-phrase&lt;BR /&gt;2. Append identify.pub to authorized_keys on the target system.&lt;BR /&gt;3. Run ssh-agent with ssh-add to remember the passphrase&lt;BR /&gt;&lt;BR /&gt;-Sri</description>
      <pubDate>Wed, 23 Jan 2002 17:45:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ssh-question/m-p/2651154#M46052</guid>
      <dc:creator>Sridhar Bhaskarla</dc:creator>
      <dc:date>2002-01-23T17:45:15Z</dc:date>
    </item>
    <item>
      <title>Re: ssh question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ssh-question/m-p/2651155#M46053</link>
      <description>I am new to ssh but try this.&lt;BR /&gt;&lt;BR /&gt;Make a directory .ssh under your home directory on the target system. In that directory vi a file named authorized_keys.&lt;BR /&gt;&lt;BR /&gt;In this file put your authorized key that you have on the other server. It should be the same key that you generated on the server that you are coming from. &lt;BR /&gt;This will allow you to log in without a password..&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Good Luck...</description>
      <pubDate>Wed, 23 Jan 2002 17:49:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ssh-question/m-p/2651155#M46053</guid>
      <dc:creator>D. Jackson_1</dc:creator>
      <dc:date>2002-01-23T17:49:52Z</dc:date>
    </item>
    <item>
      <title>Re: ssh question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ssh-question/m-p/2651156#M46054</link>
      <description>To run ssh without a password, you should make use of  trusting of public keys. &lt;BR /&gt;&lt;BR /&gt;Below is the detailed configuration to  implement based on SSH2 protocol, I think latest is ssh-3.0.1 for this implementation&lt;BR /&gt;&lt;BR /&gt;On Servar A: &lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt;1) Login to user account, then run ssh-keygen to generate the public key on the client &lt;BR /&gt;&lt;BR /&gt;user&amp;gt; ssh-keygen &lt;BR /&gt;&lt;BR /&gt;ssh-keygen will create a .ssh2 directory and store your public key into a file (default filename id_dsa_1024_a.pub) and your private key into a file (default filename id_dsa_1024_a). &lt;BR /&gt;&lt;BR /&gt;2) In your identification file, insert the Identification Key reference. &lt;BR /&gt;&lt;BR /&gt;client_user&amp;gt; cd $HOME/.ssh2 &lt;BR /&gt;client_user&amp;gt; vi identification &lt;BR /&gt;&lt;BR /&gt;IdKey id_dsa_1024_a &lt;BR /&gt;&lt;BR /&gt;3) Copy your public key (id_dsa_1024_a.pub) to the  server B (into the .ssh2 directory) &lt;BR /&gt;&lt;BR /&gt;On  SERVER B: &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;1) Create the .ssh2 directory. Alternatively, also run ssh-keygen if you want to use this server_user account to ssh to another server2_user account. &lt;BR /&gt;&lt;BR /&gt;server_user&amp;gt; cd $HOME &lt;BR /&gt;server_user&amp;gt; mkdir .ssh2 &lt;BR /&gt;server_user&amp;gt; chmod 700 .ssh2 &lt;BR /&gt;&lt;BR /&gt;2) In the authorization file, insert your public key reference. &lt;BR /&gt;&lt;BR /&gt;server_user&amp;gt; cd .ssh2 &lt;BR /&gt;server_user&amp;gt; vi authorization &lt;BR /&gt;&lt;BR /&gt;Key id_dsa_1024_a.pub &lt;BR /&gt;&lt;BR /&gt;Initialization: &lt;BR /&gt;============== &lt;BR /&gt;&lt;BR /&gt;1) During your first ssh, it may prompt you whether you would like to save the host key because if it is the first time you are scp'ing from this client to that server. &lt;BR /&gt;&lt;BR /&gt;2) Note that your /etc/ssh2/sshd2_config on your server must allow for publickey authentication method. &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;-USA..</description>
      <pubDate>Wed, 23 Jan 2002 17:59:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ssh-question/m-p/2651156#M46054</guid>
      <dc:creator>Uday_S_Ankolekar</dc:creator>
      <dc:date>2002-01-23T17:59:21Z</dc:date>
    </item>
    <item>
      <title>Re: ssh question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ssh-question/m-p/2651157#M46055</link>
      <description>Here are my notes on how I did it.&lt;BR /&gt;&lt;BR /&gt;6) Generate root's key   &lt;BR /&gt;   /opt/openssh2/bin/ssh-keygen&lt;BR /&gt;   press enter when prompted for file location&lt;BR /&gt;   press enter when prompted for passphrase&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;12) Setup trust with hostname1&lt;BR /&gt;   On the hostname1:&lt;BR /&gt;   cd /roots/.ssh&lt;BR /&gt;   scp identity.pub client_hostname:/roots/.ssh/identity.pub.hostname1 (where the&lt;BR /&gt;   client_hostname is the name of the box you are installing ssh on)&lt;BR /&gt;   On client_hostname&lt;BR /&gt;   cd /roots/.ssh&lt;BR /&gt;   cat identity.pub.hostname1 &amp;gt;&amp;gt; authorized_keys&lt;BR /&gt;&lt;BR /&gt;13) Try the trust connection&lt;BR /&gt;   On hostname1:&lt;BR /&gt;   ssh -v client_hostname (watch for errors in the output, you should get in without&lt;BR /&gt;   being prompted for a password)&lt;BR /&gt;&lt;BR /&gt;GL,&lt;BR /&gt;C</description>
      <pubDate>Wed, 23 Jan 2002 18:24:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ssh-question/m-p/2651157#M46055</guid>
      <dc:creator>Craig Rants</dc:creator>
      <dc:date>2002-01-23T18:24:03Z</dc:date>
    </item>
  </channel>
</rss>

