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 forwardingOpen /private/etc/ssh/sshconfig and uncomment / change the following values:
# ForwardAgent noto:
# ForwardX11 no
Next, open /private/etc/ssh/sshdconfig and uncomment / change the following value from:
# X11Forwarding noto:
2 - Download XquartzThis can be downloaded directly from here, or via the following command in terminal:
brew cask install xquartz
3 - Launch Management ConsoleIf 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:
If building web applications with SAS is something you’d like to try, then check out this quick guide (or in depth <a href=”https://support.sas.com/resources/papers/proceedings17/1091-2017.pdf” target=”blank”>paper).
Alternatively, if you’re just the type of person who loves to learn about all things SAS, then come visit sasensei.com!