bt 开通 ssh 以及scp

编辑器加载中... 开通了ssh-server,自然就有了scp

you need to SSH or SCP to BackTrack box, you need to start the SSH server that comes with Backtrack.

First you need to generate keys. As root, type in the following line

root@bt:~# sshd-generate

Generating public/private rsa1 key pair. Generating public/private rsa key pair.

Your identification has been saved in /etc/ssh/ssh_host_rsa_key.

Your public key has been saved in /etc/ssh/ssh_host_rsa_key.pub. Generating public/private dsa key pair.

Your identification has been saved in /etc/ssh/ssh_host_dsa_key.

Your public key has been saved in /etc/ssh/ssh_host_dsa_key.pub.

After key generation is complete, start the SSH server.

root@bt:~# /etc/init.d/ssh start *

Starting OpenBSD Secure Shell server sshd [ OK ] You can verify whether the server has started by issuing a netstat command. root@bt:~# netstat -ntlp Active Internet connections (only servers) Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 3690/sshd Now you can connect to the box using any SSH or SCP client.

转载于:https://www.cnblogs.com/keepfocus/archive/2012/07/23/2604721.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值