improved ~/.ssh restoring