Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

First off, start by creating an SSH keypair by entering the following command into a local PowerShell prompt.:

Info

If you are still connected via ssh to cslogin your PowerShell prompt will begin with userid@cslogin. To end the ssh session and return you to your local PowerShell prompt enter the command $ exit. The prompt should now begin with PS C:\Users\username>.

$ ssh-keygen -t rsa -b 4096

This will prompt you You will be prompted to Enter file in which to save the key (C:\Users\[username]/.ssh/id_rsa).Leave the prompt blank and press enter to accept the default path and filename.

You will then be prompted to make a passphrase for the keyfile. This is similar to a password, but should be longer and stronger. Make it something you won’t forget, but don’t worry – you won’t be typing it all the time like a normal password.

After a moment you should see confirmation that your identification and public key have been saved.

Next, you need to copy the public key to the cslogin machine. If it gets a login request that was encrypted with your private key then it will know that it’s really you and let you login.

...