12-03-2007
As far as I know "-e" flag will work for both public and private key ? Am I wrong ? At least this is what's stated in the "man ssh-keygen" :
Quote:
-e This option will read a private or public OpenSSH key file and print the key in RFC 4716 SSH Public Key File For-
mat to stdout. This option allows exporting keys for use by several commercial SSH implementations.
edit : .... or maybe this won't work, does
that helps ?
Last edited by sysgate; 12-03-2007 at 10:52 AM..
Reason: more info added
5 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
Does anyone have succesfully interconnected HP-UX 10.2 HP 9000 K370 servers with A6885A HBA's, with an IBM Fastt storage server? I need to replace integrate both platforms. Interoperability matrices from manufacturers do not certified such integration. Thanks for anybody's help. (0 Replies)
Discussion started by: raltmannr
0 Replies
2. AIX
Hi,
I need to implement sftp between server 1 and server2.
I have already generated the public key using account user1 on server 1 and and sent it to the administrator of server2.
I have also finished updating the identification file at /home/user1/.ssh2
I have an account created... (2 Replies)
Discussion started by: tansha
2 Replies
3. UNIX for Advanced & Expert Users
Hi Can anyone help resolving the issue here?
I am trying to connect from one unix server(ssh2) to another unix server using (Openssh).
I converted the public key from ssh2 to openssh format and uploaded it. Yet it is asking for a password to connect.
Here is the debug info:
... (0 Replies)
Discussion started by: jazjit
0 Replies
4. AIX
I am planning for building a new database server using AIX 6.1 and Oracle 11.2 using ASM.
As i have learned starting with Oracle 11.2 ASM can only be used in conjunction with Clusterware, which is Oracles HA-software. As is the companies policy we do intend to use PowerHA as HA-solution instead... (1 Reply)
Discussion started by: bakunin
1 Replies
5. Red Hat
Hi,
I want to use rpcgen for my application. My application requires client and server to be interoperable. So is it possible with rpcgen??
Details:-
1. Function will be called from client side and server will perform it
2. I want to stream continuous video from server end to client... (0 Replies)
Discussion started by: surendar4u
0 Replies
LEARN ABOUT CENTOS
strongimcv_pki---pub
PKI --PUB(1) strongSwan PKI --PUB(1)
NAME
pki --pub - Extract a public key from a private key or certificate
SYNOPSIS
pki --pub [--in file|--keyid hex] [--type type] [--outform encoding] [--debug level]
pki --pub --options file
pki --pub -h | --help
DESCRIPTION
This sub-command of pki(1) extracts public keys from a private keys and certificates.
OPTIONS
-h, --help
Print usage information with a summary of the available options.
-v, --debug level
Set debug level, default: 1.
-+, --options file
Read command line options from file.
-i, --in file
Input file. If not given the input is read from STDIN.
-t, --type type
Type of input. One of rsa (RSA private key), ecdsa (ECDSA private key), pub (public key), pkcs10 (PKCS#10 certificate request), or
x509 (X.509 certificate), defaults to rsa.
-f, --outform encoding
Encoding of the extracted public key. One of der (ASN.1 DER), pem (Base64 PEM), dnskey (RFC 3110 DNS key), or sshkey (RFC 4253 SSH
key), defaults to der.
EXAMPLES
Extract the public key from an RSA private key:
pki --pub --in key.der > pub.der
Extract the public key from an X.509 certificate:
pki --pub --in cert.der --type x509 > pub.der
SEE ALSO
pki(1)
5.1.1 2013-07-31 PKI --PUB(1)