Fix SSH key usage on scp with uploading a post file