Horje
alias pc ubuntu ssh Code Example
alias pc ubuntu ssh
Method 1 - Using SSH Config File
$ vi ~/.ssh/config  # 

Host webserver
    HostName 192.168.225.22
    User sk

$ ssh webserver


Method 2 - Using Bash aliases
Open ~/.bashrc or ~/.bash_profile file:
alias webserver='ssh sk@192.168.225.22'

Then, apply the changes using command:
$ source ~/.bashrc

$ webserver




Shell

Related
butler push userversion Code Example butler push userversion Code Example
how to move wsl storage Code Example how to move wsl storage Code Example
Git in Bash Code Example Git in Bash Code Example
replace hashes space vi Code Example replace hashes space vi Code Example
force slack to close mac Code Example force slack to close mac Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
9