more changes for ssh debug