in reply to Net::SSH2 Question - again-
ok, forget my last post *cough*
thank for your help, guys, i will try idsfa 's suggestion first.
Aaaaand i have direct a qustion concerning this:
The authentication to the second server looks like this:
i type "ssh -l username hostname" to the fisrt server's shell and then a field appears: "Password:"
I type my password and i am in...
How can i transfer this authentication-procedure in my script??
The problem is the "-l" option!