Fixed a bug that dosen't work ssh.