<?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 Private key authentication SAS Code throws ERROR in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/SFTP-Private-key-authentication-SAS-Code-throws-ERROR/m-p/636131#M188930</link>
    <description>&lt;P&gt;iam sorry,but we all&amp;nbsp; ready reading the excel file using infile statement and it works fine .&lt;/P&gt;&lt;P&gt;as part of my change i just need to change the connections,so that it will take file from SFTP server&lt;/P&gt;</description>
    <pubDate>Tue, 31 Mar 2020 09:48:07 GMT</pubDate>
    <dc:creator>JJP1</dc:creator>
    <dc:date>2020-03-31T09:48:07Z</dc:date>
    <item>
      <title>SFTP Private key authentication SAS Code throws ERROR</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SFTP-Private-key-authentication-SAS-Code-throws-ERROR/m-p/636098#M188913</link>
      <description>&lt;P&gt;Hi Team,&lt;/P&gt;&lt;P&gt;iam trying to read the file from remote server by making use of private key authentication in SAS code.but iam getting error.please help&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;%let host = XXXXXXXXXXXXXXXXXXXXXXXX.com;
%let ftpuser = YYYYYYYYYY;
filename ftpin sftp "CCCCCCC..xls" recfm=f host="&amp;amp;host" user="&amp;amp;ftpuser"
recfm=f cd= "/AAA/ALL/SSS"
options="-oPort=40022 -i /hhh/uuuu/uuuu/.ssh/ggg.key -o StrictHostKeyChecking=no";
data _null_;
infile ftpin;
/* file ftpout;*/
input;
put _infile_;
run;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;error log:&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;ERROR: An exception has been encountered.
Please contact technical support and provide them with the following traceback information:

The SAS task name is [OBJECT_E]
Segmentation Violation

Traceback of the Exception:

0xf548(?)
yxrasgn+0x294
yxrasgn+0x38 -- bridge stub
ytlibf+0xd80
yasany+0x4c8
yasany2+0x188
yttknx+0x1480
yalexec+0xf98
yalinln+0x4d8
yalproc+0x234
yalproc+0x38 -- bridge stub
sasxobj+0x3d8
vvtentr+0x194
_pthread_body+0xf0
&amp;nbsp;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 31 Mar 2020 07:02:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SFTP-Private-key-authentication-SAS-Code-throws-ERROR/m-p/636098#M188913</guid>
      <dc:creator>JJP1</dc:creator>
      <dc:date>2020-03-31T07:02:40Z</dc:date>
    </item>
    <item>
      <title>Re: SFTP Private key authentication SAS Code throws ERROR</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SFTP-Private-key-authentication-SAS-Code-throws-ERROR/m-p/636107#M188917</link>
      <description>&lt;P&gt;Open a track with SAS technical support. When SAS throws a segmentation violation (a memory access error, caused either by a null pointer or pointing to unallocated memory), it encountered a condition it is unprepared for.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Does the ERROR happen immediately, or after some time running the sftp?&lt;/P&gt;</description>
      <pubDate>Tue, 31 Mar 2020 07:21:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SFTP-Private-key-authentication-SAS-Code-throws-ERROR/m-p/636107#M188917</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2020-03-31T07:21:42Z</dc:date>
    </item>
    <item>
      <title>Re: SFTP Private key authentication SAS Code throws ERROR</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SFTP-Private-key-authentication-SAS-Code-throws-ERROR/m-p/636117#M188920</link>
      <description>&lt;P&gt;Note that INFILE in a data step basically expects a TEXT file of some form, plain text, delimited text or similar to read the file. XLS files are NOT text and I would not expect to read one with a data step.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You might try Proc Import to generate a data set.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;As an example create a small xls file locally and try that data step on that file and see what happens.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 31 Mar 2020 09:09:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SFTP-Private-key-authentication-SAS-Code-throws-ERROR/m-p/636117#M188920</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2020-03-31T09:09:53Z</dc:date>
    </item>
    <item>
      <title>Re: SFTP Private key authentication SAS Code throws ERROR</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SFTP-Private-key-authentication-SAS-Code-throws-ERROR/m-p/636125#M188925</link>
      <description>&lt;P&gt;After sometime just 2seconds i will get below dialog box and then i click ok to see the log.please help .&lt;/P&gt;&lt;P&gt;why it is the causing issue.is it because of SAS EG application issue or any other SFTP issue&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="JJP1_0-1585647147221.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/37600i25DB75DBF0567312/image-size/medium?v=v2&amp;amp;px=400" role="button" title="JJP1_0-1585647147221.png" alt="JJP1_0-1585647147221.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 31 Mar 2020 09:33:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SFTP-Private-key-authentication-SAS-Code-throws-ERROR/m-p/636125#M188925</guid>
      <dc:creator>JJP1</dc:creator>
      <dc:date>2020-03-31T09:33:08Z</dc:date>
    </item>
    <item>
      <title>Re: SFTP Private key authentication SAS Code throws ERROR</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SFTP-Private-key-authentication-SAS-Code-throws-ERROR/m-p/636127#M188926</link>
      <description>&lt;P&gt;you mean SFTP will not work for excel sheet....Would you please point me where i am exactly going wrong and where i need to modify the code to work this please.i did not clearly understood please.&lt;/P&gt;</description>
      <pubDate>Tue, 31 Mar 2020 09:40:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SFTP-Private-key-authentication-SAS-Code-throws-ERROR/m-p/636127#M188926</guid>
      <dc:creator>JJP1</dc:creator>
      <dc:date>2020-03-31T09:40:21Z</dc:date>
    </item>
    <item>
      <title>Re: SFTP Private key authentication SAS Code throws ERROR</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SFTP-Private-key-authentication-SAS-Code-throws-ERROR/m-p/636129#M188928</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/256123"&gt;@JJP1&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;you mean SFTP will not work for excel sheet....Would you please point me where i am exactly going wrong and where i need to modify the code to work this please.i did not clearly understood please.&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;The infile statement can't be used to read an excel-file regardless of the place where it is stored (local file-system, unc-path, sftp-server). Excel files are read either by defining a libref with the libname statement or by proc import.&lt;/P&gt;</description>
      <pubDate>Tue, 31 Mar 2020 09:44:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SFTP-Private-key-authentication-SAS-Code-throws-ERROR/m-p/636129#M188928</guid>
      <dc:creator>andreas_lds</dc:creator>
      <dc:date>2020-03-31T09:44:48Z</dc:date>
    </item>
    <item>
      <title>Re: SFTP Private key authentication SAS Code throws ERROR</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SFTP-Private-key-authentication-SAS-Code-throws-ERROR/m-p/636131#M188930</link>
      <description>&lt;P&gt;iam sorry,but we all&amp;nbsp; ready reading the excel file using infile statement and it works fine .&lt;/P&gt;&lt;P&gt;as part of my change i just need to change the connections,so that it will take file from SFTP server&lt;/P&gt;</description>
      <pubDate>Tue, 31 Mar 2020 09:48:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SFTP-Private-key-authentication-SAS-Code-throws-ERROR/m-p/636131#M188930</guid>
      <dc:creator>JJP1</dc:creator>
      <dc:date>2020-03-31T09:48:07Z</dc:date>
    </item>
    <item>
      <title>Re: SFTP Private key authentication SAS Code throws ERROR</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SFTP-Private-key-authentication-SAS-Code-throws-ERROR/m-p/636144#M188940</link>
      <description>&lt;P&gt;Look at the code. It's nothing but an sftp transfer complicated by using SAS. It uses recfm=f to read blocks and write blocks to the outfile.&lt;/P&gt;
&lt;P&gt;There might be an issue when the program reads the last "record" of the binary file and finds less than the default 254 bytes.&lt;/P&gt;
&lt;P&gt;But since it ends in a segmentation violation, it's a clear case for SAS TS IMO.&lt;/P&gt;</description>
      <pubDate>Tue, 31 Mar 2020 10:10:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SFTP-Private-key-authentication-SAS-Code-throws-ERROR/m-p/636144#M188940</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2020-03-31T10:10:58Z</dc:date>
    </item>
    <item>
      <title>Re: SFTP Private key authentication SAS Code throws ERROR</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SFTP-Private-key-authentication-SAS-Code-throws-ERROR/m-p/636145#M188941</link>
      <description>&lt;P&gt;Thnaks&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/16120"&gt;@Kurt&lt;/a&gt;. So what does it mean "clear&amp;nbsp;&lt;SPAN&gt;case for SAS TS IMO."Iam sorry and iam new to SFTP SAS connection as i never heard of SAS TS IMO.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;So would you please&amp;nbsp;suggest how can i overcome this error please&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 31 Mar 2020 10:15:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SFTP-Private-key-authentication-SAS-Code-throws-ERROR/m-p/636145#M188941</guid>
      <dc:creator>JJP1</dc:creator>
      <dc:date>2020-03-31T10:15:19Z</dc:date>
    </item>
    <item>
      <title>Re: SFTP Private key authentication SAS Code throws ERROR</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SFTP-Private-key-authentication-SAS-Code-throws-ERROR/m-p/636150#M188945</link>
      <description>&lt;P&gt;Go to support.sas.com, scroll down, and select Technical Support. On the next page, go to "3 Contact Technical Support", and on the next page, select Create a Track.&lt;/P&gt;</description>
      <pubDate>Tue, 31 Mar 2020 10:29:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SFTP-Private-key-authentication-SAS-Code-throws-ERROR/m-p/636150#M188945</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2020-03-31T10:29:45Z</dc:date>
    </item>
    <item>
      <title>Re: SFTP Private key authentication SAS Code throws ERROR</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SFTP-Private-key-authentication-SAS-Code-throws-ERROR/m-p/636155#M188949</link>
      <description>&lt;P&gt;Thanks&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/11562"&gt;@Kurt_Bremser&lt;/a&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 31 Mar 2020 10:35:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SFTP-Private-key-authentication-SAS-Code-throws-ERROR/m-p/636155#M188949</guid>
      <dc:creator>JJP1</dc:creator>
      <dc:date>2020-03-31T10:35:07Z</dc:date>
    </item>
    <item>
      <title>Re: SFTP Private key authentication SAS Code throws ERROR</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SFTP-Private-key-authentication-SAS-Code-throws-ERROR/m-p/636156#M188950</link>
      <description>&lt;P&gt;BTW, I think it would be much better to run the whole sftp from the commandline; once it works from there, you can use SAS to create the commandline call and run it with a filename pipe.&lt;/P&gt;
&lt;P&gt;It is also advised that you set up automatic passwordless authentication to all sftp targets first by properly setting your entries in your .ssh directory. The aim is to get this working:&lt;/P&gt;
&lt;PRE&gt;sftp sourceuser@sourcehost:sourcepath/sourcefile targetuser@targethost:targetpath/targetfile&lt;/PRE&gt;
&lt;P&gt;without having to enter any further options.&lt;/P&gt;</description>
      <pubDate>Tue, 31 Mar 2020 10:35:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SFTP-Private-key-authentication-SAS-Code-throws-ERROR/m-p/636156#M188950</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2020-03-31T10:35:18Z</dc:date>
    </item>
    <item>
      <title>Re: SFTP Private key authentication SAS Code throws ERROR</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SFTP-Private-key-authentication-SAS-Code-throws-ERROR/m-p/636159#M188952</link>
      <description>&lt;P&gt;The connection was successful when i run as command line with same conection details on unix server.&lt;/P&gt;&lt;P&gt;So it was successfully connected and then&amp;nbsp; i am trying now in SAS please.any suggestions please.&lt;/P&gt;&lt;P&gt;.ssh set was done&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/11562"&gt;@Kurt_Bremser&lt;/a&gt;&amp;nbsp;and privatekey authentication was successfull on unix SAS server&lt;/P&gt;</description>
      <pubDate>Tue, 31 Mar 2020 10:39:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SFTP-Private-key-authentication-SAS-Code-throws-ERROR/m-p/636159#M188952</guid>
      <dc:creator>JJP1</dc:creator>
      <dc:date>2020-03-31T10:39:45Z</dc:date>
    </item>
    <item>
      <title>Re: SFTP Private key authentication SAS Code throws ERROR</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SFTP-Private-key-authentication-SAS-Code-throws-ERROR/m-p/636165#M188956</link>
      <description>&lt;P&gt;I have to state that I do not use SAS FILENAME SFTP at all in our environment, as I have found it to be unreliable.&lt;/P&gt;
&lt;P&gt;That is because SAS uses an external sftp client (with FILENAME FTP, the whole logic is built into SAS itself) to create a local copy, and reads that copy after a given delay. If the sftp is slow, SAS can "overtake" the sftp and stop reading prematurely.&lt;/P&gt;
&lt;P&gt;So I always run the sftp as an external command:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;filename oscmd pipe "sftp user@host:filename %sysfunc(pathname(work))/localname 2&amp;gt;&amp;amp;1";

data _null_;
infile oscmd;
input;
put _infile_;
run;

filename in "%sysfunc(pathname(work))/localname";

data want;
infile in;
/* further processing */
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 31 Mar 2020 10:55:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SFTP-Private-key-authentication-SAS-Code-throws-ERROR/m-p/636165#M188956</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2020-03-31T10:55:05Z</dc:date>
    </item>
    <item>
      <title>Re: SFTP Private key authentication SAS Code throws ERROR</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SFTP-Private-key-authentication-SAS-Code-throws-ERROR/m-p/636170#M188960</link>
      <description>&lt;P&gt;Thank you&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/11562"&gt;@Kurt_Bremser&lt;/a&gt;&amp;nbsp;.&lt;/P&gt;&lt;P&gt;I was running the code you suggested and it ran for 1 minutes and i thought it was successfull.thanks&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/65020"&gt;@ku&lt;/a&gt;rt&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;but iam getting below note now and not the old error&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;connect to host XXXX.com port 22: Connection timed out&lt;BR /&gt;Connection closed&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;where can i include the port no and option keyword in the sample code you provided please&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 31 Mar 2020 11:21:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SFTP-Private-key-authentication-SAS-Code-throws-ERROR/m-p/636170#M188960</guid>
      <dc:creator>JJP1</dc:creator>
      <dc:date>2020-03-31T11:21:43Z</dc:date>
    </item>
    <item>
      <title>Re: SFTP Private key authentication SAS Code throws ERROR</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SFTP-Private-key-authentication-SAS-Code-throws-ERROR/m-p/636176#M188963</link>
      <description>&lt;P&gt;I would use your .ssh/config file to store such host-specific options; find example documentation here:&amp;nbsp;&lt;A href="https://www.digitalocean.com/community/tutorials/how-to-configure-custom-connection-options-for-your-ssh-client" target="_blank" rel="noopener"&gt;https://www.digitalocean.com/community/tutorials/how-to-configure-custom-connection-options-for-your-ssh-client&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 31 Mar 2020 11:41:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SFTP-Private-key-authentication-SAS-Code-throws-ERROR/m-p/636176#M188963</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2020-03-31T11:41:21Z</dc:date>
    </item>
    <item>
      <title>Re: SFTP Private key authentication SAS Code throws ERROR</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SFTP-Private-key-authentication-SAS-Code-throws-ERROR/m-p/636181#M188965</link>
      <description>&lt;P&gt;Yes thanks&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/11562"&gt;@Kurt_Bremser&lt;/a&gt;&amp;nbsp;.Actually i was trying to mention everything including options also in SAS code.&lt;/P&gt;&lt;P&gt;So what can i do please.&lt;/P&gt;&lt;P&gt;Do i need to raise SAS track that SAS SFTP option code is not working ?&lt;/P&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt;you want me to setup the options&amp;nbsp; under .ssh ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sorry how can i proceed further from now.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 31 Mar 2020 11:49:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SFTP-Private-key-authentication-SAS-Code-throws-ERROR/m-p/636181#M188965</guid>
      <dc:creator>JJP1</dc:creator>
      <dc:date>2020-03-31T11:49:37Z</dc:date>
    </item>
    <item>
      <title>Re: SFTP Private key authentication SAS Code throws ERROR</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SFTP-Private-key-authentication-SAS-Code-throws-ERROR/m-p/636187#M188969</link>
      <description>&lt;P&gt;As I said, a segmentation violation points to an internal problem in SAS, and that is the domain of SAS Technical Support.&lt;/P&gt;
&lt;P&gt;As a workaround, I recommend running the command from the commandline, and once this works without entering a password, you can use the same (whole) command in a filename pipe. The 2&amp;gt;&amp;amp;1 I added redirects the stderr output to stdout, so that the data step can catch it and write it to the log.&lt;/P&gt;
&lt;P&gt;For the sake of simplicity, I recommend to use the ssh config file for host-specific options.&lt;/P&gt;</description>
      <pubDate>Tue, 31 Mar 2020 11:58:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SFTP-Private-key-authentication-SAS-Code-throws-ERROR/m-p/636187#M188969</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2020-03-31T11:58:50Z</dc:date>
    </item>
    <item>
      <title>Re: SFTP Private key authentication SAS Code throws ERROR</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SFTP-Private-key-authentication-SAS-Code-throws-ERROR/m-p/636516#M189115</link>
      <description>&lt;P&gt;hi&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/11562"&gt;@Kurt_Bremser&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;found that remote server was making use of TLS 1.2 version for FTP connection.&lt;/P&gt;&lt;P&gt;but in my case SAS does not support&amp;nbsp; TLS 1.2 version and only supports TLS 1.0 verison.&lt;/P&gt;&lt;P&gt;but same connection where SFTP with SSH keys works fine when i ran command via putty application.&lt;/P&gt;&lt;P&gt;but same command gets failed with segmentaion error in SAS EG,do you think it is due to TLS version please..&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So If it is due to TLS version may i know why &amp;amp; how please.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 01 Apr 2020 12:33:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SFTP-Private-key-authentication-SAS-Code-throws-ERROR/m-p/636516#M189115</guid>
      <dc:creator>JJP1</dc:creator>
      <dc:date>2020-04-01T12:33:07Z</dc:date>
    </item>
    <item>
      <title>Re: SFTP Private key authentication SAS Code throws ERROR</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SFTP-Private-key-authentication-SAS-Code-throws-ERROR/m-p/636534#M189122</link>
      <description>&lt;P&gt;As I said, get it to run from the commandline, and then use the whole commandline command in a filename pipe from SAS; all the work is done outside SAS, and SAS only fetches the results.&lt;/P&gt;</description>
      <pubDate>Wed, 01 Apr 2020 13:27:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SFTP-Private-key-authentication-SAS-Code-throws-ERROR/m-p/636534#M189122</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2020-04-01T13:27:14Z</dc:date>
    </item>
  </channel>
</rss>

