LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Bash scripting (https://www.linuxquestions.org/questions/linux-newbie-8/bash-scripting-843720/)

navie 11-11-2010 12:02 PM

Bash scripting
 
How to start a remote login session from script to any server? Any suggestions?
Thank you.

TB0ne 11-11-2010 12:21 PM

Quote:

Originally Posted by navie (Post 4155957)
How to start a remote login session from script to any server? Any suggestions?
Thank you.

Going to have to provide details, and ask a clear question, before you can get help.

"Remote login session"...how? SSH, telnet, rsh are all options, and all are different. What do you want to use? Going to prompt for the password, or have it in the script?

Best suggestion for you would be to look on Google for examples of an "expect" script, which does what you're looking for.


All times are GMT -5. The time now is 12:05 AM.