Added more structure code for SSH session