Logo
My Journal
Blog

Timeline

Blog

Type Less With SSH Aliases


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

[php]sudo apt-get install openssh-server[/php]

then you will edit SSH config file with this command

[php]sudo nano /etc/ssh/ssh_config[/php]

and add this on the end of the file

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

save and restart

[php]sudo /etc/init.d/ssh restart[/php]

Leave A Comment