温馨提示×

温馨提示×

您好,登录后才能下订单哦!

密码登录×
登录注册×
其他方式登录
点击 登录注册 即表示同意《亿速云用户服务条款》

充齐治堡垒机修改SSH版本

发布时间:2020-06-11 01:14:00 来源:网络 阅读:990 作者:303118106 栏目:系统运维

由于产品版本原因,登录的设备只能使用SSH Version 1进行登录 ,经过与TAC确认,需要后台修改参数,修改过程如下:
[root@shterm22 ~]# ssh shterm21
FIPS integrity verification test failed.
Warning: Permanently added 'shterm21,10.0.0.21' (RSA) to the list of known hosts.
Last login: Wed Nov 28 11:55:24 2018 from 10.1.13.19

Main Menu

  1. Date and Time
  2. Network Configuration
  3. Service Management
  4. Administrators
    H. High Availability
    S. System Status
    T. System Tools
    A. Application Server
    Enter selection: root
    Challenge is 2644853635, enter password to continue: 64575114
    [root@shterm21 ~]#
    [root@shterm21 ~]#
    [root@shterm21 ~]#
    [root@shterm21 ~]#
    [root@shterm21 ~]#
    [root@shterm21 ~]#
    [root@shterm21 ~]#
    [root@shterm21 ~]#
    [root@shterm21 ~]# vim /etc/ssh/ssh_config

    Host *

    ForwardAgent no

    ForwardX11 no

    RhostsRSAAuthentication no

    RSAAuthentication yes

    PasswordAuthentication yes

    HostbasedAuthentication no

    BatchMode no

    CheckHostIP yes

    AddressFamily any

    ConnectTimeout 0

    Tunnel no

    TunnelDevice any:any

    PermitLocalCommand no

    VisualHostKey no

    Host *
    EscapeChar none
    ServerAliveInterval 60
    StrictHostKeyChecking no
    UserKnownHostsFile /dev/null
    GSSAPIAuthentication no
    ForwardX11Trusted yes
    SendEnv LANG LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES
    SendEnv LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT
    SendEnv LC_IDENTIFICATION LC_ALL LANGUAGE
    SendEnv XMODIFIERS
    Cipher des
    PreferredAuthentications publickey,password,keyboard-interactive,gssapi-with-mic,hostbased
    Host 10.0.0.253
    Protocol 1
    "/etc/ssh/ssh_config" 30L, 823C written
    [root@shterm21 ~]#
    [root@shterm21 ~]#
    [root@shterm21 ~]#
    [root@shterm21 ~]#
    [root@shterm21 ~]# /etc/init.d/sshd restart
    Stopping sshd: [ OK ]
    Starting sshd: [

向AI问一下细节

免责声明:本站发布的内容(图片、视频和文字)以原创、转载和分享为主,文章观点不代表本网站立场,如果涉及侵权请联系站长邮箱:is@yisu.com进行举报,并提供相关证据,一经查实,将立刻删除涉嫌侵权内容。

AI