FastHandle - IT Operations Examples

FastHandle is fast operation tools for infrastructure configurations and tests.

User Tools

Site Tools


fhscripts:create:create_ssh_keypair.sh.html



Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
fhscripts:create:create_ssh_keypair.sh.html [2018/01/01 01:05]
kurihara
fhscripts:create:create_ssh_keypair.sh.html [2018/03/29 00:06] (current)
kurihara
Line 1: Line 1:
 [[:index.html#FastHandle Scripts|FastHandle Scripts]] [[:index.html#FastHandle Scripts|FastHandle Scripts]]
-====== create_ssh_keypair.sh ======+====== Script for Creating SSH Keypar with one-line ======
  
-$FHHOME/fhscripts/create_ssh_keypair.sh+$FHHOME/bin/create_ssh_keypair.sh
  
 {{INLINETOC}} {{INLINETOC}}
 \\ \\
  
-===== How to use =====+===== How to use create_ssh_keypair.sh=====
 <sxh bash toolbar:false gutter:false> <sxh bash toolbar:false gutter:false>
 $ create_ssh_keypair.sh  user01  test-server-01 $ create_ssh_keypair.sh  user01  test-server-01
Line 17: Line 17:
 <sxh bash toolbar:false gutter:false> <sxh bash toolbar:false gutter:false>
 $ ./create_ssh_keypair.sh user01  test-server-01 $ ./create_ssh_keypair.sh user01  test-server-01
-# ./key.sh user01 test-server-01 
 Generating public/private rsa key pair. Generating public/private rsa key pair.
 Your identification has been saved in id_rsa.user01.test-server-01. Your identification has been saved in id_rsa.user01.test-server-01.
 Your public key has been saved in id_rsa.user01.test-server-01.pub. Your public key has been saved in id_rsa.user01.test-server-01.pub.
 The key fingerprint is: The key fingerprint is:
-c3:b8:dc:ad:4d:28:98:14:64:c9:05:11:10:fc:ac:9a user01@test-server-01+a4:f9:99:44:ab:53:d7:09:13:cb:de:10:43:e8:54:f5 user01@test-server-01
 The key's randomart image is: The key's randomart image is:
-+--[ RSA 4096]----+ ++--[ RSA 2048]----+ 
-.o+**.          +        +*..    
- .oo            +       o= .   
-|   o.            +      oo *   E  
-   o. o         +      =.  
-  .. .        +     o +    
- .. + o +       | +      = +       | 
-o  o + o o      +     o +        
-|E      +       +              
-       . .      |+                |
 +-----------------+ +-----------------+
 ========================================================== ==========================================================
Line 40: Line 39:
  
 # ls -ltrh  id_rsa.user01.test-server-01* |tail -n 2 # ls -ltrh  id_rsa.user01.test-server-01* |tail -n 2
--rw------- 1 root       root       3.2K Jan  1 01:04 id_rsa.user01.test-server-01 +-rw-r--r-- 1 root       root        403 Jan  1 01:06 id_rsa.user01.test-server-01.pub 
--rw-r--r-- 1 root       root        747 Jan  1 01:04 id_rsa.user01.test-server-01.pub+-rw------- 1 root       root       1.7K Jan  1 01:06 id_rsa.user01.test-server-01 
 </sxh> </sxh>
  
Line 48: Line 48:
 ===== create_ssh_keypair.sh ===== ===== create_ssh_keypair.sh =====
  
-$FHHOME/fhscripts/create_ssh_keypair.sh+$FHHOME/bin/create_ssh_keypair.sh
  
 <sxh bash toolbar:false gutter:false> <sxh bash toolbar:false gutter:false>
Line 91: Line 91:
  
  
 +\\ 
 +\\ 
 +<WRAP box 90%> 
 +<catlist ..: -noAddPageButton -smallHead -sortAscending  -sortAscending> 
 +</WRAP>


fhscripts/create/create_ssh_keypair.sh.html.1514736324.txt.gz · Last modified: 2018/01/01 01:05 by kurihara