The Ed25519 was introduced on OpenSSH version 6.5. It’s the EdDSA implementation using the Twisted Edwards curve. It offers a better security with faster performance compared to DSA or ECDSA. Some benefits are that its faster, and compact – it…
Category: SSH
Generate ssh keys on linux and use with PuTTY on Windows
Log into the Linux server as the user you are going to use to connect with ssh. Generate the key. ssh-keygen -t rsa -b 4096 -C “email@domain.com” Generating public/private rsa key pair. Enter file in which to save the key…
How To Create SSH Keys With PuTTY to Connect to CentOS7
Generating OpenSSH-compatible Keys for Use with PuTTY To generate a set of RSA keys with PuTTYgen: Start the PuTTYgen utility, by double-clicking on its .exe file; For Type of key to generate, select RSA; In the Number of bits in…
Log in with an SSH private key on Linux
Using a text editor, create a file in which to store your private key. This example uses the file private_key.txt. To edit the file in nano, type the following command # nano deployment_key.txt Paste the private key into the file.…
How can I keep my SSH sessions Alive
Here is how to keep your ssh session from freezing and how to keep ssh alive. Edit your ssh config file. Change to the following variables # nano /etc/ssh/sshd_config TCPKeepAlive yes ClientAliveInterval 60 ClientAliveCountMax 10000 Then, restart ssh On CentOS:…
How to Secure SSH with Google Authenticator’s Two-Factor Authentication
Source: http://www.howtogeek.com/121650/how-to-secure-ssh-with-google-authenticators-two-factor-authentication/ Also, for CentOS: http://www.tecmint.com/ssh-two-factor-authentication/ Want to secure your SSH server with easy-to-use two-factor authentication? Google provides the necessary software to integrate Google Authenticator’s time-based one-time password (TOTP) system with your SSH server. You’ll have to enter the code…
ssh_exchange_identification: Connection closed by remote host
Error ssh_exchange_identification: Connection closed by remote host Solution: Restart ssh. service sshd restart
Change OpenSSH Port CentOS
Want to change the ssh port for ssh? Here is a good tutorial. (Note: If you are making these changes – ssh to the server and keep the terminal open as you make the changes. Test with a new terminal.…