Thread SSH: SSH Agent Forwarding + Authentication
(6 answers)
Opened by Taulmarill at 2004-04-13 15:44
Hallo,
für SSH Verbindungen mit Perl benutzte ich Net:SSH::Perl. Die Anmeldung an dem Host erfolgt immer per Key und ohne Passwort, da hier der Agent mit eingebunden ist. Eine einfache Verbindung, Host A zu Host B ist auch ohne Probleme möglich. Leider muss ich von Host A über Host B zu Host C gelangen, um dort weitere Skripte ausführen zu können. Versuche ich eine weitere SSH-Verbindung von Host B zu Host C aufzumachen ( my $cmd = "ssh appsvc1 hostname"; ) bekomme ich immer einen premission denied. Ich denke da funktioniert was nicht mit dem Agent Forwarding. Über das Terminal geht das alles Einwandfrei. - Kann mir jemand vielleicht helfen? - Wie kann man mit Net::SSH::Perl das Agent Forwarding benutzten? --- Code: (dl
)
1 #!/usr/bin/perl -w --- MFG Snox\n\n <!--EDIT|renee|1081859983--> |