home‎ > ‎manage infx‎ > ‎

infx keysend

Use this command to send a public key to another host. Adding this public key to the remote host, will allow ssh access without entering a password. For example, if you are managing multiple hosts.

Before you can send the key, the remote host must have:
  • ssh installed
  • user informix created

usage

infx keysend dest
  required:
    dest - remote host to sync to

example

Send our public key to host remote01.

demo1@bobii:/home/informix>infx keysend dest=remote01

The authenticity of host 'remote01 (10.74.71.1)' can't be established.
RSA key fingerprint is e4:54:25:38:24:89:cd:d2:f6:93:d9:fa:dd:ec:eb:74.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added 'remote01' (RSA) to the list of known hosts.
informix@remote01's password:
completed: keysend

Future remote access commands will not require entry of a password.

notes

  • the first time you connect to a host, ssh prompts to accept the new host
  • you may be prompted again in the future e.g. if you change host network adapters or other network parameters
  • you will have to enter the password on the remote host once only
  • see infx keygen for information on how to generate the key