in reply to Re: ssh session
in thread ssh session

it is not possible to use "empty-pass.." with cisco, 'cause it supports only ssh1 with DES encryption.. rather outdated.. And yes i want to do all this with Perl, 'cause there will be alot of parsing of the results :"), not only logon-execute-logout..
hmm .. what about persistant connection (or at least 1-2 hour). I will need some sort of deamon for this isnt it ?!

Replies are listed 'Best First'.
Re: Re: Re: ssh session
by liz (Monsignor) on Sep 10, 2003 at 13:56 UTC
    Maybe rather than using cron to have your program execute automatically at regular times (forcing you to store the access mechanism somewhere), you could make it running eternally after you supplied the right credentials manually during startup.

    Then maybe you would need a cron job to check whether the program is still running.

    It might have some job security implications as well, that you may or may not like (it's not always nice if you cannot be missed).