...
For the choice of keys to use, RSA is often selected over DSA because it has a the stronger key length of 2048 and 4096. DSA can only be 1024.
...
Code Block | ||
---|---|---|
| ||
ssh -V #Determine# Determine SSH client version OpenSSH_5.2p1, OpenSSL 0.9.8l 5 Nov 2009 sshd -v #Determine SSH Server version (ignore the error message) sshd: illegal option -- v OpenSSH_5.2p1, OpenSSL 0.9.8l 5 Nov 2009 usage: sshd [-46DdeiqTt] [-b bits] [-C connection_spec] [-f config_file] [-g login_grace_time] [-h host_key_file] [-k key_gen_time] [-o option] [-p port] [-u len] |
As long as the major number (the first digit) is close you should have no issues.
Installing SSH
This installs the SSH server and client,
Code Block | ||
---|---|---|
| ||
sudo apt-get install ssh
|
At this point we have installed ssh, and it is time to create the keys for the users who require SSH access to the server. Since .
Note |
---|
Since the setup admin user is only required for server installation, it will not need ssh for further access. |
Generate Public and Private Keys on Client Machine
...