LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 09-07-2004, 04:55 PM   #1
bunnyknight13
Member
 
Registered: Aug 2004
Location: Virginia
Distribution: Lunar Linux
Posts: 57

Rep: Reputation: 15
bash login script


can any one help me out with getting bash to login to a remote macheen using SSH or Telnet by using a shell script?
 
Old 09-07-2004, 05:00 PM   #2
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 65
I assume you mean without user intervention? Take a look at:
http://www.linuxquestions.org/questi...ticle&artid=79
 
Old 09-07-2004, 05:17 PM   #3
bunnyknight13
Member
 
Registered: Aug 2004
Location: Virginia
Distribution: Lunar Linux
Posts: 57

Original Poster
Rep: Reputation: 15
i'm not root

I'm not root at work, wish I was, do you know of anyway I can just do it in a bash shell script
 
Old 09-08-2004, 01:36 PM   #4
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 65
When did I say you had to be root?

And what do you want to do in bash? bash has no ssh protocols or subroutines so if you want to write your own client from scratch you would be easier with perl of C.
 
Old 09-10-2004, 09:02 PM   #5
bunnyknight13
Member
 
Registered: Aug 2004
Location: Virginia
Distribution: Lunar Linux
Posts: 57

Original Poster
Rep: Reputation: 15
K

I must of miss read something in the article
I'll try out Perl
 
  


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 login script seanatis Programming 6 09-06-2004 09:00 AM
Run script at login instead of bash uzi4u Linux - General 2 04-28-2004 03:31 PM
Trying to execute bash script upon login?? mr-d-2003 Linux - Newbie 4 10-30-2003 04:15 PM
webmin,cron and bash login script colesen Linux - Software 0 08-12-2003 08:36 PM
How logout from login-menu bash script? MikHud Linux - General 0 04-12-2002 01:01 PM


All times are GMT -5. The time now is 10:18 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration