首先在BT5中配置ssh.在BT5中不需要你自己去安装ssh,自身就有的所以直接启动ssh服务
# /etc/init.d/ssh restart
然后查看ssh是否启动并查看端口22是否开放
#netstat -tlp
# netstat -ant | grep 22
但是到这里后在win7 中使用SSH Secure Shell还是连不上,原来还得先生成两个密钥
#ssh-keygen -t dsa -f /etc/ssh/ssh_host_rsa_key
root@192.168.1.132's password:
Linux root 2.6.38 #1 SMP Thu Mar 17 20:52:18 EDT 2011 i686 GNU/Linux
###################################################################
[*] Welcome to the BackTrack 5 Distribution, Codename "Revolution"
[*] Official BackTrack Home Page: http://www.backtrack-linux.org
[*] Official BackTrack Training : http://www.offensive-security.com
###################################################################
[*] To start a graphical interface, type "startx".
[*] The default root password is "toor".

本文详细介绍了如何在BT5系统中配置SSH服务,包括启动SSH服务、生成密钥及使用SSH SecureShell进行连接的方法。

597

被折叠的 条评论
为什么被折叠?



