Jan 182012
 

SSH Config Easier LoginsSecure Shell (SSH) is a cryptographic network protocol for secure data communication, remote shell services or command execution and other secure network services between two networked computers that connects, via a secure channel over an insecure network, a server and a client (running SSH server and SSH client programs, respectively). The protocol specification distinguishes two major versions that are referred to as SSH-1 and SSH-2.

The best-known application of the protocol is for access to shell accounts on Unix-like operating systems (it can be used in a similar fashion for accounts on Windows, though it is not a very popular option due to Remote Desktop Services[citation needed]). It was designed as a replacement for Telnet and other insecure remote shell protocols such as the Berkeley rsh and rexec protocols, which send information, notably passwords, in plaintext, rendering them susceptible to interception and disclosure using packet analysis. The encryption used by SSH is intended to provide confidentiality and integrity of data over an unsecured network, such as the Internet.

Have you ever wanted to login to ssh with only few words? Instead of typing all of that lengthy information. You can configure your ssh to do most of the work for you.

SSH Config Easier Logins

This is very easy to do. Just edit your ~/.ssh/configfile and the following commands you see bellow.

#
# ~/.ssh/config
#

Host tlg
Hostname ceaphegeeks.info
Port 22
User johndoe

Notes: Change all of the above information to your own.
– Host, is an alias for your server. You can use any alias you like.
– Hostname, your server domain or ip address.
– Port, is the port where your ssh daemon runs on.
– User, your server username that has ssh access.

Then all you do in your shell is this:

 $ ssh tlg 

then your password…

Told you its simple ;)

 Posted by at 4:24 am  Tagged with:

Sorry, the comment form is closed at this time.

Last Updated: December 15th, 2012 at 5:48 pm
StatCounter WhosAmungUs