Below is the snippet of code that now returns incremental numbers to the array. I need to be able to pass the password to the connection to get the command to run. I'm not sure if I'm getting a shell out in the first place. However, this is what I'm trying to do. Get the uptime from other local computers, I've tried everyone's suggestions and this is the closest I've got to success. Any ideas?
>> @uptime = (open (CON, "ssh -l $user $host uptime |")); >> print CON "$pass"; >> close(CON); His Faithful Servant, Rev. Mark-Nathaniel Weisman -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
