<?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 How to use Private Key in Filename SFTP in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/How-to-use-Private-Key-in-Filename-SFTP/m-p/549403#M152435</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to transfer a file from my SAS server (SAS 9.4 on Unix) to a Linux(Hadoop) environment. We were able to test to connect and &lt;SPAN style="background-color: transparent; color: #333333; cursor: text; display: inline; float: none; font-family: &amp;amp;quot; helevticaneue-light&amp;amp;quot;,&amp;amp;quot;helvetica neue&amp;amp;quot;,helvetica,arial,sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; line-height: 16.8px; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px;"&gt;file&lt;/SPAN&gt; transfer through WinSCP. But I needed to add my Private Key in order to connect to the Linux server when using WinSCP. I am wondering how to do this in the Filename SFTP syntax in SAS.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I referenced another question in this community but it still did not work.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please help.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My program:&lt;/P&gt;&lt;P&gt;filename attn '/apps/sas/datasets/data30/NAWIM/Elaine/WO/EHS/Reports/test.csv';&lt;/P&gt;&lt;P&gt;filename outfile sftp '/apps/sas/datasets/data30/NAWIM/Elaine/WO/EHS/Reports/test.csv' CD ='/hrtoaxion'&lt;BR /&gt;options="-p = 1000 -i = /apps/sas/datasets/data30/NAWIM/Elaine/WO/EHS/private_key_a135929.ppk"&lt;BR /&gt;host="host_name" user="username" lrecl=800 DEBUG ;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;data _null_;&lt;BR /&gt;infile attn lrecl=800;&lt;BR /&gt;file outfile lrecl=800 ;&lt;BR /&gt;input;&lt;BR /&gt;put _infile_;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The error log as bellows:&lt;/P&gt;&lt;P&gt;NOTE: The infile ATTN is:&lt;BR /&gt;Filename=/apps/sas/datasets/data30/NAWIM/Elaine/WO/EHS/Reports/test.csv,&lt;BR /&gt;Owner Name=a135929,Group Name=nawim,&lt;BR /&gt;Access Permission=-rw-r--r--,&lt;BR /&gt;Last Modified=29Mar2019:17:02:48,&lt;BR /&gt;File Size (bytes)=787&lt;/P&gt;&lt;P&gt;NOTE: sftp: illegal option -- pusage: sftp [-1Cv] [-B buffer_size] [-b batchfile] [-F ssh_config] [-o ssh_option] [-P&lt;BR /&gt;sftp_server_path] [-R num_requests] [-S program] [-s subsystem | sftp_server] host sftp [user@]host[:file&lt;BR /&gt;...] sftp [user@]host[:dir[/]] sftp -b batchfile [user@]host&lt;BR /&gt;NOTE: cd /hrtoaxion&lt;BR /&gt;ERROR: Directory or file /apps/sas/datasets/data30/NAWIM/Elaine/WO/EHS/Reports/test.csv doesn't exist.&lt;BR /&gt;NOTE: 0 records were read from the infile ATTN.&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 1.51 seconds&lt;BR /&gt;cpu time 0.01 seconds&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 08 Apr 2019 19:44:25 GMT</pubDate>
    <dc:creator>EEEY</dc:creator>
    <dc:date>2019-04-08T19:44:25Z</dc:date>
    <item>
      <title>How to use Private Key in Filename SFTP</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-use-Private-Key-in-Filename-SFTP/m-p/549403#M152435</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to transfer a file from my SAS server (SAS 9.4 on Unix) to a Linux(Hadoop) environment. We were able to test to connect and &lt;SPAN style="background-color: transparent; color: #333333; cursor: text; display: inline; float: none; font-family: &amp;amp;quot; helevticaneue-light&amp;amp;quot;,&amp;amp;quot;helvetica neue&amp;amp;quot;,helvetica,arial,sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; line-height: 16.8px; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px;"&gt;file&lt;/SPAN&gt; transfer through WinSCP. But I needed to add my Private Key in order to connect to the Linux server when using WinSCP. I am wondering how to do this in the Filename SFTP syntax in SAS.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I referenced another question in this community but it still did not work.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please help.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My program:&lt;/P&gt;&lt;P&gt;filename attn '/apps/sas/datasets/data30/NAWIM/Elaine/WO/EHS/Reports/test.csv';&lt;/P&gt;&lt;P&gt;filename outfile sftp '/apps/sas/datasets/data30/NAWIM/Elaine/WO/EHS/Reports/test.csv' CD ='/hrtoaxion'&lt;BR /&gt;options="-p = 1000 -i = /apps/sas/datasets/data30/NAWIM/Elaine/WO/EHS/private_key_a135929.ppk"&lt;BR /&gt;host="host_name" user="username" lrecl=800 DEBUG ;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;data _null_;&lt;BR /&gt;infile attn lrecl=800;&lt;BR /&gt;file outfile lrecl=800 ;&lt;BR /&gt;input;&lt;BR /&gt;put _infile_;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The error log as bellows:&lt;/P&gt;&lt;P&gt;NOTE: The infile ATTN is:&lt;BR /&gt;Filename=/apps/sas/datasets/data30/NAWIM/Elaine/WO/EHS/Reports/test.csv,&lt;BR /&gt;Owner Name=a135929,Group Name=nawim,&lt;BR /&gt;Access Permission=-rw-r--r--,&lt;BR /&gt;Last Modified=29Mar2019:17:02:48,&lt;BR /&gt;File Size (bytes)=787&lt;/P&gt;&lt;P&gt;NOTE: sftp: illegal option -- pusage: sftp [-1Cv] [-B buffer_size] [-b batchfile] [-F ssh_config] [-o ssh_option] [-P&lt;BR /&gt;sftp_server_path] [-R num_requests] [-S program] [-s subsystem | sftp_server] host sftp [user@]host[:file&lt;BR /&gt;...] sftp [user@]host[:dir[/]] sftp -b batchfile [user@]host&lt;BR /&gt;NOTE: cd /hrtoaxion&lt;BR /&gt;ERROR: Directory or file /apps/sas/datasets/data30/NAWIM/Elaine/WO/EHS/Reports/test.csv doesn't exist.&lt;BR /&gt;NOTE: 0 records were read from the infile ATTN.&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 1.51 seconds&lt;BR /&gt;cpu time 0.01 seconds&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 08 Apr 2019 19:44:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-use-Private-Key-in-Filename-SFTP/m-p/549403#M152435</guid>
      <dc:creator>EEEY</dc:creator>
      <dc:date>2019-04-08T19:44:25Z</dc:date>
    </item>
    <item>
      <title>Re: How to use Private Key in Filename SFTP</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-use-Private-Key-in-Filename-SFTP/m-p/549439#M152449</link>
      <description>&lt;P&gt;From what I see, you use options&amp;nbsp;&amp;nbsp;&lt;SPAN&gt;-p&amp;nbsp; and&amp;nbsp; -i&amp;nbsp; which are not supported.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 08 Apr 2019 22:41:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-use-Private-Key-in-Filename-SFTP/m-p/549439#M152449</guid>
      <dc:creator>ChrisNZ</dc:creator>
      <dc:date>2019-04-08T22:41:57Z</dc:date>
    </item>
    <item>
      <title>Re: How to use Private Key in Filename SFTP</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-use-Private-Key-in-Filename-SFTP/m-p/549441#M152450</link>
      <description>&lt;P&gt;thanks ChrisNZ for your response. But I saw another thread using this option as a solution. How to check what options can i use in SAS, specifically using private key? The SAS document did not have that details.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks a lot!&lt;/P&gt;</description>
      <pubDate>Mon, 08 Apr 2019 22:45:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-use-Private-Key-in-Filename-SFTP/m-p/549441#M152450</guid>
      <dc:creator>EEEY</dc:creator>
      <dc:date>2019-04-08T22:45:31Z</dc:date>
    </item>
    <item>
      <title>Re: How to use Private Key in Filename SFTP</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-use-Private-Key-in-Filename-SFTP/m-p/549444#M152451</link>
      <description>&lt;P&gt;Try using the -o option.&lt;/P&gt;
&lt;PRE&gt;-oIdentityFile=filename&lt;/PRE&gt;</description>
      <pubDate>Mon, 08 Apr 2019 23:24:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-use-Private-Key-in-Filename-SFTP/m-p/549444#M152451</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2019-04-08T23:24:46Z</dc:date>
    </item>
    <item>
      <title>Re: How to use Private Key in Filename SFTP</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-use-Private-Key-in-Filename-SFTP/m-p/549445#M152452</link>
      <description>&lt;P&gt;1. Can you send files outside of SAS?&lt;/P&gt;
&lt;P&gt;What syntax and options do you use to connect outside of SAS?&lt;/P&gt;
&lt;P&gt;Can you use the same options in SAS?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;2. Have you registered the keys?&lt;/P&gt;
&lt;P&gt;Something like this: &lt;A href="https://www.jscape.com/blog/setting-up-sftp-public-key-authentication-command-line" target="_blank"&gt;https://www.jscape.com/blog/setting-up-sftp-public-key-authentication-command-line&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 08 Apr 2019 23:26:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-use-Private-Key-in-Filename-SFTP/m-p/549445#M152452</guid>
      <dc:creator>ChrisNZ</dc:creator>
      <dc:date>2019-04-08T23:26:42Z</dc:date>
    </item>
    <item>
      <title>Re: How to use Private Key in Filename SFTP</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-use-Private-Key-in-Filename-SFTP/m-p/549446#M152453</link>
      <description>&lt;P&gt;am I supposed to this below?&amp;nbsp;&lt;/P&gt;&lt;P&gt;options="-oIdentityFile = /apps/sas/datasets/data30/NAWIM/Elaine/WO/EHS/private_key_a135929.ppk"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I got the same error.&lt;/P&gt;</description>
      <pubDate>Mon, 08 Apr 2019 23:34:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-use-Private-Key-in-Filename-SFTP/m-p/549446#M152453</guid>
      <dc:creator>EEEY</dc:creator>
      <dc:date>2019-04-08T23:34:24Z</dc:date>
    </item>
    <item>
      <title>Re: How to use Private Key in Filename SFTP</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-use-Private-Key-in-Filename-SFTP/m-p/549447#M152454</link>
      <description>&lt;P&gt;Please see my response in Italic below.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1. Can you send files outside of SAS?&lt;/P&gt;&lt;P&gt;What syntax and options do you use to connect outside of SAS?&lt;/P&gt;&lt;P&gt;Can you use the same options in SAS?&lt;/P&gt;&lt;P&gt;&lt;EM&gt;- Yes. I used WinSCP to test and was able to connect and send the file. But I create the file in SAS and need to automate the process including the file transfer.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;2. Have you registered the keys?&lt;/P&gt;&lt;P&gt;Something like this: &lt;A href="https://www.jscape.com/blog/setting-up-sftp-public-key-authentication-command-line" target="_blank" rel="nofollow noopener noreferrer"&gt;https://www.jscape.com/blog/setting-up-sftp-public-key-authentication-command-line&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;- We did the key pair and they added my public key and my private key. One thing I want to point out (but not sure if it caused the failure because of this) is that the target server does not support SSH connect. So I could only test the connect in WinSCP but not in Putty.&lt;/EM&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 08 Apr 2019 23:41:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-use-Private-Key-in-Filename-SFTP/m-p/549447#M152454</guid>
      <dc:creator>EEEY</dc:creator>
      <dc:date>2019-04-08T23:41:42Z</dc:date>
    </item>
    <item>
      <title>Re: How to use Private Key in Filename SFTP</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-use-Private-Key-in-Filename-SFTP/m-p/549448#M152455</link>
      <description>&lt;P&gt;I don't think it will like the spaces.&lt;/P&gt;
&lt;P&gt;Try it just using normal ssh or sftp command from command prompt on a regular machine to get the syntax right.&lt;/P&gt;</description>
      <pubDate>Mon, 08 Apr 2019 23:44:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-use-Private-Key-in-Filename-SFTP/m-p/549448#M152455</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2019-04-08T23:44:04Z</dc:date>
    </item>
    <item>
      <title>Re: How to use Private Key in Filename SFTP</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-use-Private-Key-in-Filename-SFTP/m-p/549451#M152457</link>
      <description>&lt;P&gt;I removed the space in the Options. the log seems a little different than last time, saying my private key are too open.It is recommended that your private&lt;BR /&gt;key files are NOT accessible by others.This private key will be ignored.bad permissions: ignore key:&lt;BR /&gt;/apps/sas/datasets/data30/NAWIM/Elaine/WO/EHS/private_key_a135929.ppkssh_askpass: exec(/opt/quest/libexec/ssh-askpass): No&lt;BR /&gt;2 The SAS System&lt;/P&gt;&lt;P&gt;such file or directoryPermission denied, please try again.ssh_askpass: exec(/opt/quest/libexec/ssh-askpass): No such file&lt;BR /&gt;or directoryPermission denied, please try again.ssh_askpass: exec(/opt/quest/libexec/ssh-askpass): No such file or&lt;BR /&gt;directoryPermission denied (publickey,gssapi-keyex,gssapi-with-mic,password).Connection closed&lt;BR /&gt;NOTE: cd /hrtoaxion&lt;BR /&gt;ERROR: Directory or file /apps/sas/datasets/data30/NAWIM/Elaine/WO/EHS/Reports/test.csv doesn't exist.&lt;BR /&gt;NOTE: 0 records were read from the infile ATTN.&lt;BR /&gt;NOTE: The SAS System stopped processing this step because of errors.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I don't know what I should do about it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regarding your 2nd recommendation -&lt;/P&gt;&lt;P&gt;Since they don't support SSH, I can't really use command in Putty to connect to the target sever and test. Argh..&lt;/P&gt;</description>
      <pubDate>Tue, 09 Apr 2019 00:07:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-use-Private-Key-in-Filename-SFTP/m-p/549451#M152457</guid>
      <dc:creator>EEEY</dc:creator>
      <dc:date>2019-04-09T00:07:20Z</dc:date>
    </item>
    <item>
      <title>Re: How to use Private Key in Filename SFTP</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-use-Private-Key-in-Filename-SFTP/m-p/549454#M152460</link>
      <description>You need change the permissions on the file with your credentials.&lt;BR /&gt;Can you run commands?:&lt;BR /&gt;X "chmod 600 filename";&lt;BR /&gt;Otherwise there was a question just the other data about the PERMISSION option on FILENAME/FILE statement.&lt;BR /&gt;</description>
      <pubDate>Tue, 09 Apr 2019 00:52:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-use-Private-Key-in-Filename-SFTP/m-p/549454#M152460</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2019-04-09T00:52:18Z</dc:date>
    </item>
    <item>
      <title>Re: How to use Private Key in Filename SFTP</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-use-Private-Key-in-Filename-SFTP/m-p/549768#M152594</link>
      <description>&lt;P&gt;Thanks Tom. I tried the X command but it did not really do anything. still got the same error about :&lt;/P&gt;&lt;P&gt;ERROR: Directory or file /apps/sas/datasets/data30/NAWIM/Elaine/WO/EHS/Reports/test.csv doesn't exist.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am sure that the file and the path of original file is absolutely correct.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;One question - do I need to ask my SAS admin to authorize the target server's public key?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 09 Apr 2019 18:48:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-use-Private-Key-in-Filename-SFTP/m-p/549768#M152594</guid>
      <dc:creator>EEEY</dc:creator>
      <dc:date>2019-04-09T18:48:33Z</dc:date>
    </item>
    <item>
      <title>Re: How to use Private Key in Filename SFTP</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-use-Private-Key-in-Filename-SFTP/m-p/549775#M152600</link>
      <description>&lt;P&gt;Hard to tell without seeing the full SAS LOG to see what code you submitted and what error is reported, but it looks like you are now connecting but the file you asked for was not found.&lt;/P&gt;</description>
      <pubDate>Tue, 09 Apr 2019 19:10:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-use-Private-Key-in-Filename-SFTP/m-p/549775#M152600</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2019-04-09T19:10:53Z</dc:date>
    </item>
    <item>
      <title>Re: How to use Private Key in Filename SFTP</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-use-Private-Key-in-Filename-SFTP/m-p/550360#M152801</link>
      <description>&lt;P&gt;Thank you so much everyone for your reply on my questions. I was able to find the final solution.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Basically the public key I provided should be the public key on the SAS server /.ssh/ir_rsa.pub file. Instead my IT ppl guided me to generate a public/private key in Windows. If they did the key pair correctly, I did not need to provide my private key to the target server and specify in my SAS program. The other issue we had was that the Port number at the target server is not standard one so I need to specify in my program. The syntax i finally use is like below. Hope someone in this community could be benefited from this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;filename attn 'path of source file/test.csv';&lt;/P&gt;&lt;P&gt;filename outfile sftp '&lt;SPAN style="display: inline !important; float: none; background-color: transparent; color: #333333; cursor: text; font-family: 'HelevticaNeue-light','Helvetica Neue',Helvetica,Arial,sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px;"&gt;path of source file/&lt;/SPAN&gt;/test.csv' cd ='directory'&lt;BR /&gt;options="-oPort=1784" host="host_name" user="user_name" lrecl=800 DEBUG ;&lt;/P&gt;&lt;P&gt;/**in case in need of private key -&amp;nbsp;-&lt;SPAN style="display: inline !important; float: none; background-color: transparent; color: #333333; cursor: text; font-family: 'HelevticaNeue-light','Helvetica Neue',Helvetica,Arial,sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px;"&gt;options="&lt;/SPAN&gt;oIdentityFile=location of private key on SAS server/.ssh/id_rsa -oPort=1784*/&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;data _null_;&lt;BR /&gt;infile attn lrecl=800;&lt;BR /&gt;file outfile lrecl=800 ;&lt;BR /&gt;input;&lt;BR /&gt;put _infile_;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;filename attn clear;&lt;BR /&gt;filename outfile clear;&lt;/P&gt;</description>
      <pubDate>Thu, 11 Apr 2019 18:04:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-use-Private-Key-in-Filename-SFTP/m-p/550360#M152801</guid>
      <dc:creator>EEEY</dc:creator>
      <dc:date>2019-04-11T18:04:41Z</dc:date>
    </item>
    <item>
      <title>Re: How to use Private Key in Filename SFTP</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-use-Private-Key-in-Filename-SFTP/m-p/550448#M152825</link>
      <description>&lt;P&gt;&lt;EM&gt;&amp;gt;&amp;nbsp;Thank you so much everyone for your reply on my questions. I was able to find the final solution.&amp;nbsp;&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;Thanks for posting an update and a solution.&lt;/P&gt;</description>
      <pubDate>Thu, 11 Apr 2019 22:00:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-use-Private-Key-in-Filename-SFTP/m-p/550448#M152825</guid>
      <dc:creator>ChrisNZ</dc:creator>
      <dc:date>2019-04-11T22:00:17Z</dc:date>
    </item>
  </channel>
</rss>

