CONFIGURING SSH-CLIENTS


♣If you wish to navigate back to the table then→

We can make Configuration-Files that you can use with the SSH-Clients to greatly simplify the connections that you make in the future by remembering the IP-Addresses [Advanced Users can setup DNS-Addresses for them so that we might not have to remember the IP-Addresses]
You will need to create a file called "config" in the ".ssh"-Hidden-Folder & then you can follow this template:-

Host SERVER-NAME~1
	Hostname IP-ADDRESS
	Port PORT-NUMBER
	User USERNAME
	
Host SERVER-NAME~2
	Hostname IP-ADDRESS
	Port PORT-NUMBER
	User USERNAME

As you can see; we can store configurations for multiple servers. Now in your command-line/terminal all you have to do now is simply use the following command to connect to the servers via SSH provided in the "Configuration-File":-

ssh SERVER-NAME

One can do even more crazy stuff with the "Configuration-Files" than what was mentioned here ;-)

♣Now please proceed to the→