溫馨提示×

您好,登錄后才能下訂單哦!

密碼登錄×
登錄注冊(cè)×
其他方式登錄
點(diǎn)擊 登錄注冊(cè) 即表示同意《億速云用戶服務(wù)條款》

充齊治堡壘機(jī)修改SSH版本

發(fā)布時(shí)間:2020-06-11 01:14:00 來源:網(wǎng)絡(luò) 閱讀:965 作者:303118106 欄目:系統(tǒng)運(yùn)維

由于產(chǎn)品版本原因,登錄的設(shè)備只能使用SSH Version 1進(jìn)行登錄 ,經(jīng)過與TAC確認(rèn),需要后臺(tái)修改參數(shù),修改過程如下:
[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問一下細(xì)節(jié)

免責(zé)聲明:本站發(fā)布的內(nèi)容(圖片、視頻和文字)以原創(chuàng)、轉(zhuǎn)載和分享為主,文章觀點(diǎn)不代表本網(wǎng)站立場(chǎng),如果涉及侵權(quán)請(qǐng)聯(lián)系站長(zhǎng)郵箱:is@yisu.com進(jìn)行舉報(bào),并提供相關(guān)證據(jù),一經(jīng)查實(shí),將立刻刪除涉嫌侵權(quán)內(nèi)容。

AI