COROSYNC-KEYGEN(8) System Manager's Manual COROSYNC-KEYGEN(8)NAME
corosync-keygen - Generate an authentication key for Corosync.
SYNOPSIS
corosync-keygen [-l]
DESCRIPTION
If you want to configure corosync to use cryptographic techniques to ensure authenticity
and privacy of the messages, you will need to generate a private key.
corosync-keygen creates this key and writes it to /etc/corosync/authkey.
This private key must be copied to every processor in the cluster. If the
private key isn't the same for every node, those nodes with nonmatching private
keys will not be able to join the same configuration.
Copy the key to some security transportable storage or use ssh to transmit the
key from node to node. Then install the key with the command:
unix#: install -D --group=0 --owner=0 --mode=0400 /path_to_authkey/authkey /etc/corosync/authkey
If a message "Invalid digest" appears from the corosync executive, the keys
are not consistent between processors.
Note: corosync-keygen will ask for user input to assist in generating entropy unless the -l option is used.
OPTIONS -l Use a less secure random data source that will not require user input to help generate
entropy. This may be useful when this utility is used from a script.
EXAMPLES
Generate the key.
$ corosync-keygen
Corosync Cluster Engine Authentication key generator.
Gathering 1024 bits for key from /dev/random.
Press keys on your keyboard to generate entropy.
SEE ALSO corosync_overview(8), corosync.conf(5),
AUTHOR
Angus Salkeld
2010-05-30 COROSYNC-KEYGEN(8)
Check Out this Related Man Page
COROSYNC-KEYGEN(8) System Manager's Manual COROSYNC-KEYGEN(8)NAME
corosync-keygen - Generate an authentication key for Corosync.
SYNOPSIS
corosync-keygen
DESCRIPTION
If you want to configure corosync to use cryptographic techniques to ensure authenticity
and privacy of the messages, you will need to generate a private key.
corosync-keygen creates this key and writes it to /etc/corosync/authkey.
This private key must be copied to every processor in the cluster. If the
private key isn't the same for every node, those nodes with nonmatching private
keys will not be able to join the same configuration.
Copy the key to some security transportable storage or use ssh to transmit the
key from node to node. Then install the key with the command:
unix#: install -D --group=0 --owner=0 --mode=0400 /path_to_authkey/authkey /etc/corosync/authkey
If a message "Invalid digest" appears from the corosync executive, the keys
are not consistent between processors.
Note: corosync-keygen will ask for user input to assist in generating entropy.
EXAMPLES
Generate the key.
$ corosync-keygen
Corosync Cluster Engine Authentication key generator.
Gathering 1024 bits for key from /dev/random.
Press keys on your keyboard to generate entropy.
SEE ALSO corosync_overview(8), corosync.conf(5),
AUTHOR
Angus Salkeld
2010-05-30 COROSYNC-KEYGEN(8)
Hi all,
I have wriiten an expect script that genearates a public private key pair through ssh-keygen and then copies that key to the authorized keys file of the remote system . The problem i am facing is when i get a password for the remote machine containg a trailing backslash , the send command... (4 Replies)
Hi,
I need to establish a trusted connection b/w unix and windows.
I did this b/w unix to unix.
i.e by using ssh -keygen command,
entering the passphrase and file in which public key is to be stored.
Now, I need to do this b/w unix and windows.
How can I achieve this ?
Any help, l... (0 Replies)
I'm trying to generate this key but getting an error "file not found"
Here is the command:
# ssh-keygen -t dsa
Generating public/private dsa key pair.
Enter file in which to save the key (//.ssh/id_dsa): /export/home/bartadm/.ssh/id_dsa
Enter passphrase (empty for no passphrase):
Enter... (2 Replies)
Hi
i have generate public private key pair using command
ssh-keygen -t rsa -b 2048
and then it made the two keys under the directory
~/.ssh ( in server 1)
one is public key and another one is private ..
i copied public one key onto my second server under the directory
... (22 Replies)
Hi,
please guide me create a public/private key using ssh-keygen, lets say I have been access to server named pngpcdb1with a userid and password ...!!! and also please explain in detail the concept of these keys and ssh as I was planning to use them in ftp related scripts..! Thanks in... (1 Reply)
Hi,
I am new to unix, recently i was exploring password less remote connection to the ftp server and in that I was exploring the ssh-keygen utility, that it generates private & public keys that helps in transmitting files in encrypted format.Could you please explain me in detail about the... (1 Reply)
Hi,
I was going thruough the password less authentication of keygen-ssh that will help us in generating keys...One thing that is not clear to me that if in nearby future we conncet to remote ftp server in that case now we need to only provide the user id itself that is password would not be... (1 Reply)
Hello,
I just installed a bran new Centos 6.2 including openssh 5.3.
On older servers I installed older Linux including openssh 4.3,
I am using keygen with private/public keys to log root on all servers (in a LAN) without typing password each time.
To do this, of course, I have my local... (4 Replies)
Hi all,
I needed a shell script for file transfering using public/private keys for authentication.
Could you please help me out on this?
A procedure to write a shell script is enough.
Thanks in advance.
Regards.
Vidya N (8 Replies)
Hi ,
I am trying to create public key on my AIX server on other than home directory.However the command does not ask for
Enter file in which to save the key :
It is directly taking me to Enter the passphrase.
I don't want to save the key in home dir as that is the home dir for other userID... (6 Replies)
Hi all,
I need to connect using SFTP from Red Hat to Windows. Connection between servers work when I specify location of my private key in the script. However, I want to use syntax without private key location specified. I know this should work, as I found it in older scripts.
Scripts were... (0 Replies)
Hi guys,
Anyone encountered the following error.
1.) all keys and passphrases worked on aix 7.1.2
2.) upgraded to aix 7.1.3sp5
3.) none of the keys / passphrases work anymore.
4.) when generating new keys without passphrase everything is ok.
5.) when generating keys with passphrase and... (16 Replies)
Hi,
i generate private and public key using below command.
ssh-keygen -t rsa
can you please share command for encryption and decryption file using above generated keys.
Regards, (4 Replies)