Improve SSH mode.