Don't fail to create SSH terminal session if we failed to create local terminal session.
Use shell options only if applicable.