通过ssh访问Back Track 5
首先在BT5中配置ssh.在BT5中不需要你自己去安裝ssh,自身就有的所以直接啟動(dòng)ssh服務(wù)
# /etc/init.d/ssh restart
然后查看ssh是否啟動(dòng)并查看端口22是否開放
#netstat -tlp
# netstat -ant | grep 22
但是到這里后在win7 中使用SSH? Secure Shell還是連不上,原來還得先生成兩個(gè)密鑰
#ssh-keygen -t dsa -f /etc/ssh/ssh_host_dsa_key#ssh-keygen -t dsa -f /etc/ssh/ssh_host_rsa_key 執(zhí)行命令后都會(huì)讓輸入密碼,直接敲回車設(shè)置為空即可 然后在本機(jī)win7系統(tǒng)使用SSH? Secure Shell連接即可 ---------------------------------------------------------------------------------------------------------
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".
總結(jié)
以上是生活随笔為你收集整理的通过ssh访问Back Track 5的全部?jī)?nèi)容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 留个HelpAssistant用户后门,
- 下一篇: BT5下使用Armitage的一些问题