Displaying 1 result from an estimated 1 matches for "myscript_shell".
2006 Apr 20
0
SSH and file descriptors
.../etc/passed
</script>
(shebang with -l or -i does not affect the problem)
Real script does not matter, this example is to show you that I cant use
error descriptor here;\
When I run this script while being logged on machine I get:
<typescript>
user at machine ~ $ /usr/local/bin/myscript_shell > /dev/null
ls: /this_does_not_exist: No such file or directory
</typescript>
what we can see here is that stderr and stdout are separated...
When I run this script over ssh I get:
<typescript>
user at machine ~ $ ssh machine /usr/local/bin/myscript_shell > /dev/null
Password:...