Add-On: SSHD
This add-on enables SSH access into your desktop environment and is enabled using the --configure
process.
You will also be asked for the port to use.
Warning
If you are running multiple deskops with SSHD enabled you must use different ports for each.
The primary reason for enabling SSHD is to allow saspy
access to your desktop environment.
Once SSHD is enabled you can use the --examples
option to obtain samples to use for ssh
directly as well as what to place in your saspy_personal.py
config file to use saspy
──────────────────────────────────────── SSH Example ──────────────────────────────────
ssh -o StrictHostKeyChecking=no -i
C:\Users\selerity\personal\sas-analytics-pro\data\.ssh\private.key -p 8222
michael@localhost
──────────────────────────────────────── saspy config ─────────────────────────────────
SAS_config_names = ['sas_analytics_pro']
sas_analytics_pro = { 'saspath' : '/opt/sas/viya/home/SASFoundation/sas',
'ssh' : 'ssh',
'dasho' : 'StrictHostKeyChecking=no',
'tunnel' : 9111,
'rtunnel' : 9112,
'port' : 8222,
'luser' : 'michael',
'host' : 'localhost',
'identity' : 'C:/Users/selerity/personal/sas-analytics-pro/data/.ssh/private.key',
'options' : ["-fullstimer"]
}
───────────────────────────────────────────────────────────────────────────────────────