<?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: SCP in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/scp/m-p/3628732#M237221</link>
    <description>Here is what you need to do.&lt;BR /&gt;1. Generate the public and private key on the client machine using ssh-keygen -t dsa command&lt;BR /&gt;2. It will generate id_dsa and id_dsa.pub file in $HOME/.ssh directory which are your private and public key&lt;BR /&gt;3. copy the public key (id_dsa.pub) file to your target server&lt;BR /&gt;4. either copy this file on target host as $HOME/.ssh/authorized_keys or is the file exists then copy the content of public key in this file.&lt;BR /&gt;&lt;BR /&gt;Now your scp will work without prompting for password using the public and private key.&lt;BR /&gt;</description>
    <pubDate>Sun, 18 Sep 2005 23:38:10 GMT</pubDate>
    <dc:creator>Rajeev  Shukla</dc:creator>
    <dc:date>2005-09-18T23:38:10Z</dc:date>
    <item>
      <title>SCP</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/scp/m-p/3628729#M237218</link>
      <description>Hi all&lt;BR /&gt;&lt;BR /&gt;   I need to do SCP from my host to other host in client side.I dont wat to type my password physically everytime when I do scp.Instead is there anyway to do it.&lt;BR /&gt;&lt;BR /&gt;   Basically i would like to the copy session as a script.&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;Arunkumar</description>
      <pubDate>Sun, 18 Sep 2005 22:37:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/scp/m-p/3628729#M237218</guid>
      <dc:creator>S.Arunkumar</dc:creator>
      <dc:date>2005-09-18T22:37:19Z</dc:date>
    </item>
    <item>
      <title>Re: SCP</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/scp/m-p/3628730#M237219</link>
      <description>Hi Arun, &lt;BR /&gt;&lt;BR /&gt;Take a look at this link, It should help. &lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.mail-archive.com/ssh@clinet.fi/msg04511.html" target="_blank"&gt;http://www.mail-archive.com/ssh@clinet.fi/msg04511.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;-Arun &lt;BR /&gt;</description>
      <pubDate>Sun, 18 Sep 2005 22:44:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/scp/m-p/3628730#M237219</guid>
      <dc:creator>Arunvijai_4</dc:creator>
      <dc:date>2005-09-18T22:44:21Z</dc:date>
    </item>
    <item>
      <title>Re: SCP</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/scp/m-p/3628731#M237220</link>
      <description>&lt;BR /&gt;For connection scp from a local machine to a remote machine without always typing a password, on the remote machine, create the file ".shosts" in your home that contains the name of the local machine. Permission should be 600. SCP will use the ssh_know_hosts file. If the local machine is correctly entered in the user's .ssh/known_hosts file, then the connection will be permitted with out a password.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Eg: &lt;BR /&gt;&lt;BR /&gt;From local machine as whatever USER u want without password,&lt;BR /&gt;&lt;BR /&gt;1. ssh -X &lt;REMOTE_MACHINE_IP&gt;&lt;BR /&gt;&lt;BR /&gt;Using the above command, u can add the host in known host file.&lt;BR /&gt;&lt;BR /&gt;2. ssh -X &lt;LOCAL_MACHINE_IP&gt;&lt;BR /&gt;&lt;BR /&gt;After the successful connection, exit from the local machine.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/LOCAL_MACHINE_IP&gt;&lt;/REMOTE_MACHINE_IP&gt;</description>
      <pubDate>Sun, 18 Sep 2005 23:11:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/scp/m-p/3628731#M237220</guid>
      <dc:creator>VEL_1</dc:creator>
      <dc:date>2005-09-18T23:11:16Z</dc:date>
    </item>
    <item>
      <title>Re: SCP</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/scp/m-p/3628732#M237221</link>
      <description>Here is what you need to do.&lt;BR /&gt;1. Generate the public and private key on the client machine using ssh-keygen -t dsa command&lt;BR /&gt;2. It will generate id_dsa and id_dsa.pub file in $HOME/.ssh directory which are your private and public key&lt;BR /&gt;3. copy the public key (id_dsa.pub) file to your target server&lt;BR /&gt;4. either copy this file on target host as $HOME/.ssh/authorized_keys or is the file exists then copy the content of public key in this file.&lt;BR /&gt;&lt;BR /&gt;Now your scp will work without prompting for password using the public and private key.&lt;BR /&gt;</description>
      <pubDate>Sun, 18 Sep 2005 23:38:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/scp/m-p/3628732#M237221</guid>
      <dc:creator>Rajeev  Shukla</dc:creator>
      <dc:date>2005-09-18T23:38:10Z</dc:date>
    </item>
    <item>
      <title>Re: SCP</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/scp/m-p/3628733#M237222</link>
      <description>create a public, and private keypair using &lt;BR /&gt;&lt;BR /&gt;/opt/ssh/bin/ssh-keygen -t dsa &lt;BR /&gt;&lt;BR /&gt;when asked for a passphrase, hit enter without typing anything, and confirm it one more time when asked the second time.&lt;BR /&gt;&lt;BR /&gt;and save this key pair in the default location, which should be:&lt;BR /&gt;&lt;BR /&gt;$HOME/.ssh/id_dsa&lt;BR /&gt;&lt;BR /&gt;then take the id_dsa.pub and copy it to the remote host using rcp, ftp, scp or any other tool of your choice. You still need to enter your password this time as well, if you are using scp.&lt;BR /&gt;&lt;BR /&gt;make sure the public key file has only one line in it, i.e., &lt;BR /&gt;&lt;BR /&gt;wc -l /tmp/id_dsa #assumed you copied it to /tmp&lt;BR /&gt;&lt;BR /&gt;shows 1 line as a result on the remote node.&lt;BR /&gt;&lt;BR /&gt;goto the home directory of the user name  on the remote node. If exists a directory called .ssh (most likely it will exist) &lt;BR /&gt;&lt;BR /&gt;cd .ssh&lt;BR /&gt;&lt;BR /&gt;otherwise create the directory and go in it.&lt;BR /&gt;&lt;BR /&gt;once in .ssh directory, run command&lt;BR /&gt;&lt;BR /&gt;cat /tmp/id_dsa.pub &amp;gt;&amp;gt; authorized keys&lt;BR /&gt;&lt;BR /&gt;then go back to the local node and issue command, &lt;BR /&gt;&lt;BR /&gt;ssh remote_node&lt;BR /&gt;&lt;BR /&gt;it will ask you if you want to permanently store the key from this host with a yes/no answer. Answer "yes" to this question not "Y" or "y", type the full word yes. &lt;BR /&gt;&lt;BR /&gt;At this point you should be good to go. you can ssh or scp from this host to the remote host, seamlessly, without typing a password.&lt;BR /&gt;&lt;BR /&gt;hope this helps.</description>
      <pubDate>Sun, 18 Sep 2005 23:39:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/scp/m-p/3628733#M237222</guid>
      <dc:creator>Mel Burslan</dc:creator>
      <dc:date>2005-09-18T23:39:35Z</dc:date>
    </item>
    <item>
      <title>Re: SCP</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/scp/m-p/3628734#M237223</link>
      <description>see doc attached&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Sun, 18 Sep 2005 23:42:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/scp/m-p/3628734#M237223</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2005-09-18T23:42:39Z</dc:date>
    </item>
  </channel>
</rss>

