Tag Archives: Alias

Type Less With SSH Aliases


first this is to make sure you have installed SSH by using this command

sudo apt-get install openssh-server

then you will edit SSH config file with this command

sudo nano /etc/ssh/ssh_config

and add this on the end of the file

# Alias
Host (hostname)
HostName (hostname ip address)
User (username you want to use eg is root)
Port (port #)

save and restart

sudo /etc/init.d/ssh restart