bash - fix ssh fs script