[Ssh-sftp-perl-users] SSH Twice via Net::SSH::Perl
Brought to you by:
dbrobins
From: David R. <dav...@gm...> - 2010-11-01 16:36:10
|
Hello, I am very knew to perl, but have achieved almost half my goal in a pretty short time span. I just need help with the other half. I need to ssh into a remote computer to grab some files. The problem is though I need to ssh into a middleman and then ssh again into the final computer. Using the Net::SSH:Perl module I have been able to get into the second, but if I use the same command again I get an error that it can't find the host. I think this is because it is trying to connect to another host from my computer and not through the second computer. How can I ssh again from the second to reach the third? Thanks for the help. -Dave |