<?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: Unattendes ssh in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/unattendes-ssh/m-p/2701585#M933005</link>
    <description>THANK YOU VERY MUCH</description>
    <pubDate>Thu, 11 Apr 2002 15:04:58 GMT</pubDate>
    <dc:creator>Lukas Grijander</dc:creator>
    <dc:date>2002-04-11T15:04:58Z</dc:date>
    <item>
      <title>Unattendes ssh</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/unattendes-ssh/m-p/2701582#M933002</link>
      <description>Hi all.&lt;BR /&gt;&lt;BR /&gt;I've just installed openssh 3.1p1&lt;BR /&gt;&lt;BR /&gt;I'm using ssh as a substitute of telnet, it works fine, but ...&lt;BR /&gt;&lt;BR /&gt;Now, I need to use it like I'm ussing rcp and rsh (not restricted shell, r* command) :&lt;BR /&gt;&lt;BR /&gt;machine1 # rsh machine2 ls -l&lt;BR /&gt;&lt;BR /&gt;whithout giving password, using .rhosts file&lt;BR /&gt;&lt;BR /&gt;machine1 # ssh machine2 ls -l&lt;BR /&gt;&lt;BR /&gt;ask me for password ...&lt;BR /&gt;&lt;BR /&gt;How can I do it?&lt;BR /&gt;&lt;BR /&gt;Thanks in advance.&lt;BR /&gt;&lt;BR /&gt;Rafa</description>
      <pubDate>Thu, 11 Apr 2002 14:11:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/unattendes-ssh/m-p/2701582#M933002</guid>
      <dc:creator>Lukas Grijander</dc:creator>
      <dc:date>2002-04-11T14:11:36Z</dc:date>
    </item>
    <item>
      <title>Re: Unattendes ssh</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/unattendes-ssh/m-p/2701583#M933003</link>
      <description>Hi Rafa,&lt;BR /&gt;&lt;BR /&gt;Check out this thread:&lt;BR /&gt;&lt;A href="http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x319d8cc5e03fd6118fff0090279cd0f9,00.html" target="_blank"&gt;http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x319d8cc5e03fd6118fff0090279cd0f9,00.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Darrell</description>
      <pubDate>Thu, 11 Apr 2002 14:25:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/unattendes-ssh/m-p/2701583#M933003</guid>
      <dc:creator>Darrell Allen</dc:creator>
      <dc:date>2002-04-11T14:25:43Z</dc:date>
    </item>
    <item>
      <title>Re: Unattendes ssh</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/unattendes-ssh/m-p/2701584#M933004</link>
      <description>Attached are my notes for installation and trust configuration. Let me know if you have any problems.&lt;BR /&gt;&lt;BR /&gt;GL,&lt;BR /&gt;C</description>
      <pubDate>Thu, 11 Apr 2002 14:35:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/unattendes-ssh/m-p/2701584#M933004</guid>
      <dc:creator>Craig Rants</dc:creator>
      <dc:date>2002-04-11T14:35:22Z</dc:date>
    </item>
    <item>
      <title>Re: Unattendes ssh</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/unattendes-ssh/m-p/2701585#M933005</link>
      <description>THANK YOU VERY MUCH</description>
      <pubDate>Thu, 11 Apr 2002 15:04:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/unattendes-ssh/m-p/2701585#M933005</guid>
      <dc:creator>Lukas Grijander</dc:creator>
      <dc:date>2002-04-11T15:04:58Z</dc:date>
    </item>
    <item>
      <title>Re: Unattendes ssh</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/unattendes-ssh/m-p/2701586#M933006</link>
      <description>Hi Rafael,&lt;BR /&gt;&lt;BR /&gt;You need to generate your public/private key pair and copy the public key to the other system.&lt;BR /&gt;&lt;BR /&gt;Before that you need to start sshd and if you haven't already done, use the following process to generate host key.&lt;BR /&gt;&lt;BR /&gt;On system A have sshd runnign with the following procedure.&lt;BR /&gt;&lt;BR /&gt;#/opt/openssh2/bin/ssh_keygen -t rsa1 -f /opt/openssh2/etc/ssh_host_key -N ""&lt;BR /&gt;#/opt/openssh2/bin/ssh_keygen -t rsa -f /opt/openssh2/etc/ssh_host_rsa_key -N ""&lt;BR /&gt;#/opt/openssh2/bin/ssh_keygen -t dsa -f /opt/openssh2/etc/ssh_host_dsa_key -N ""&lt;BR /&gt;&lt;BR /&gt;Start sshd&lt;BR /&gt;#/opt/openssh2/sbin/sshd&lt;BR /&gt;&lt;BR /&gt;Following the above procedure for system B if you want to do ssh from system A to system B.&lt;BR /&gt;&lt;BR /&gt;Setup SSH-client on systemB&lt;BR /&gt;&lt;BR /&gt;Generate public/private key pair on systemB&lt;BR /&gt;&lt;BR /&gt;#/opt/openssh2/bin/ssh_keygen&lt;BR /&gt;&lt;BR /&gt;(take the default file for the key and enter a passphrase here.. you need to remember)&lt;BR /&gt;&lt;BR /&gt;#Now ftp $HOME/.ssh/identity.pub to systemA and append it to $HOME/.ssh/authorized_keys. If you don't have authorized_keys. &lt;BR /&gt;&lt;BR /&gt;Now do ssh from systemB to systemA.&lt;BR /&gt;&lt;BR /&gt;systemB#ssh systemA ls -al&lt;BR /&gt;&lt;BR /&gt;Now this should ask for the passphrase that you typed in while creating the key. After typing in the passphrase, it should execute ls -al on system A.&lt;BR /&gt;&lt;BR /&gt;However, here you still need to type the passphrase. There is a way to remember the passphrases in the memory. You need to use ssh-agent to remember the passphrases.&lt;BR /&gt;&lt;BR /&gt;systemB#eval `/opt/openssh2/bin/ssh-agent -s` /opt/openssh2/bin/ssh-add&lt;BR /&gt;This will ask for the passphrase. Type in and it will be remembered. &lt;BR /&gt;systemB# ssh systemA ll&lt;BR /&gt;systemB# ssh systemA cat /etc/passwd&lt;BR /&gt;&lt;BR /&gt;Repeat the same procedure on systemA if you need the otherway.&lt;BR /&gt;&lt;BR /&gt;-Sri</description>
      <pubDate>Thu, 11 Apr 2002 15:10:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/unattendes-ssh/m-p/2701586#M933006</guid>
      <dc:creator>Sridhar Bhaskarla</dc:creator>
      <dc:date>2002-04-11T15:10:20Z</dc:date>
    </item>
  </channel>
</rss>

