in reply to Re^2: net-ssh-expect is giving error
in thread net-ssh-expect is giving error

Hi All, I think Ericsson device won't support running the command in background. I tried to run the command in background, but its not rebooting.

Replies are listed 'Best First'.
Re^4: net-ssh-expect is giving error
by james_culling (Novice) on Jan 17, 2014 at 07:59 UTC
    is there any way I can rum the reboot command with out getting the error.

      I'm not sure what you expect to happen. You use Net::SSH::Expect to reboot a remote device. Obviously when rebooting the ssh process on the device will be shut down. Are you simply looking to ignore the connection error reported by Net::SSH::Expect?

        Hey, when I tried with send command exec command. Now I am not getting that error and the device gets rebooted. Thanks!

        Hi, I am also facing similar issue. I want to just ignore the connection error reported by Net::SSH:Expect. do you have a way to resolve this?

        Please advice