zoukankan      html  css  js  c++  java
  • 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.

  • 相关阅读:
    Windows phone 7 OpenSource Project
    编程之美阅读笔记
    Java多线程中读写不一致问题
    pytorch性能瓶颈检查
    贪心会议安排
    网络编程之libevent
    笔记:自动求导【动手学深度学习v2】
    测试
    AnimeGAN+Flask部署过程
    手写哈希表
  • 原文地址:https://www.cnblogs.com/keepfocus/p/2604721.html
Copyright © 2011-2022 走看看