zoukankan      html  css  js  c++  java
  • 001. 使用ssh连接不上centos 6.5的解决方法及其解决中文乱码

    1. 使用ssh连接不上centos 6.5的解决方法:

           错误显示:

                  Connecting to 192.168.1.106:22...

    Could not connect to '192.168.1.106' (port 22): Connection failed.

    Type `help' to learn how to use Xshell prompt.

           解决方法:

                  首先,CentOS上检设置:

    1. 关闭防火墙

    service iptables stop

    chkconfig iptables off

    2. 启动ssh服务

    service sshd start

    3.查看CentOS 的IP地址:ifconfig -a

    inet addr:192.168.56.106  Bcast:192.168.56.255  Mask:255.255.255.0

    2. 如何使Xshell4支持中文:

           错误显示:

                  [root@localhost ~]# ls

    anaconda-ks.cfg  post-install  post-install.log  ?..?. 妯℃.  瑙.?  ?剧.  ?.。  涓.浇  ?充?  妗..

           解决方法:

                  1. 查看你的linux是否支持中文,否则请修改

                         [root@localhost ~]# echo $LANG

                         zh_CN.UTF-8

                  2. 系统支持中文,但是Xshell4 还是显示乱码,那就是Xshll4的问题了,调整Xshell4

                         文件→属性→终端→转换(编码)默认语言调整为 UTF-8

                         [root@localhost ~]# ls

    anaconda-ks.cfg  post-install  post-install.log  公共的  模板  视频  图片  文档  下载  音乐  桌面

  • 相关阅读:
    执迷不悟
    splunk设置索引周期和索引大小
    下载地址sqlserver2008r2
    蓝牙
    1、IdentityServer4
    翻译名义集
    sql 字符取数字
    Aerial Images Dataset 航空图像数据集 收集
    基于VGG16模型对猫狗分类任务进行迁移学习
    Apollo配置中心
  • 原文地址:https://www.cnblogs.com/wxylog/p/6093323.html
Copyright © 2011-2022 走看看