1 / 21

Q: Passwords? A: Passwordless.

Q: Passwords? A: Passwordless. Some guy Computing Club, 02/01/2008. ENIGMA: appropriately named. We’ve heard what is, now how do we use it? In order to use it, you must sign on to it. In order to sign on to it, you must have a password (everyone in Biostat Dept).

milos
Télécharger la présentation

Q: Passwords? A: Passwordless.

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Q: Passwords?A: Passwordless. Some guy Computing Club, 02/01/2008

  2. ENIGMA: appropriately named. • We’ve heard what is, now how do we use it? • In order to use it, you must sign on to it. • In order to sign on to it, you must have a password (everyone in Biostat Dept). • Email: Jiong Yang (jyang@jhsph.edu)

  3. MAC attack • From Mary (Max) Weselcouch: Open the Terminal application found in Applications/Utilities on a Mac Type ssh username@enigma.biostat.jhsph.edu Enter your password when prompted. To change your password, type passwd, and then follow the prompts.

  4. SSH / PuTTY • Either allow you access Enigma, as well as “biostat” server. • Google puTTY.exe download. • Get it. • Also, grab “puTTYgen.exe” • Save each to desktop.

  5. QUICK START: Double Click PuTTY icon • Hostname: • For HTML pages: identity@biostat.jhsph.edu • For ENIGMA: identity@enigma.biostat.jhsph.edu • A black terminal appears, asks for your host name. Should be the same as your “identity” in your jhsph.edu email address: identity@jhsph.edu - enter that and hit return. • Then prompted for password. Type it, hit return. • You’re in!

  6. Rigmarole be gone! • Let’s set up passwordless entry onto ENIGMA. • Double click puTTYgen.exe. • Click “generate” button. • Wave your mouse around region until green bar fills up (seriously…it is collecting your mouse position as a randomly generated sequence).

  7. Continued from last slide • Enter passphrase, and confirm. • Click save private key. • KEEP YOUR puTTYgen WINDOW OPEN! • Now we have a generated key. We need to put it into our /home/bst/student/identity/.ssh folder • But first, WINSCP. This will allow us to transfer files very easily.

  8. WINSCP.exe • Google for it. • Download, and install. Then double click icon and enter your info and hit Login:

  9. See the transfers. • On the left, your computer. On the right, What you logged into.

  10. Back to passwordless… • Go to the puTTYgen window that you kept open. • Highlight and copy the contents of big field:

  11. Put the key into ENIGMA • In your WINSCP window, find on the right hand side your .ssh folder. • Get in the folder and double click “authorized_keys” • Paste in the stuff from puTTYgen. • Click save icon in toolbar, and close. • Close WINSCP, puTTYgen, and puTTY.

  12. The test. • Open putty. Go to “ssh – auth” on the sidebar.

  13. Tell putty where key is. • Hit browse or put in file path. DO NOT hit Open.

  14. Need to save session. • Go to “Session” on sidebar (very top). • Enter your info, and name the Session in “Saved Sessions”. I named mine “bruceComputingCLUB”. Hit Save.

  15. Hallelujah, You’re SAVED. • Now the session with the passwordless key is saved. • Hit Open. Will ask for pass phrase if you made one when you used puTTYgen. Extra level of security.

  16. Keyboard shortcuts • Next time you click on putty.exe, you can load the saved session you just built. • OR… • Be cool. • Keyboard shortcuts. Right click on putty.exe icon. Click create shortcut. • Name the shortcut “puTTYENIGMA”

  17. …continued • Right click “puTTYENIGMA” • Scroll to the end of “target” field and put • - load “BruceComputingCLUB” • Where “BruceComputingCLUB” is what you named your saved session. DON’T CLOSE

  18. …continued • Move cursor to Keyboard Shortcut. • Then hold down ctrl, alt, p. “ctrl + alt + P” should appear. • Now hit ok.

  19. The real test. • Casually say, “What’s up?” while looking at someone logging into ENIGMA the old way while simultaneously hitting “alt + ctrl + p” and nonchalantly go on to the cluster. • Type R. Hit enter. • To quit R: q(“no”) • To quit terminal: exit

  20. WINSCP • Can make WINSCP passwordless, too. • Put in private key file (leave password blank): • Click save, name it “something”.

  21. WINSCP • Can implement keyboard shortcut as well. • Right click winscp icon / make shortcut • Right click shortcut / properties • End of target field, -load “something” • Move cursor to shortcut key field • Push the short cut (ctrl+alt + [blank] ) • Save. Done.

More Related