electronics forum

Rules | Recent posts | topic RSS | Search | Register  | Log in

perl : ssh/rsh on a machine


Post new topic  Reply to topic    EDAboard.com Forum Index -> ASIC Design Methodologies & Tools (Digital) -> perl : ssh/rsh on a machine
Author Message
ashgun



Joined: 04 Aug 2006
Posts: 17
Helped: 1


Post02 Jul 2009 14:46   

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
Back to top
Google
AdSense
Google Adsense




Post02 Jul 2009 14:46   

Ads




Back to top
jimjim2k



Joined: 17 May 2001
Posts: 1248
Helped: 11


Post02 Jul 2009 18:42   

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
Back to top
Arabic versionBulgarian versionCatalan versionCzech versionDanish versionGerman versionGreek versionEnglish versionSpanish versionFinnish versionFrench versionHindi versionCroatian versionIndonesian versionItalian versionHebrew versionJapanese versionKorean versionLithuanian versionLatvian versionDutch versionNorwegian versionPolish versionPortuguese versionRomanian versionRussian versionSlovak versionSlovenian versionSerbian versionSwedish versionTagalog versionUkrainian versionVietnamese versionChinese version
Post new topic  Reply to topic    EDAboard.com Forum Index -> ASIC Design Methodologies & Tools (Digital) -> perl : ssh/rsh on a machine
Page 1 of 1 All times are GMT + 1 Hour
Similar topics:
SSH to amule or ip address ??? (1)
x11 through ssh tunnel (6)
How to connect to certain port in ssh command (3)
VNC - Cygwin - SSH .. wana access my lab from remote place (7)
explain finite state machine and Infinite state machine? (1)
Perl (8)
perl (10)
perl (34)
perl (9)
Perl: $a='n|u|m' (1)


Abuse || Administrator || Moderators || Support us || sitemap
topic RSS