Chapter 1
Introduction
RUGGEDCOM ROS
User Guide
8
SSH Key Pairs
DirName:/C=CA/ST=Ontario/L=Concord/O=RuggedCom.com/OU=RC/CN=ROS
serial:CA:01:2D:C0:BF:F9:FD:F2
X509v3 Basic Constraints:
CA:TRUE
Signature Algorithm: sha1WithRSAEncryption
64:cf:68:6e:9f:19:63:0e:70:49:a6:b2:fd:09:15:6f:96:1d:
4a:7a:52:c3:46:51:06:83:7f:02:8e:42:b2:dd:21:d2:e9:07:
5c:c4:4c:ca:c5:a9:10:49:ba:d4:28:fd:fc:9d:a9:0b:3f:a7:
84:81:37:ca:57:aa:0c:18:3f:c1:b2:45:2a:ed:ad:dd:7f:ad:
00:04:76:1c:f8:d9:c9:5c:67:9e:dd:0e:4f:e5:e3:21:8b:0b:
37:39:8b:01:aa:ca:30:0c:f1:1e:55:7c:9c:1b:43:ae:4f:cd:
e4:69:78:25:5a:a5:f8:98:49:33:39:e3:15:79:44:37:52:da:
28:dd
Section 1.2.2.2
SSH Key Pairs
Controlled versions of RUGGEDCOM ROS support SSH public/private key pairs that conform to the following
specifications:
• PEM format
• DSA key pair, 1024, 2048 or 3072 bits in length; or RSA 1024, 2048 or 3072 bits in length
The DSA key pair used in the default key pair and in those generated by RUGGEDCOM ROS uses a public key of
1024 bits in length.
NOTE
DSA or RSA keys smaller than 2048 bits in length are not recommended, and support is only included
here for compatibility with legacy equipment.
NOTE
DSA/RSA key generation times increase depending on the key length. 1024 bit RSA keys may take
several minutes to generate, whereas 2048 bit keys may take significantly longer. A typical modern PC
system, however, can generate these keys in seconds.
The following (bash) shell script fragment uses the
ssh-keygen
command line utility to generate a 1024 bit
DSA key suitable for use in RUGGEDCOM ROS. The resulting
ssh.keys
file, which may then be uploaded to
RUGGEDCOM ROS:
# DSA key size:
BITS=1024
# Make an SSH key pair:
ssh-keygen -t dsa -b 1024 -N '' -f ssh.keys
The following is an example of an SSH key generated by RUGGEDCOM ROS:
Private-Key: (1024 bit)
priv:
00:b2:d3:9d:fa:56:99:a5:7a:ba:1e:91:c5:e1:35:
77:85:e8:c5:28:36
pub:
6f:f3:9e:af:e6:d6:fd:51:51:b9:fa:d5:f9:0a:b7:
ef:fc:d7:7c:14:59:52:48:52:a6:55:65:b7:cb:38:
2e:84:76:a3:83:62:d0:83:c5:14:b2:6d:7f:cc:f4:
b0:61:0d:12:6d:0f:5a:38:02:67:a4:b7:36:1d:49:
0a:d2:58:e2:ff:4a:0a:54:8e:f2:f4:c3:1c:e0:1f:
9b:1a:ee:16:e0:e9:eb:c8:fe:e8:16:99:e9:61:81:
ed:e4:f2:58:fb:3b:cb:c3:f5:9a:fa:ed:cd:39:51: