CKB:Setup public key authentication on Cryptshare Server
Aus Cryptshare Documentation
Applies to:
All versions of Cryptshare Server
Purpose:
This is a step-by-step guide with two possible ways to set up public key authentication on a Cryptshare Server
Solution:
Using PuTTYgen
- download the tool PuTTYgen
- generate a new key pair
- save the generated public and private keys into files
- copy the content of the public key into the file .ssh/authorized_keys on the SECURE COPY REMOTE HOST
- export the private key
- add the exported private key to the Cryptshare Administrator interface
Using openSSH
- log in on your Linux client
- generate a new key pair using the command ssh-keygen
support@cryptshare:~> ssh-keygen Generating public/private rsa key pair. Enter file in which to save the key (/home/support/.ssh/id_rsa): Created directory '/home/support/.ssh'. Enter passphrase (empty for no passphrase): Enter same passphrase again: Your identification has been saved in /home/support/.ssh/id_rsa. Your public key has been saved in /home/support/.ssh/id_rsa.pub. The key fingerprint is: SHA256:Iz98CDNWeL47PUJg7Q+wD70wHLZKT0Lir4JoG5w3CDQ support@cryptshare The key's randomart image is: +---[RSA 2048]----+ | | | . | | E ..o | |. o . *+. | |.. o +*OS | |o + o.OB=+ | |o= = = **=. | |+.o + . =++ | |.oo. .o . | +----[SHA256]-----+ support@cryptshare:~>