bt 开通 ssh 以及scp
2012-07-23 11:53
141 查看
编辑器加载中... 开通了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.
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.
相关文章推荐
- 使用ssh进行远程连接以及远程跳板以及scp远程上传下载文件说明
- 使用ganymed ssh2实现scp以及ssh内容访问
- ssh、scp的使用,以及shell脚本解决scp需要输入密码的问题
- rsh,ssh,scp,rcp
- ssh 免密登录 以及shell脚本语法笔记
- linux生成RSA密钥对,实现无密码ssh/scp
- ssh,scp
- SSH之登陆原理以及使用
- Linux入门-ssh scp rsync
- 基于 SSH 的远程操作以及安全,快捷的数据传输
- ssh连接github以及本地push
- Centos中安装.SSH安装,配置以及使用
- linux安装分区以及挂载目录的使用来实现ssh公钥的共享
- ssh sshd scp 基于密钥认证登陆 双机互信
- linux学习:CentOS、Mac上SSH的设置以及SceureCRT中的文件上传下载
- 开启linux的SSH服务以及异常的处理
- 用Pexpect与SSH交互(实现了参数化输入以及命令行shell交互的形式)
- hadoop master到slave1节点ssh配置完成后,scp出现permission denied
- ssh无密码登录设置方法以及出现问题 ECDSA host key 和IP地址对应的key不同的解决
- 工作环境搭建(5) - CentOS7用证书方式登陆ssh和scp