1.apt-get install openshh-server
2.vim /etc/ssh/ssh_config
更改一下内容
# Site-wide defaults for various options
Host *
ForwardAgent no
ForwardX11 no
RhostsAuthentication no
RhostsRSAAuthentication no
RSAAuthentication yes
PasswordAuthentication yes
FallBackToRsh no
UseRsh no
BatchMode no
CheckHostIP yes
StrictHostKeyChecking no
IdentityFile ~/.ssh/identity
Port 22
Cipher blowfish
3.重启ssh:
/etc/ini.d/ssh restart
sshd:使能ssh
netstat -vat:查看状态
4.打开secureCRT 连接上虚拟机网络