Changes between Version 12 and Version 13 of NikySandbox/TridentCommTut


Ignore:
Timestamp:
05/16/12 07:54:30 (12 years ago)
Author:
nriga@bbn.com
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • NikySandbox/TridentCommTut

    v12 v13  
    7878
    7979== 1b. Clear the passphrase from your cert ==
    80 When you first logged in to Flack, you had to type your passphrase (password). Flack cashes this information and re-uses it for the duration of the session. Omni will ask you for the phrase multiple times per command. To save time during the tutorial, we are going to remove the passphrase from your cert. There is a script to clear your passphrase. Run :
    81 {{{
    82 clear-pem-cert.py
     80When you first logged in to Flack, you had to type your passphrase (password). Flack cashes this information and re-uses it for the duration of the session. Omni will ask you for the phrase multiple times per command. To save time during the tutorial, we are going to remove the passphrase from your cert and your ssh key. There is a script to clear the passphrases. Run :
     81{{{
     82clear-passphrases.py
    8383}}}
    8484
    8585Use the same password as in Flack.
     86
     87The output should look like
     88{{{
     89geni@geni-vm:~$ clear-passphrases.py
     90Do you want to remove the passphrase from your cert (/home/geni/.ssl/geni_cert.pem) [Y,n]?y
     91INFO:clearcert:
     92        THIS SCRIPT WILL REPLACE /home/geni/.ssl/geni_cert.pem WITH AN UNENCREPTED CERT. A BACKUP OF THE ORIGINAL CERT WILL BE CREATED
     93
     94INFO:clearcert:The encoded certificate file is backed up at /home/geni/.ssl/geni_cert_enc.pem
     95INFO:clearcert:Removing passphrase from cert...
     96Enter pass phrase for /home/geni/.ssl/geni_cert.pem:
     97writing RSA key
     98INFO:clearcert:Change permissions of /home/geni/.ssl/geni_cert.pem to 0600
     99Do you want to remove the passphrase from you ssh-key (/home/geni/.ssh/geni_key, key used to login to compute resources) [Y,n]?y
     100INFO:clearcert:
     101        THIS SCRIPT WILL REMOVE THE PASSPHRASE FROM YOUR SSH KEY. NO COPY OF THE ORIGINAL PRIVATE KEY WILL BE KEPT
     102Enter PEM pass phrase:
     103Enter passphrase:
     104geni@geni-vm:~$
     105}}}
    86106
    87107Verify that you have the necessary credential and key files