condition for ssh 1022