Ensuring uploaded key files only have read-write permissions for owner
Fixing blocking ssh stderr issue