Tweak ssh script and its permisions