Fix ssh command when execited with a wget pipe