LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 08-28-2003, 01:41 PM   #1
Alek
LQ Newbie
 
Registered: Aug 2003
Posts: 8

Rep: Reputation: 0
ssh using shell scripts


I want to ssh from one linux box called Linux1 to another linux box called Linux2 using a shell script. My question is: is there a way to script this so the ssh connection is made without the user intervention of entering the password?
Thanks
 
Old 08-28-2003, 02:57 PM   #2
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 64
Don't double post:
http://www.linuxquestions.org/questi...threadid=86682
 
Old 08-28-2003, 03:09 PM   #3
Alek
LQ Newbie
 
Registered: Aug 2003
Posts: 8

Original Poster
Rep: Reputation: 0
sorry

sorry
 
Old 08-28-2003, 03:16 PM   #4
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 64
Don't worry - Welcome to LQ.

It just gets annoying if you spend time replying to someone then discover that they have already recieved several answers in another thread. Just pick the most suitable forum and post there. If you post in the wrong place then just add a reply asking a moderator to move the thread to another forum.
 
Old 09-05-2003, 01:28 PM   #5
AKM
LQ Newbie
 
Registered: Sep 2003
Posts: 1

Rep: Reputation: 0
Lightbulb SSH using shell scripts

Alek,

Greetings.


You will find an elegant solution to your problem at http://www.gentoo.org/proj/en/keychain.xml

I use the keychain to connect through three linux boxes using the ssh protocol.


You will also find a link to a series of articles that describe the keychain and explains the ssh protocol.

http://www-106.ibm.com/developerwork...ry/l-keyc.html


It is essential that you read these articles before installing the keychain. You must understand the underlying mechanism otherwise you could compromise the security of your system.


However, once read and understood you will find the keychain is quite straight forward to install and use. To date I have had no problems using the keychain but then I work in restricted environment.


Regards,

AKM

As with all advice - proceed with caution and at your own risk.
 
  


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
I Need shell scripts flyyy_82 Linux - Security 1 01-27-2005 04:05 PM
Shell scripts??? F_ANTHONY Programming 2 10-27-2004 06:28 PM
SSH using shell scripts Alek Linux - General 2 08-28-2003 02:52 PM
Shell scripts j0hn0n1 Linux - Software 1 01-03-2003 03:11 PM
Need Help with Shell Scripts!!!!!!!!!!! vicsharps Linux - Newbie 3 03-07-2002 09:05 PM


All times are GMT -5. The time now is 09:47 AM.

Main Menu
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