Problem Note 3002: SAS/CONNECT SIGNON steps for interfacing with a remote machine running
SSH
To interface with a remote machine running SSH through SAS/CONNECT,
follow the steps below.
1.) Start a SAS Spawner on the remote server with the options:
-inheritance (which is installed by default) and
-service yyyy (where yyyy is the spawner port)
For example, UNIX Spawner program:
/utilities/bin/sastcpd -service 4321 -inheritance
2.) Open a SSH tunnel from the client machine to the server machine
by submitting the following code outside of SAS:
ssh -N -L xxxx:localhost:4321 the.unix.server
/* where xxxx is a local random unused port */
/* where the.unix.server is the alias hostname or IP address of
the remote unix machine running SSH */
ssh -N -L 4444:localhost:4321 the.unix.server
3.) A connection must be made to the random local port (xxxx),
defined in step 2, on the local host. To establish this
connection, a SAS/CONNECT SIGNON is used. This SIGNON will
establish a SAS/CONNECT conversation from the local host to the
local port number. The local port number is then forwarded to
the remote host via SSH. Submit the following code from within
SAS on the client:
%let server=localhost 4444;
options remote=server;
filename rlink '......./xxxxxxx.scr';
signon;
Operating System and Release Information
| SAS System | SAS/CONNECT | Microsoft® Windows® for 64-Bit Itanium-based Systems | 9 TS M0 | |
| 64-bit Enabled Solaris | 8 TS M0 | |
| Solaris | 8 TS M0 | |
| IRIX | 8 TS M0 | |
| Linux | 9 TS M0 | |
| HP-UX | 8 TS M0 | |
| ABI+ for Intel Architecture | 8 TS M0 | |
| HP-UX IPF | 9 TS M0 | |
| 64-bit Enabled AIX | 8 TS M0 | |
| 64-bit Enabled HP-UX | 8 TS M0 | |
| AIX | 8 TS M0 | |
| Tru64 UNIX | 8 TS M0 | |
*
For software releases that are not yet generally available, the Fixed
Release is the software release in which the problem is planned to be
fixed.
| Type: | Problem Note |
| Priority: | high |
| Topic: | System Administration ==> Communication
|
| Date Modified: | 2003-04-18 13:02:28 |
| Date Created: | 2000-07-10 11:57:51 |