<?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: Sftp with SSH in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/sftp-with-ssh/m-p/4296326#M673330</link>
    <description>hey,&lt;BR /&gt;see this&lt;BR /&gt;you can give dsa or rsa&lt;BR /&gt;Client&lt;BR /&gt;Steps: For SSH Without a Password&lt;BR /&gt;&lt;BR /&gt;On the client run the following commands:&lt;BR /&gt;$ mkdir -p $HOME/.ssh&lt;BR /&gt;$ chmod 0700 $HOME/.ssh&lt;BR /&gt;$ ssh-keygen -t dsa/rsa -f $HOME/.ssh/id_d sa -P ''&lt;BR /&gt;&lt;BR /&gt;This should result in two files, &lt;BR /&gt;$HOME/.ssh/id_dsa/rsa (private key) &amp;amp; $HOME/.ssh/id_dsa.pub (public key). &lt;BR /&gt;Copy $HOME/.ssh/id_dsa.pub to the server.&lt;BR /&gt;&lt;BR /&gt;Server:&lt;BR /&gt;On the server run the following commands:&lt;BR /&gt;$ mkdir -p $HOME/.ssh&lt;BR /&gt;$ cat id_dsa.pub &amp;gt;&amp;gt; $HOME/.ssh/authorized_keys2&lt;BR /&gt;$ chmod 0600 $HOME/.ssh/authorized_keys2&lt;BR /&gt;&lt;BR /&gt;Depending on the version of OpenSSH the following commands may also be required: &lt;BR /&gt;$ cat id_dsa.pub &amp;gt;&amp;gt; $HOME/.ssh/authorized_keys&lt;BR /&gt;$ chmod 0600 $HOME/.ssh/authorized_keys&lt;BR /&gt;&lt;BR /&gt;An alternative is to create a link from authorized_keys2 to authorized_keys: &lt;BR /&gt;$ cd $HOME/.ssh &amp;amp;&amp;amp; ln -s authorized_keys2 authorized_keys&lt;BR /&gt;&lt;BR /&gt;On the client test the results by ssh'ing to the server:&lt;BR /&gt;$ ssh -i $HOME/.ssh/id_dsa/rsa server&lt;BR /&gt;&lt;BR /&gt;(Optional) Add the following $HOME/.ssh/config on the client:&lt;BR /&gt;Host server&lt;BR /&gt;   IdentityFile ~/.ssh/id_dsa&lt;BR /&gt;This allows ssh access to the server without having to specify the path to the id_dsa/rsa file as an argument to ssh each time&lt;BR /&gt;&lt;BR /&gt;Suraj</description>
    <pubDate>Wed, 29 Oct 2008 13:08:40 GMT</pubDate>
    <dc:creator>Suraj K Sankari</dc:creator>
    <dc:date>2008-10-29T13:08:40Z</dc:date>
    <item>
      <title>Sftp with SSH</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sftp-with-ssh/m-p/4296325#M673329</link>
      <description>Hello, I have created a process that uses sftp to connect to a remote system and authnticates with a key that I generated with ssh-keygen.  The key is named id-dsa.  When I watch the process with a -v i see it check parse a list of keys and it gets to that particular one can accepts it.  My question is how do I hav a key named something other then id_dsa to be offered by the server?  Thanks</description>
      <pubDate>Wed, 29 Oct 2008 12:56:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sftp-with-ssh/m-p/4296325#M673329</guid>
      <dc:creator>Daryl Much</dc:creator>
      <dc:date>2008-10-29T12:56:23Z</dc:date>
    </item>
    <item>
      <title>Re: Sftp with SSH</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sftp-with-ssh/m-p/4296326#M673330</link>
      <description>hey,&lt;BR /&gt;see this&lt;BR /&gt;you can give dsa or rsa&lt;BR /&gt;Client&lt;BR /&gt;Steps: For SSH Without a Password&lt;BR /&gt;&lt;BR /&gt;On the client run the following commands:&lt;BR /&gt;$ mkdir -p $HOME/.ssh&lt;BR /&gt;$ chmod 0700 $HOME/.ssh&lt;BR /&gt;$ ssh-keygen -t dsa/rsa -f $HOME/.ssh/id_d sa -P ''&lt;BR /&gt;&lt;BR /&gt;This should result in two files, &lt;BR /&gt;$HOME/.ssh/id_dsa/rsa (private key) &amp;amp; $HOME/.ssh/id_dsa.pub (public key). &lt;BR /&gt;Copy $HOME/.ssh/id_dsa.pub to the server.&lt;BR /&gt;&lt;BR /&gt;Server:&lt;BR /&gt;On the server run the following commands:&lt;BR /&gt;$ mkdir -p $HOME/.ssh&lt;BR /&gt;$ cat id_dsa.pub &amp;gt;&amp;gt; $HOME/.ssh/authorized_keys2&lt;BR /&gt;$ chmod 0600 $HOME/.ssh/authorized_keys2&lt;BR /&gt;&lt;BR /&gt;Depending on the version of OpenSSH the following commands may also be required: &lt;BR /&gt;$ cat id_dsa.pub &amp;gt;&amp;gt; $HOME/.ssh/authorized_keys&lt;BR /&gt;$ chmod 0600 $HOME/.ssh/authorized_keys&lt;BR /&gt;&lt;BR /&gt;An alternative is to create a link from authorized_keys2 to authorized_keys: &lt;BR /&gt;$ cd $HOME/.ssh &amp;amp;&amp;amp; ln -s authorized_keys2 authorized_keys&lt;BR /&gt;&lt;BR /&gt;On the client test the results by ssh'ing to the server:&lt;BR /&gt;$ ssh -i $HOME/.ssh/id_dsa/rsa server&lt;BR /&gt;&lt;BR /&gt;(Optional) Add the following $HOME/.ssh/config on the client:&lt;BR /&gt;Host server&lt;BR /&gt;   IdentityFile ~/.ssh/id_dsa&lt;BR /&gt;This allows ssh access to the server without having to specify the path to the id_dsa/rsa file as an argument to ssh each time&lt;BR /&gt;&lt;BR /&gt;Suraj</description>
      <pubDate>Wed, 29 Oct 2008 13:08:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sftp-with-ssh/m-p/4296326#M673330</guid>
      <dc:creator>Suraj K Sankari</dc:creator>
      <dc:date>2008-10-29T13:08:40Z</dc:date>
    </item>
    <item>
      <title>Re: Sftp with SSH</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sftp-with-ssh/m-p/4296327#M673331</link>
      <description>Shalom,&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.hpux.ws/?p=10" target="_blank"&gt;http://www.hpux.ws/?p=10&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;It would be easier to use scp for the file transfer. Also part of the openssh package which includes ssh sftp and scp&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Wed, 29 Oct 2008 13:19:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sftp-with-ssh/m-p/4296327#M673331</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2008-10-29T13:19:10Z</dc:date>
    </item>
    <item>
      <title>Re: Sftp with SSH</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sftp-with-ssh/m-p/4296328#M673332</link>
      <description>&amp;gt; [...] When I watch the process with a -v i&lt;BR /&gt;&amp;gt; see it [...]&lt;BR /&gt;&lt;BR /&gt;That's nice, but we can't see what you see&lt;BR /&gt;unless you show it to us.&lt;BR /&gt;&lt;BR /&gt;&amp;gt; [...] offered by the server?&lt;BR /&gt;&lt;BR /&gt;Offered _by_ the server or _to_ the server?&lt;BR /&gt;&lt;BR /&gt;I may not understand what you want.  Are you&lt;BR /&gt;looking for something like "-i file" for&lt;BR /&gt;"ssh"?  If so, sftp probably has a way to let&lt;BR /&gt;you specify the same thing.&lt;BR /&gt;&lt;BR /&gt;It might also help if you mentioned your OS&lt;BR /&gt;version, and, perhaps, your SSH and/or SFTP&lt;BR /&gt;version(s).</description>
      <pubDate>Wed, 29 Oct 2008 14:33:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sftp-with-ssh/m-p/4296328#M673332</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2008-10-29T14:33:30Z</dc:date>
    </item>
  </channel>
</rss>

