Table of Contents
- What is SSH?
- What are the benefits of using SSH?
- How do I use SSH?
- What are the best SSH clients?
- SSH configs
What is SSH?
Secure Shell or SSH is a network protocol that allows data to be exchanged securely over a network. It is used for logging into remote servers, for executing commands remotely, and for transferring files.
SSH uses public-key cryptography to authenticate the session and encrypt the data that is exchanged.
SSH provides secure access to a server, and is widely used on Linux and UNIX-like systems; SSH is also available via the Secure Shell version 2 protocol for Microsoft Windows. SSH was originally designed for use in the insecure environment of telnet.
What are the benefits of using SSH?
SSH provides security to your network and allows remote access to servers, including the ability to execute commands. SSH is a very flexible tool that can be used with many protocols. SSH provides a secure means to run commands from an SSH session. Once you are logged in, the command-line tools allow you to copy files, delete directories and perform other tasks. You can also use SSH to remotely execute programs or scripts. You can access any system that supports SSH.
How do I use SSH?
To use SSH, you must first log into the remote system and then establish a secure connection. You can do this by using your username and password, or by using a public key. A password is a one-way function that allows you to prove your identity to another person, but it doesn’t allow the other person to prove that they are you. The only way to truly protect your identity is to use a passphrase. A passphrase can be as complex or simple as you need it to be.
What are the best SSH clients?
If you don’t already have an SSH client, I recommend Putty. It’s free, easy to use, and very secure. You can download it from http://www.chiark.greenend.org.uk/~sgtatham/putty/index.
SSH configs
- Configure hostname
- Configure domain name
- Generate RSA key pairs
- Configure enable PW, username/PW
- Enable SSHv2 only
- Configure VTY lines
ssh username@ip-adress