|The stupid question is the question not asked|
Problem to connect remote hostby perladdict (Chaplain)
|on Apr 09, 2007 at 14:32 UTC||Need Help??|
perladdict has asked for the
wisdom of the Perl Monks concerning the following question:
I am trying to logon to remote host by using Net::SSH,if the login succeeds means,
i have to ping the ip of this machine to know the status of the server.
Actualy my task is to ping the machine and find the satus and i have to find the diskspace usage as well as cpu usage
as i know we can do this by using system command and as well as Net::Telnet module.
after trying the above code i am getting error as below
Undefined subroutine &main::login called at ssh.txt line 6.