zoukankan      html  css  js  c++  java
  • Kali 远程登陆SSH

    一、配置SSH

    编辑/etc/ssh/sshd_config

    将#PasswordAuthentication no的注释去掉,将NO修改为YES  //可以用密码登陆
    将PermitRootLogin without-password修改为PermitRootLogin yes  //运行root用户用密码远程登陆SSH

    二、启动SSH服务

    /etc/init.d/ssh start 
    或者
    service ssh start

    三、使用SSH工具连接

    XShell、Putty、SecureCRT等SSH登陆工具

    注意:

    如未配置密码登陆,则生成密钥进行登陆

    #ssh-keygen -t dsa -f /etc/ssh/ssh_host_dsa_key
    #ssh-keygen -t dsa -f /etc/ssh/ssh_host_rsa_key
  • 相关阅读:
    栈和队列
    链表
    map
    二叉平衡树旋转
    二叉排序树详情
    红黑树详情
    查并集
    动态规划
    位操作
    字典树
  • 原文地址:https://www.cnblogs.com/captainRoB/p/7188628.html
Copyright © 2011-2022 走看看