SSH

Getting started with SSH #

What is SSH? #

SSH is an encrypted connection protocol that allows passing information between two machines. Generally you have a client that requests access and a server that responds to the requests.

Each SSH server has an identifying code (a host key). If you connect to a server for the first time or if the server presets a different key then previously, you will have to go through the verification process again.

What is an SSH Client? #

An SSH client is a software which uses the SSH protocol to connect to a remote computer.

In general SSH protocol can be used for two purposes, file transfers and terminal access.

When would you use SSH? #

You would use SSH when you want to connect to another machine, and with more a more secure protocol than telnet or rlogin protocols.

SSH by terminal #

How do I ssh in terminal? #

There is a command line program called ssh

SSH Programs for Mac #

This guide aims to provide possible options objectively, that is, without bias.

1. Terminal App #

You can use the terminal app that comes with Mac OS. To use it, open the terminal app

Within the terminal app, you can type `ssh [email protected]`

Video Demonstration Link: https://www.youtube.com/playlist?list=PL8HPPNCXDcvxOnrFpfkRvv2Oi3%5F0OqUZi

2. iTerm app #

The iTerm2 app ( https://iterm2.com/) is another option, you would have to go to the website and download it to install it.

The advantage of using this app is that it offers more customizations.

SSH Programs for Windows #

This guide aims to provide possible options objectively, that is, without bias.

1. Putty (a simple GUI app) #

PuTTY is an SSH and telnet client, developed originally by Simon Tatham for the Windows platform. PuTTY is open source software that is available with source code and is developed and supported by a group of volunteers. https://www.putty.org/

2. Solar Putty #

Solar Putty is a new SSH client that has a multi tab interface to support multiple sessions from one console. It has additional features beyond putty such as saved credentials, support for multiple sessions, quick access to the most recent sessions and integration of Windows search.

https://www.solarwinds.com/free-tools/solar-putty

3. SSH Client #

Linux Emulators #

1. Git Bash #

https://git-scm.com/downloads A bash emulation used to run git from the commandline. It contains Bash, SSH< SCP and a few other Unix utilities compiled for windows.

2. Cmder #

https://cmder.net/ An emulator that extends beyond the basic capabilities of ConEmu.

3. ConEmu #

https://conemu.github.io/

4. Alacritty #

https://github.com/alacritty/alacritty

4. Cygwin #

https://www.cygwin.com/

Windows Subsystem for Linux (WSL) #

The best option for those who want as full of an experience as possible.

What can I do with SSH? #

You can log into other machines, such as the WEB Building’s Linux server. You can manage web servers and websites. You can configure machines remotely. You can kill running threads of frozen applications.