[zimbra@mail ~]$ cd /opt/zimbra/bin/
[zimbra@mail bin]$ ./zmsshkeygen
Generating public/private rsa key pair.
Your identification has been saved in /opt/zimbra/.ssh/zimbra_identity.
Your public key has been saved in /opt/zimbra/.ssh/zimbra_identity.pub.
The key fingerprint is:
SHA256:kGZWPRPF4QqRuRO3PJF3oaZ/sBqJtPKyRUj5sXPLPj0 mail.wachid.web.id
The key's randomart image is:
+---[RSA 2048]----+
|        o+.=o... |
|       ++.B.o..  |
|      O o= *+.   |
|     = +o+++     |
|      . S.+..    |
|       o * + o   |
|      . + =.o .  |
|      .+ ..oE.   |
|      .o. o. .   |
+----[SHA256]-----+
[zimbra@mail bin]$ ./zmupdateauthkeys
Updating keys for mail.wachid.web.id
Fetching key for mail.wachid.web.id
Updating keys for mail.wachid.web.id
Updating /opt/zimbra/.ssh/authorized_keys
[zimbra@mail bin]$ exit
logout
[root@mail hdd-old]#

Testing

ssh -vi .ssh/zimbra_identity -o strictHostKeyChecking=no [email protected] -p 10212

Leave a Reply

Your email address will not be published. Required fields are marked *