As an avid developer of SAS Stored Process Web Applications, the Macbook Pro is my development machine of choice. Since building a macro to programmatically create STPs, I’ve had few reasons to launch a VM to use client tools – but today I actually did need to use SAS Management Console (SMC).
Still – who says a client tool has to be run from a client? It’s actually possible to launch SMC from your SAS Server, and here are the steps you need to make:
1 – Enable X11 forwarding
Open /private/etc/ssh/ssh_config and uncomment / change the following values:
# ForwardAgent no
# ForwardX11 no
Next, open /private/etc/ssh/sshd_config and uncomment / change the following value from:
# X11Forwarding no
2 – Download Xquartz
This can be downloaded directly from here, or via the following command in terminal:
brew cask install xquartz
3 – Launch Management Console
If it does not work immediately, try opening a new shell or performing a restart. The commands will be along the lines of:
ssh -Y [email protected]
and – voila:
Alternatively, if you’re just the type of person who loves to learn about all things SAS, then come visit sasensei.com!