major flow overhaul for ssh page