Hi,
I am trying to make a connection to a remote machine using the "login" command. I want to use this in a script but i am not able to make out how i would provide the password required for it.
i was just wondering is there is any option in login command thats lets me pass the password in the command line itself.
or something like
# echo "mypassword" | login -h myserver.com
or
# login -h myserver.com < mypasswordfile.txt
Can anyone help me in this.
Thanks,
Amol C