Warning: ini_set() has been disabled for security reasons in /home/informat/public_html/sites/default/settings.php on line 127

Warning: ini_set() has been disabled for security reasons in /home/informat/public_html/sites/default/settings.php on line 128

Warning: ini_set() has been disabled for security reasons in /home/informat/public_html/sites/default/settings.php on line 129

Warning: ini_set() has been disabled for security reasons in /home/informat/public_html/sites/default/settings.php on line 130

Warning: ini_set() has been disabled for security reasons in /home/informat/public_html/sites/default/settings.php on line 131

Warning: ini_set() has been disabled for security reasons in /home/informat/public_html/sites/default/settings.php on line 132

Warning: ini_set() has been disabled for security reasons in /home/informat/public_html/sites/default/settings.php on line 133

Warning: ini_set() has been disabled for security reasons in /home/informat/public_html/sites/default/settings.php on line 134

Warning: ini_set() has been disabled for security reasons in /home/informat/public_html/sites/default/settings.php on line 135

Warning: ini_set() has been disabled for security reasons in /home/informat/public_html/sites/default/settings.php on line 136

Warning: ini_set() has been disabled for security reasons in /home/informat/public_html/sites/default/settings.php on line 137

Warning: ini_set() has been disabled for security reasons in /home/informat/public_html/includes/bootstrap.inc on line 463

Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /home/informat/public_html/sites/default/settings.php:127) in /home/informat/public_html/includes/bootstrap.inc on line 1143

Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/informat/public_html/sites/default/settings.php:127) in /home/informat/public_html/includes/bootstrap.inc on line 1143

Warning: Cannot modify header information - headers already sent by (output started at /home/informat/public_html/sites/default/settings.php:127) in /home/informat/public_html/includes/bootstrap.inc on line 709

Warning: Cannot modify header information - headers already sent by (output started at /home/informat/public_html/sites/default/settings.php:127) in /home/informat/public_html/includes/bootstrap.inc on line 710

Warning: Cannot modify header information - headers already sent by (output started at /home/informat/public_html/sites/default/settings.php:127) in /home/informat/public_html/includes/bootstrap.inc on line 711

Warning: Cannot modify header information - headers already sent by (output started at /home/informat/public_html/sites/default/settings.php:127) in /home/informat/public_html/includes/bootstrap.inc on line 712
copying files between 2 remote hosts | InformatiQ

copying files between 2 remote hosts

warning: Cannot modify header information - headers already sent by (output started at /home/informat/public_html/sites/default/settings.php:127) in /home/informat/public_html/includes/common.inc on line 148.

I was in this position where my host has access to access to host A and host B but host A cannot access host B

I need to copy data between A and B, the first thing i tried was to copy from A to myhost and from myhost to B

stupid! time wasting! yes...

Then with Eero heino my colleague we did this

ssh A "tar cf - /path/to//file"|ssh B "tar xf - -C /path/to/dest/"

It works!

Random image

DSC07570

Recent comments