Ryan Moore
2006-10-19 00:56:00 UTC
I'm trying to get SSH1 RSA-key authentication to work. But the file
format the Multinet server wants seems very different than what my client
is generating. The client I'm trying to use is SecureCRT from VanDyke
Software. I've asked it to generate an RSA keypair. The public key it
generated looks like this:
---- BEGIN SSH2 PUBLIC KEY ----
Subject: rmoore
Comment: "***@rsa-work"
ModBitSize: 1024
AAAAB3NzaC1yc2EAAAADAQABAAAAgQDVJK7ZwyVo4AEa+MHQqP0LMuGhIjipat2AIuh7
GPxwWdB1YSjDbuLhSGrKjYfD74JmUUCEpmzqnOd6tLhH+LHa0PI5QSpR6hH/7MXa0y7A
2Rg0EjqLgzdY9lTMsamKUhrB5K3umwvyaMbJu+UMNx3M8stXLPrc6EkjXqndYyoM+w==
---- END SSH2 PUBLIC KEY ----
Now I go over to my VMS server and it wants something in the
authorized_keys file which gives the number of bits, the exponent, and
the modulus of the key. And it looks like all those things are suppsed to
be numbers. I certainly don't see a number in the above generated key.
How do I convert the above key into something the SSH1 server will
consume? So far the SSH1 server is not interested in doing an RSA
authenticated connection.
Eventually we're going to get SSH2 going, and I'm fearing I'm going to
have the same type of problem for that eventually. Here's an example of
my SSH2 DSS key... how do I convert this so Multinet can use it?
---- BEGIN SSH2 PUBLIC KEY ----
Subject: rmoore
Comment: "***@work"
AAAAB3NzaC1kc3MAAACBALZyvlMA6+t0lN9982CpI+8WUmaM4Q0amx5aMr4p1TtPw8Kw
Ith2LuVAncYCxNYMBvBZWskkpSWNwApiWqQ0TjxhXRSHZT13wPdPC1NHDM5JAbA4SUWu
dm/yGT7VjLrdRZefHmG8ihuMhgMhCMz9PQXLRbBQeNBBvkAr4RG7s+/NAAAAFQDGkSZX
Y00vTqJw82kucAtUJI/V3QAAAIBBiFjf0rCCbyWd92hsujDUCHAl6dKs1fR9usanp9HQ
Se9GI/e6x4jKWLmDxhWyyMRzVPGgenhxQurfGJ4nMgPn9sVXZW5iiBjHrj/+mqqe2EPg
+cRtEuqx3yFHQCZX7CfS2WNLps2JJb2M3JRypeVo67S4zrTq1jWpD/4qSIDQrQAAAIEA
o/O6ck5wNDw9N25fwuILCXq1za/FayQcN0SRxxXqIOhrjDe5mpcrvT1jvQI+SUnyII8G
Qx5fj+H0hTwdoX10O+vSFFWfyrzn0FugnIezx6tluQfzsDdZEZrFCgzxvtQlveHJVqzm
jpZZQhS+xiEhLzetUHEJ0dHwS6qx7lvtFlM=
---- END SSH2 PUBLIC KEY ----
-Ryan
format the Multinet server wants seems very different than what my client
is generating. The client I'm trying to use is SecureCRT from VanDyke
Software. I've asked it to generate an RSA keypair. The public key it
generated looks like this:
---- BEGIN SSH2 PUBLIC KEY ----
Subject: rmoore
Comment: "***@rsa-work"
ModBitSize: 1024
AAAAB3NzaC1yc2EAAAADAQABAAAAgQDVJK7ZwyVo4AEa+MHQqP0LMuGhIjipat2AIuh7
GPxwWdB1YSjDbuLhSGrKjYfD74JmUUCEpmzqnOd6tLhH+LHa0PI5QSpR6hH/7MXa0y7A
2Rg0EjqLgzdY9lTMsamKUhrB5K3umwvyaMbJu+UMNx3M8stXLPrc6EkjXqndYyoM+w==
---- END SSH2 PUBLIC KEY ----
Now I go over to my VMS server and it wants something in the
authorized_keys file which gives the number of bits, the exponent, and
the modulus of the key. And it looks like all those things are suppsed to
be numbers. I certainly don't see a number in the above generated key.
How do I convert the above key into something the SSH1 server will
consume? So far the SSH1 server is not interested in doing an RSA
authenticated connection.
Eventually we're going to get SSH2 going, and I'm fearing I'm going to
have the same type of problem for that eventually. Here's an example of
my SSH2 DSS key... how do I convert this so Multinet can use it?
---- BEGIN SSH2 PUBLIC KEY ----
Subject: rmoore
Comment: "***@work"
AAAAB3NzaC1kc3MAAACBALZyvlMA6+t0lN9982CpI+8WUmaM4Q0amx5aMr4p1TtPw8Kw
Ith2LuVAncYCxNYMBvBZWskkpSWNwApiWqQ0TjxhXRSHZT13wPdPC1NHDM5JAbA4SUWu
dm/yGT7VjLrdRZefHmG8ihuMhgMhCMz9PQXLRbBQeNBBvkAr4RG7s+/NAAAAFQDGkSZX
Y00vTqJw82kucAtUJI/V3QAAAIBBiFjf0rCCbyWd92hsujDUCHAl6dKs1fR9usanp9HQ
Se9GI/e6x4jKWLmDxhWyyMRzVPGgenhxQurfGJ4nMgPn9sVXZW5iiBjHrj/+mqqe2EPg
+cRtEuqx3yFHQCZX7CfS2WNLps2JJb2M3JRypeVo67S4zrTq1jWpD/4qSIDQrQAAAIEA
o/O6ck5wNDw9N25fwuILCXq1za/FayQcN0SRxxXqIOhrjDe5mpcrvT1jvQI+SUnyII8G
Qx5fj+H0hTwdoX10O+vSFFWfyrzn0FugnIezx6tluQfzsDdZEZrFCgzxvtQlveHJVqzm
jpZZQhS+xiEhLzetUHEJ0dHwS6qx7lvtFlM=
---- END SSH2 PUBLIC KEY ----
-Ryan