Index
I need to explain to my users (on Windows platforms) how to create public keys and upload them to my server (on a Linux or macOS platform).
VShell® Server supports clients that use the Secure Shell public-key assistant, which allows users to easily upload public keys for use in authentication. If your users are running a client that also supports the public-key assistant (e.g., SecureCRT® or SecureFX® ), they can use that application to upload their public keys. Have them follow these steps:
- Start the client and connect to the VShell server.
- Open the client's Public Key Assistant.
- Create a new public key.
- Select the newly created public key file and click on the button to upload the public key.
This will automatically place the key file in the public key folder on the server.
Note: The default folder is $HOME/.vshell/publickey but can be changed by the VShell administrator using the vshelld PublicKeyFolder option.
Public and private key pairs can be generated using the vkeygen program that comes with VShell on Windows, Linux, and macOS. It can create public and private keys using whatever parameters required. For example, the following command line will create a 2048-bit ssh-rsa public/private key pair with the file names id_rsa_2048.pub and id_rsa_2048.
vkeygen -b 2048 -f id_rsa_2048 -t ssh-rsa
To upload your public key from one Linux (or Mac) machine to another, follow these steps:
- Generate a public key using vkeygen. For this example, the generated public key file will be called id_rsa_2048.pub.
- Move the public key to the public key folder on the remote VShell server by entering the following command:
vcp ~/.vshell/publickey/id_rsa_2048.pub remotemachine:/.vshell/publickey/id_rsa_2048.pub
Note: Ensure that you are the only user with permissions to write to the id_rsa_2048.pub file.
More information on vkeygen can be found in the vkeygen (1) man page.
Three Fast Ways to Learn More About VShell Server For Windows, Linux, and macOS
Tell
me more. Email us your questions about putting VShell to work for your organization.
Try
it today! Download a free evaluation copy of VShell
for Windows, Linux, or macOS.
Talk
to us. Let us help define the right VShell server solution
for your company.