I'm having a problem with the above, on one server out of three. That server is running mac osx 10.7.5. The local server is mac osx 10.6.8
I can manually from the command line both ssh, and scp a file.
On the remote server, I've reviewed permissions, removed and reinstated the keys etc. etc.Any and all help appreciated!
Thanks!
These are the outputs from the ssh and scp.
Uncaught exception from user code: SSHAuthenticationError Login timed out. The input stream curre +ntly has the contents bellow: Last login: Wed Oct 7 13:10:19 2015 fr +om xxxx-idx-dev1.xxxx.xxxxxx.com xxxx-idx-dev3:~ user$ at /System/Library/Perl/Extras/5.10.0/Expect.pm + line 828. at /Library/Perl/5.10.0/Net/SSH/Expect.pm line 209. Net::SSH::Expect::__ANON__('ARRAY(0x100eb2730)') called at /Sy +stem/Library/Perl/Extras/5.10.0/Expect.pm line 828 Expect::_multi_expect(1, 'ARRAY(0x100eb2a60)', 'ARRAY(0x100eb2 +b68)') called at /System/Library/Perl/Extras/5.10.0/Expect.pm line 56 +5 Expect::expect('Expect=GLOB(0x100eb25c8)', 1, 'ARRAY(0x100eb2c +a0)', 'ARRAY(0x100eb2e18)', 'ARRAY(0x100eb20e8)', 'ARRAY(0x100e7d548) +', 'ARRAY(0x100eb26b8)') called at /Library/Perl/5.10.0/Net/SSH/Expec +t.pm line 580 </p> <p> Net::SSH::Expect::_sec_expect('Net::SSH::Expect=HASH(0x100e7d4 +a0)', 1, 'ARRAY(0x100eb2ca0)', 'ARRAY(0x100eb2e18)', 'ARRAY(0x100eb20 +e8)', 'ARRAY(0x100e7d548)', 'ARRAY(0x100eb26b8)') called at /Library/ +Perl/5.10.0/Net/SSH/Expect.pm line 213 </p> <p> Net::SSH::Expect::login('Net::SSH::Expect=HASH(0x100e7d4a0)') + called at ./deploy_cluster.pl line 200 main::ssh_login('xxxx-idx-dev3.xxxx.xxxxxx.com', 'user', 'pass +word') called at ./deploy_cluster.pl line 154 </p> <p> main::copy_exist_to_old_all_servers('ARRAY(0x100e7d440)', ' +ARRAY(0x100eaa830)') called at ./deploy_cluster.pl line 53 </p> <p> Uncaught exception from user code: Problem performing scp: Executing: program /usr/bin/ssh host x +xxx-idx-dev3.xxxx.xxxx.com, user user, command scp -v -t /Users/user/ +Project/scripts/perl_scripts/xxxx_flush_cache_mbr.pl.new OpenSSH_5.2p1, OpenSSL 0.9.8y 5 Feb 2013 Sending file modes: C0755 13728 xxxx_flush_cache_mbr.pl Sink: C0755 13728 xxxx_flush_cache_mbr.pl at ./deploy_cluster.pl line 86. at /Library/Perl/5.10.0/Net/SCP/Expect.pm line 224.
Net::SCP::Expect::scp('Net::SCP::Expect=HASH(0x100eaa9e0)', '/Users/us +er/cvs/xxxx/Project/xxxx/xxxx/rest_...', '/Users/user/Project/scripts +/perl_scripts/xxxx_...') called at ./deploy_cluster.pl line 86 </p> <p> main::scp_to_remote_new_all_servers('ARRAY(0x100e7d488)', ' +ARRAY(0x100eaa878)') called at ./deploy_cluster.pl line 55
In reply to net::ssh::expect net::scp::expect problem by bigswifty00000
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |