i need to write a script that automatically logins
hi there i am new here, and I would like to ask you how am i able to write a script that automatically logins into a server
what i did is this :
I have create a file call connectServer for example , with vim , and inside i have put this commands:
ssh -l myUsername login.someserver.com
and i ve setup an alias that runs this script
such as :
alias server="sh connectServer"
that works perfectly but what i want is when i am asked for the password , i want the script to fill it ..
Is this possible ?