Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

how to add user and password as alias in linux

# You can use sshpass, it's a non-interactive ssh password authentication.
sudo apt install sshpass
alias yb="sshpass -p password_in_plain_text ssh name@hostname"
Source by superuser.com #
 
PREVIOUS NEXT
Tagged: #add #user #password #alias #linux
ADD COMMENT
Topic
Name
3+1 =