I want to set an alias in bashrc to preform an ssh command
alias sshh='ssh 192.168.1."$1"'
then I can use
$> sshh 306
to perform
$> ssh 192.168.1.306
It seems I didn't get the command right.
I want to set an alias in bashrc to preform an ssh command
alias sshh='ssh 192.168.1."$1"'
then I can use
$> sshh 306
to perform
$> ssh 192.168.1.306
It seems I didn't get the command right.