Page MenuHomeDevCentral

Generate deploy@saltmaster SSH key
ClosedPublic

Authored by dereckson on Nov 22 2017, 02:37.
Tags
None
Referenced Files
F3752663: D1244.diff
Sun, Nov 17, 20:35
F3750959: D1244.id3197.diff
Sun, Nov 17, 04:57
Unknown Object (File)
Sat, Nov 16, 04:39
Unknown Object (File)
Sat, Nov 16, 03:06
Unknown Object (File)
Fri, Nov 15, 21:21
Unknown Object (File)
Fri, Nov 15, 20:59
Unknown Object (File)
Fri, Nov 15, 18:36
Unknown Object (File)
Fri, Nov 15, 18:05
Subscribers
None

Details

Summary

To stage directories on the salt master for deployment purpose
require a SSH key. This change generates one if missing.

This is a follow-up for fd1d5c95f.

Test Plan

run on Ysul

Diff Detail

Repository
rOPS Nasqueron Operations
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

Ysul
----------                                                                                                                                                     
          ID: deploy_account_ssh_key                                                                                                                           
    Function: cmd.run                                                                                                                                          
        Name: ssh-keygen -t ed25519 -N "" -f /var/run/deploy/.ssh/id_ed25519                                                                                   
      Result: True                                                                                                                                             
     Comment: Command "ssh-keygen -t ed25519 -N "" -f /var/run/deploy/.ssh/id_ed25519" run                                                                     
     Started: 02:22:49.406960                                                                                                                                  
    Duration: 300.059 ms                                                                                                                                       
     Changes:                                                                                                                                                  
              ----------                                                                                                                                       
              pid:                                                                                                                                             
                  46421                                                                                                                                        
              retcode:                                                                                                                                         
                  0                                                                                                                                            
              stderr:                                                                                                                                          
              stdout:                                                                                                                                          
                  Generating public/private ed25519 key pair.                                                                                                  
                  Your identification has been saved in /var/run/deploy/.ssh/id_ed25519.                                                                       
                  Your public key has been saved in /var/run/deploy/.ssh/id_ed25519.pub.                                                                       
                  The key fingerprint is:                                                                                                                      
                  SHA256:e5ITOWVFiQqrVAXp9BMJzwX1vjxsPLCW4gCoJfaxnaM deploy@ysul.nasqueron.org                                                                 
                  The key's randomart image is:                                                                                                                
                  +--[ED25519 256]--+                                                                                                                          
                  |      o=o+ooo.   |                                                                                                                          
                  |      =oo..o.    |                                                                                                                          
                  |     + +ooo .    |                                                                                                                          
                  |   .. o ++ .     |                                          
                  |..oo..  S.. .    |                                                                                                                        
                  |.+. =..  = B .   |                                             
                  |.  o +. * = O    |                                               
                  |    . .o * . o   |               
                  |   E    .        |                                                                                                                          
                  +----[SHA256]-----+
This revision is now accepted and ready to land.Nov 22 2017, 02:38
This revision was automatically updated to reflect the committed changes.