w3hello.com logo
Home PHP C# C++ Android Java Javascript Python IOS SQL HTML videos Categories
Execute script on remote host - output given in local host

You could try the -n flag for ssh:

ssh -n $REMOTE_HOST "$BOUNCE_SCRIPT" >> $LOG

The man page has further information (http://unixhelp.ed.ac.uk/CGI/man-cgi?ssh+1). The following is a snippet:

-n Redirects stdin from /dev/null (actually, prevents reading from stdin).





© Copyright 2018 w3hello.com Publishing Limited. All rights reserved.