LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-11-2010, 01:02 PM   #1
navie
LQ Newbie
 
Registered: Nov 2010
Posts: 6

Rep: Reputation: 0
Bash scripting


How to start a remote login session from script to any server? Any suggestions?
Thank you.
 
Old 11-11-2010, 01:21 PM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 17,932

Rep: Reputation: 3691Reputation: 3691Reputation: 3691Reputation: 3691Reputation: 3691Reputation: 3691Reputation: 3691Reputation: 3691Reputation: 3691Reputation: 3691Reputation: 3691
Quote:
Originally Posted by navie View Post
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
bash scripting ZAMO Linux - General 1 01-19-2009 03:25 AM
Reading a bash variable in bash scripting problem freeindy Programming 3 11-27-2008 03:29 AM
help with bash scripting bourne Programming 3 10-21-2007 01:25 PM
Bash Scripting Help Aioth Linux - Newbie 8 09-21-2004 12:21 PM
BASH scripting help Chucklez Linux - Newbie 4 12-12-2002 01:07 PM


All times are GMT -5. The time now is 01:07 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration