Implement SSH state