BookmarkSubscribeRSS Feed
sampsas
Fluorite | Level 6

Hello Friends, 

i am trying to run some linux commands using sas eg 7.15 with infile statement and receiving below message in log, code is not running fine. do i need additional linux packages like "openssh askpass" or additional configuration at os side?

 

data _null_;

   infile 'ssh remoteserver_hostname "...some...commands" ' pipe;

   input; 

   put _input_;

run;

 

ssh_askpass: exec(/usr/libexec/openssh/ssh-askpass): No such file or directory
Host key verification failed.

 

 

 

3 REPLIES 3
sampsas
Fluorite | Level 6

so is it need to be configured by linux admin or any sas user can do it? my need is running sas program with installer id (i.e. sas). thanks.  

SimonDawson
SAS Employee
If you can logon to a shell on that host you can do it. ssh-keygen(1) is the command to create the keys. Once created you'll need to put them onto the host you are logging onto into the users authorized_keys files.

For details on SSH see the upstream manual provide by the OpenBSD project at https://man.openbsd.org/ssh-keygen.1

suga badge.PNGThe SAS Users Group for Administrators (SUGA) is open to all SAS administrators and architects who install, update, manage or maintain a SAS deployment. 

Join SUGA 

Get Started with SAS Information Catalog in SAS Viya

SAS technical trainer Erin Winters shows you how to explore assets, create new data discovery agents, schedule data discovery agents, and much more.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 3 replies
  • 802 views
  • 0 likes
  • 3 in conversation