<?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 using key encryption in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/SFTP-using-key-encryption/m-p/40481#M10466</link>
    <description>I put the additional items in the code and the log outputs the same information.</description>
    <pubDate>Fri, 25 Jun 2010 15:43:23 GMT</pubDate>
    <dc:creator>nickb</dc:creator>
    <dc:date>2010-06-25T15:43:23Z</dc:date>
    <item>
      <title>SFTP using key encryption</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/SFTP-using-key-encryption/m-p/40475#M10460</link>
      <description>I'm trying to send a file to a SFTP site and not having any luck.  I have installed PUTTY based on some notes I found online.&lt;BR /&gt;
&lt;BR /&gt;
Here is the code I'm using:&lt;BR /&gt;
&lt;BR /&gt;
filename outfile sftp 'd:/temp/test.txt' host="server" user="user";&lt;BR /&gt;
&lt;BR /&gt;
data _null_;&lt;BR /&gt;
   file outfile;&lt;BR /&gt;
   do i=1 to 10;&lt;BR /&gt;
      put i=;&lt;BR /&gt;
   end;&lt;BR /&gt;
run;</description>
      <pubDate>Thu, 24 Jun 2010 20:31:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/SFTP-using-key-encryption/m-p/40475#M10460</guid>
      <dc:creator>nickb</dc:creator>
      <dc:date>2010-06-24T20:31:44Z</dc:date>
    </item>
    <item>
      <title>Re: SFTP using key encryption</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/SFTP-using-key-encryption/m-p/40476#M10461</link>
      <description>And what's the exact error or problem symptom?  Also info about SAS version, OS platform would be most helpful - even to suggest that you copy/paste the SAS log revealing the error diagnostic and your code.&lt;BR /&gt;
&lt;BR /&gt;
Scott Barry&lt;BR /&gt;
SBBWorks, Inc.</description>
      <pubDate>Thu, 24 Jun 2010 21:03:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/SFTP-using-key-encryption/m-p/40476#M10461</guid>
      <dc:creator>sbb</dc:creator>
      <dc:date>2010-06-24T21:03:23Z</dc:date>
    </item>
    <item>
      <title>Re: SFTP using key encryption</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/SFTP-using-key-encryption/m-p/40477#M10462</link>
      <description>Agree with Scott.&lt;BR /&gt;
&lt;BR /&gt;
First thing I'd do to narrow down possible issues is to manually open a sftp connection to the target server in putty. This will tell you if you can open such a connection at all with your user. It also tells you which parameters you have to pass to establish such a connection (i.e. a password).&lt;BR /&gt;
&lt;BR /&gt;
Still in putty I would then send some test file to the destination directory to verify if the path exists and if I have write access to it.&lt;BR /&gt;
&lt;BR /&gt;
Only if both this things work I would start investigating what could be wrong with my SAS code.

Message was edited by: Patrick</description>
      <pubDate>Thu, 24 Jun 2010 21:09:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/SFTP-using-key-encryption/m-p/40477#M10462</guid>
      <dc:creator>Patrick</dc:creator>
      <dc:date>2010-06-24T21:09:04Z</dc:date>
    </item>
    <item>
      <title>Re: SFTP using key encryption</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/SFTP-using-key-encryption/m-p/40478#M10463</link>
      <description>I'm running 9.2 on Windows 2003 64 bit machine.  I used the document TS-800 "Configuring SSH Client Software."&lt;BR /&gt;
&lt;BR /&gt;
ERROR: Connection refused, check key authentication and sshd server status&lt;BR /&gt;
ERROR: Connection refused, check key authentication and sshd server status&lt;BR /&gt;
ERROR: .&lt;BR /&gt;
NOTE: The SAS System stopped processing this step because of errors.&lt;BR /&gt;
NOTE: DATA statement used (Total process time):&lt;BR /&gt;
      real time           0.03 seconds&lt;BR /&gt;
      cpu time            0.03 seconds</description>
      <pubDate>Thu, 24 Jun 2010 21:11:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/SFTP-using-key-encryption/m-p/40478#M10463</guid>
      <dc:creator>nickb</dc:creator>
      <dc:date>2010-06-24T21:11:30Z</dc:date>
    </item>
    <item>
      <title>Re: SFTP using key encryption</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/SFTP-using-key-encryption/m-p/40479#M10464</link>
      <description>I'm able to use PSFTP and connect to the server fine.</description>
      <pubDate>Thu, 24 Jun 2010 21:12:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/SFTP-using-key-encryption/m-p/40479#M10464</guid>
      <dc:creator>nickb</dc:creator>
      <dc:date>2010-06-24T21:12:49Z</dc:date>
    </item>
    <item>
      <title>Re: SFTP using key encryption</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/SFTP-using-key-encryption/m-p/40480#M10465</link>
      <description>2 things to add to your filename statement which might help/give you more information:&lt;BR /&gt;
&lt;BR /&gt;
filename ....   options = "Port=.."   DEBUG ;</description>
      <pubDate>Thu, 24 Jun 2010 21:37:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/SFTP-using-key-encryption/m-p/40480#M10465</guid>
      <dc:creator>Patrick</dc:creator>
      <dc:date>2010-06-24T21:37:17Z</dc:date>
    </item>
    <item>
      <title>Re: SFTP using key encryption</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/SFTP-using-key-encryption/m-p/40481#M10466</link>
      <description>I put the additional items in the code and the log outputs the same information.</description>
      <pubDate>Fri, 25 Jun 2010 15:43:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/SFTP-using-key-encryption/m-p/40481#M10466</guid>
      <dc:creator>nickb</dc:creator>
      <dc:date>2010-06-25T15:43:23Z</dc:date>
    </item>
    <item>
      <title>Re: SFTP using key encryption</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/SFTP-using-key-encryption/m-p/40482#M10467</link>
      <description>Could it be an issue where SAS can't resolve the Private Key?  Do I need to have the key in a special location for SAS?</description>
      <pubDate>Fri, 25 Jun 2010 17:09:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/SFTP-using-key-encryption/m-p/40482#M10467</guid>
      <dc:creator>nickb</dc:creator>
      <dc:date>2010-06-25T17:09:43Z</dc:date>
    </item>
    <item>
      <title>Re: SFTP using key encryption</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/SFTP-using-key-encryption/m-p/40483#M10468</link>
      <description>I would suggest you open a track with our friends from SAS Tech Support and provide them with as much information as you have.</description>
      <pubDate>Fri, 25 Jun 2010 23:35:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/SFTP-using-key-encryption/m-p/40483#M10468</guid>
      <dc:creator>Patrick</dc:creator>
      <dc:date>2010-06-25T23:35:46Z</dc:date>
    </item>
  </channel>
</rss>

