Hi all,
in my program i wrote, i use Net::SSH::Perl module. I can open ssh connection and do what i want, but what i dont know is how to close my ssh connection.
i tried close( $ssh) and $ssh->close, but it doesnt work.
i searched a bit in the net, and i saw that i need to let to connection to reach its timeout and then it ill be closed. I would like to know if at present there is a way to close ssh connection? if still not, how could i check if my ssh connection is still open?
Thanks