zoukankan      html  css  js  c++  java
  • Xshell连接VM中Ubuntu

      • 摘要:终端输入ifconfig获取本地虚拟机的IP地址;安装openssh-serversudoapt-getinstallopenssh-server 查看server是否启动: ps-ef|grepssh 如果看到/usr/sbin/sshd-D,说明服务已经启动,否则服务尚未启动,那么需要启动server: /etc/init.d/sshstart 接下来就可以用xshell连接了。如果xshell中看到乱码的情况,那么可以x
        1. 终端输入ifconfig获取本地虚拟机的IP地址;
        2. 安装openssh-server

          sudo apt-get install openssh-server 

          查看server是否启动: 

          ps -ef |grep ssh 

          如果看到/usr/sbin/sshd -D,说明服务已经启动,否则服务尚未启动,那么需要启动server: 

          /etc/init.d/ssh start 

          接下来就可以用xshell连接了。如果xshell中看到乱码的情况,那么可以xshell的编码改成UTF-8! 

          xshell中修改编码为UTF-8的方法:[文件]–>[打开]–>在打开的session中选择连接的那个 ,点击properties -> [Terminal ] ,在右边的translation先选择utf8,然后重新连接服务器即可.

  • 相关阅读:
    Discovery Scanning
    Openvas
    Common Vulnerability Scoring System CVSS
    NIagara Workbench ( 温度控制)
    Nikto and whatweb
    Jace Config
    Active information gathering-services enumeration
    Intsall The Nessus in you kali linux
    Source Code Review
    Niagara workbench (Basic )
  • 原文地址:https://www.cnblogs.com/zhaohuanhuan/p/9431169.html
Copyright © 2011-2022 走看看