通过ssh访问Back Track 5

首先在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_dsa_key
#ssh-keygen -t dsa -f /etc/ssh/ssh_host_rsa_key
执行命令后都会让输入密码,直接敲回车设置为空即可
然后在本机win7系统使用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".

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值