Accessing Polaris using WinSCP
Polaris is a publicly available shell server hosted by OIT's Network Services. Polaris accounts are not generated automatically, and must be requested either by a professor for their class, or by an individual with a reasonable need to access the service. Polaris also hosts lin-web/people.clarkson.edu, which is similar to the Webspace Server.
SSH
SSH
PolarisWinSCP is aavailable Rockyon 9https://appsanywhere.clarkson.edu/
Once LinuxWinSCP system,has solaunched, clock on the useNew ofSession an SSH client is required. While there are many SSH clients out there, OIT has recommendations.tab
Terminal
Polaris can also be accessed directly from the shell. Simply run ssh <YOUR_USERNAME>@polaris.clarkson.edu. Windows Terminal may have some quirks, especially surrounding editors, so if you encounter issues, we would recommend exploring other options.
PuTTY
PuTTYFile has been a standard Windows SSH client for a long time. PuTTY can be found here or by using Ninite or Chocolatey. GOOGLE MAY LEAD TO FALSE SITES, so use the provided links!
PuTTY will open to the Session window, where connections are made. The important parts are the Host Name, Port, and Connection Type.
Set Host Name to <YOUR_USERNAME>@polaris.clarkson.edu, and Connection Type to SSH. PortProtocol should already be set to 22.SFTP
Host youname want,is in the format: USERNAME@polaris.clarkson.edu
Port: 22
Username & Password should be left blank.
Click on the Login button.

A new Authentication Banner window open.
Click the Continue button.
Note: At your discretion, you can addcheck athe namebox fornext to "Never show this connectionbanner underagain."

At the informationServer isprompt setwindow, correctly, click Open.
Other Options
If neither of these options work for you, or you are looking for more advanced features, please refer to this AlternativeTo page for additional options. Tabby is a solid mutli-platform option, while Termius is a decent client for iOS and Android.
Logging into Polaris
Upon connecting to Polaris, you will be greeted by a password prompt. Enter yours, then hit enter. Polaris is protected by Two Factor Auth, so you will also be met with a Duo authentication prompt. For most people, there will only be one option, so type 1, then hit enter. You will recieve a standard Duo notification onenter your mobileActive device.Directory Oncepassword. you accept, you will be in a shell for Polaris.
Extra Credit
If you regularly use Polaris, there are a number of extra steps you can take to make your use of the system easier.
SSH Keys
SSH Keys are a cryptographic method to securely access a remote server using a 'key' stored on your device. All clients we mentioned can both generate and present the keys to Polaris for use.
ssh-keygen and ssh-copy-id
For most terminal systems, ssh-keygenThis is the commandsame password you are looking for. For Mac, Linux, and Powershell, running ssh-keygen and leaving most of the options default will be fine. We still HIGHLY recommended that you set a key passphrase.
Once this is done, you can then run ssh-copy-id <YOUR_USERNAME>@polaris.clarkson.edu, which will copy the key you just generated up to Polaris. You will haveuse to log in into a computer and goaccess throughyour Duo,email.
Click butOK.

PuTTYGen
PuTTYGen is PuTTY's SSH key generator, while Pageant is PuTTY's SSH Key Agent.
In PuTTYGen, at the very bottom, there is the type of key and the number of bits. For most cases, the defaults of RSA and 2048 are fine. Click Generate, and you will be asked to move your mouse along the grey box to generate randomness for the cryptographic process. Once that finishes, you will be presented with a complete key.
The Key Comment field is used to allow human-readable key identifiers, such as the user who generated the key. It's likely you'll want to set this to your username.
For best security practices, it isnext HIGHLYServer prompt recommended that you set a key passphrase. This will encrypt the private key.
Once you finish with these, use the Save public key and Save private key buttons to save both keys somewhere. We also recommend copy-pasting the Public key from the top of PuTTYGen into something nearby, as you will need this in a future step, when we add the key to Polaris.
To load these keys into PuTTY, there are two options. They can be loaded in directly, which is likely what you want to do, orwindow, you can useeither Pageant.
Toa loadDUO thepasscode keyif inyou directlyhave one, or enter 1 to PuTTY,receive Loada (notDuo open)Push yourauthentication.
Click SavedOK.

Once you have thesuccessfully keynegotiated in,your useDUO two-factor authentication, you should see the sidebar"Success. Logging you in ..." message.
Note: At your discretion, you can check the box next to navigate"Never backshow this banner again."



The next time you launch WinSCP, you will see the Login screen with "My Workspace" listed.
Another option
You Pageant. Open Pageant, then rightcan click on the iconManage indropdown thelist, taskbarclick on Rename and selectthen "Addlabel Keys".this Navigateconnection type something more meaningful to your .ppk file and select it. Pageant will then present that key whenever you trylike and log in using PuTTY or any other terminal program that supports it."polaris.clarkson.edu"
Adding PuTTYGen Key to Polaris
You will need to log into Polaris and have your public key at hand. On Polaris, copy in and run the following code block.
mkdir
Once this is done, run the following command, making sure you replace <PUBLIC_KEY> with the entire public key string from earlier. The writer of this document recommends copying this command into notepad or a similar editor and modifying it there before pasting it into Polaris shell.
echo





