fix spawning ssh console