Secure Shell (SSH) is a cryptographic protocol that securely transports data over an unsecured network (see RFC 4253). It allows user authentication through a pair of cryptographic keys. The keys in the pair are called the public and private key.
ssh-keygen is a tool from the OpenSSH software, which is used to generate such cryptographic key pairs.
In more general terms, keygen refers to the component of any SSH software that has the purpose of generating key pairs for use in an SSH connection (e.g. putty-keygen).
ZOC Terminal is a professional terminal emulator and feature-rich SSH client for Windows and macOS. It lets you access servers using the secure and powerful SSH protocol. More...
ssh-keygen generates, manages and converts authentication keys for ssh. ssh-keygen can create RSA keys for use by SSH protocol version 1 and RSA, DSA or ECDSA keys for use by SSH protocol version 2.
To create DSA key using ZOC's built in key generator, connect to an SSH host and then in the ZOC window choose File-menu > Create SSH Key Files.
In the window that opens, choose a bit length (today a minimum of 2048 bits is required to be considered secure), an optional passphrase, a key type and the location and file name to store the key.
For a detailed step-by-step tutorial including key-upload and login see Creating Public/Private Keys on Windows for Access to Linux Servers.
To create DSA key using ssh-keygen, simply pass -t dsa as an argument.
Under Linux the new key will be stored under the ~/.ssh directory with the name id_dsa and id_dsa.pub.
$ ssh-keygen -t dsa
Generating public/private dsa key pair. Enter file in which to save the key (/root/.ssh/id_dsa): Enter passphrase (empty for no passphrase): Enter same passphrase again: Your identification has been saved in /root/.ssh/id_dsa. Your public key has been saved in /root/.ssh/id_dsa.pub. The key fingerprint is: xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx root@somewhere
Read more about our ZOC Terminal Emulator,
check its feature list,
look at our screenshots or
start your free 30 days of evaluation today and
download
ZOC Terminal V8.08.8
now.