Operating System - HP-UX
1834170 Members
2915 Online
110064 Solutions
New Discussion

Re: How to create a public key in hpux ?

 
SOLVED
Go to solution
Abdul Majeed Lardhi
Regular Advisor

How to create a public key in hpux ?

Dears;

I want to create a public key in hpux to be used in sftp between two servers.

Regards
AML
5 REPLIES 5
James R. Ferguson
Acclaimed Contributor

Re: How to create a public key in hpux ?

Hi:

How about:

http://sial.org/howto/openssh/publickey-auth/

Regards!

...JRF...
Hasan  Atasoy
Honored Contributor
Solution

Re: How to create a public key in hpux ?

hi ;

use ssh-keygen to create keys.


Hasan
wci
Frequent Advisor

Re: How to create a public key in hpux ?

Yes

simply you can use

#ssh-keygen -t

type could be rsa or dsa.

once created the public key will be under

$HOME/.ssh/id_rsa.pub

#man ssh-keygen would give you a better idea.

regards

wci
Suraj K Sankari
Honored Contributor

Re: How to create a public key in hpux ?

Hi Aml,

/usr/bin/ssh-keygen is the command to generate public key, for more information check with man ssh-keygen.


Suraj
Abdul Majeed Lardhi
Regular Advisor

Re: How to create a public key in hpux ?

Thannks