
Then copy everything contained in the box Public key for pasting into Open SSH authorized_keys file. Save both the public key and the private key in a convenient location on your local hard drive by clicking Save public key and Save private key. The comment could be used to remind you of the password, but must not allow others to guess it.

#Securecrt vs putty password
Once the generation finishes, enter a password for the key or, even better, a passphrase, along with a comment. You will be asked to generate randomness by moving your mouse around. Set the type to SSH-2 DSA and click Generate. You can find it by searching or by clicking Start, All Programs, PuTTY, PuTTYgen. To create a public/private key pair in PuTTY, you need to run PuTTYgen. Then select PublicKey in the Authentication section and click the up arrow until it is the top choice.Ĭlick OK, and from now on when you log in to Linstat, you'll be prompted for your key passphrase rather than your SSCC password. Under Category on the left, click Connection, SSH2. Next, open the session properties for your Linstat connection. Unfortunately the program that manages key pair connections doesn't understand user private groups and insists keys must not have group write permissions for security reasons.) (SSCC uses "user private groups" to make it easy to share files in project directories while keeping files in home directories private. If you haven't already, log into Linstat. Paste in the contents of the key, making sure it is all on one line, and save the file. ssh/authorized_keys using your preferred Linux text editor ( pico, emacs, vi, etc.). If not, copy the entire contents of the file, log in to Linstat, then open. ssh folder is hidden by default, so you'll need to type its name rather than clicking on it. If you are currently on the SSCC network save the file as z:\.ssh\authorized_keys. pub extension indicates that this is the public key, to be shared with the server, rather than the private key which remains on your computer.)

Now that the key has been generated it, use Notepad, TextPad or your favorite text editor and open Identity.pub. Select the OpenSSH Key format, and then save the keys in a convenient location on your local hard drive (the default location is probably OK).Ĭlick Yes when asked if you want to use this as your global public key. Įnter a password for the key or, even better, a passphrase, along with a comment. In SecureCRT, click Tools, Create Public Key. SecureCRT and PuTTY are good alternatives, though neither of them can display graphics without forwarding them to a separate program like X-Win32 or Xming. (Recall that if you're connecting remotely and not using VPN you cannot use X-Win32. This article has instructions for SecureCRT, PuTTY, and Mac/Linux. Configure the client program to use key authentication rather than passwords.ssh/authorized_keys in your Linstat home directory Generate a public/private key pair on your local computerĪdd the key to.


No matter how you connect to Linstat, the process of creating a key pair is very much the same: If you will be traveling we suggest configuring it before you leave the United States otherwise you'll need to connect using VPN or Winstat once to set up the key pair. (How you connect has no bearing on how quickly jobs run.)Ĭonfiguring a key pair requires a connection to Linstat. This makes it a good choice for Linstat users outside the United States who are concerned about the performance of their interactive sessions. Using a key pair takes some configuration, but does not send all your network traffic through an intermediary like VPN or Winstat. Once configured, you'll be asked for the password associated with the key rather than your SSCC password whenever you log into Linstat from that computer. Public key authentication uses two files to prove who you are rather than a password: a public key on the server and a private key on your local computer.
