Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

perl : ssh/rsh on a machine

Status
Not open for further replies.

ashgun

Junior Member level 1
Joined
Aug 4, 2006
Messages
19
Helped
1
Reputation
2
Reaction score
0
Trophy points
1,281
Activity points
1,409
perl ssh password

Hi ,
I need help on this issue . The thing is I am trying to do RSH/SSH on a machine from perl script , When its asks for password --> I enter the password but then the further lines of the script does not execute untill I logout fromm the Remote machine . How Can I execute the further commands in the script on th remote Machine .

One thing is that password has to entered manually , it is mandatory for my script , so dont suggest for automatic password passing .

Thanks
Ashish
 

perl rsh

Hi

Please read my suggestions.

The one good answer is a great tool for this purpose called "Expect". You may use it directly:

1. h**p://www.askdavetaylor.com/automating_ssh_with_a_shell_script.html

If you are restricted to use perl then use form Expect.pm in perl.


tnx
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top