Skip to main content
  • Place orders quickly and easily
  • View orders and track your shipping status
  • Enjoy members-only rewards and discounts
  • Create and access a list of your products

NVE: NVE에서 SSH 서비스를 시작할 수 없습니다.

Summary: NVE(NetWorker Virtual Edition) 어플라이언스는 SSH를 통해 액세스할 수 없습니다. 그렇지 않으면 NVE가 데이터 보호 작업에 영향을 주지 않고 계속 실행됩니다.

This article applies to This article does not apply to This article is not tied to any specific product. Not all product versions are identified in this article.

Symptoms

NetWorker 솔루션은 NVE(NetWorker Virtual Edition) 어플라이언스로 구성되지만 SSH를 통해 액세스할 수 없습니다.  NVE 관리자 관리 포털(NetWorker Management Console, NetWorker Web User Interface 및 NetWorker Installation Manager)에 계속 액세스할 수 있으며 백업/복원 기능도 정상적으로 작동합니다.  NVE 운영 체제 셸은 vSphere Web Client 원격 콘솔을 통해 액세스할 수 있습니다.  

SSHD 서비스가 실행되고 있지 않으며 다음을 보고합니다.
nve:~ # systemctl start sshd.service
Job for sshd.service failed because the control process exited with error code. See "systemctl status sshd.service" and "journalctl -xe" for details.

nve:~ # systemctl status sshd.service
● sshd.service - OpenSSH Daemon
   Loaded: loaded (/usr/lib/systemd/system/sshd.service; enabled; vendor preset: disabled)
   Active: failed (Result: start-limit) since Tue 2021-04-27 15:43:49 EDT; 17s ago
  Process: 6576 ExecStart=/usr/sbin/sshd -D $SSHD_OPTS (code=exited, status=0/SUCCESS)
  Process: 12164 ExecStartPre=/usr/sbin/sshd -t $SSHD_OPTS (code=exited, status=255)
  Process: 12161 ExecStartPre=/usr/sbin/sshd-gen-keys-start (code=exited, status=0/SUCCESS)
 Main PID: 6576 (code=exited, status=0/SUCCESS)
    Tasks: 6
   CGroup: /system.slice/sshd.service
           ├─11434 sshd: admin@pts/0
           ├─11438 -bash
           ├─11939 sudo su
           ├─11942 su
           ├─11943 bash
           └─12169 systemctl status sshd.service

Apr 27 15:43:48 nve systemd[1]: Failed to start OpenSSH Daemon.
Apr 27 15:43:48 nve systemd[1]: sshd.service: Unit entered failed state.
Apr 27 15:43:48 nve systemd[1]: sshd.service: Failed with result 'exit-code'.
Apr 27 15:43:49 nve systemd[1]: sshd.service: Service RestartSec=100ms expired, scheduling restart.
Apr 27 15:43:49 nve systemd[1]: Stopped OpenSSH Daemon.
Apr 27 15:43:49 nve systemd[1]: sshd.service: Start request repeated too quickly.
Apr 27 15:43:49 nve systemd[1]: Failed to start OpenSSH Daemon.
Apr 27 15:43:49 nve systemd[1]: sshd.service: Unit entered failed state.
Apr 27 15:43:49 nve systemd[1]: sshd.service: Failed with result 'start-limit'.

/var/log/messages 파일은 sshd_config 파일에 문제가 있음을 나타냅니다.
nve:~ # tail -n 30 /var/log/messages | grep ssh
Apr 27 15:43:48 nve systemd[1]: sshd.service: Service RestartSec=100ms expired, scheduling restart.
Apr 27 15:43:48 nve sshd-gen-keys-start[12161]: Checking for missing server keys in /etc/ssh
Apr 27 15:43:48 nve ssh-keygen[12162]: OWB:ERROR:BSAFELIB:func(112):reason(113):b_dsa.c:112
Apr 27 15:43:48 nve sshd-gen-keys-start[12161]: ssh-keygen: generating new host keys: DSA key_generate failed: error in libcrypto
Apr 27 15:43:48 nve sshd[12164]: /etc/ssh/sshd_config line 171: Directive 'kexalgorithms' is not allowed within a Match block
Apr 27 15:43:48 nve systemd[1]: sshd.service: Control process exited, code=exited status=255
Apr 27 15:43:48 nve systemd[1]: sshd.service: Unit entered failed state.
Apr 27 15:43:48 nve systemd[1]: sshd.service: Failed with result 'exit-code'.
Apr 27 15:43:49 nve systemd[1]: sshd.service: Service RestartSec=100ms expired, scheduling restart.
Apr 27 15:43:49 nve systemd[1]: sshd.service: Start request repeated too quickly.
Apr 27 15:43:49 nve systemd[1]: sshd.service: Unit entered failed state.
Apr 27 15:43:49 nve systemd[1]: sshd.service: Failed with result 'start-limit'.

Cause

NVE /etc/ssh/sshd_config 파일에는 이전 NVE 업그레이드 중에 제거되지 않은 kexalgorithms 항목이 포함되어 있습니다. 

nve:~ # cat /etc/ssh/sshd_config | grep -b2 kexalgorithms
Match Address ::1,127.0.0.1,127.0.0.1,127.0.0.2,::1,10.0.0.3,fe80::250:56ff:febb:58e7
   PermitRootLogin yes
kexalgorithms diffie-hellman-group-exchange-sha256,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,curve25519-sha256@libssh.org

 

Resolution

/etc/ssh/sshd_config 파일에서 kexalgorithms 항목을 제거합니다.
  1. vSphere Web Client에서 NVE에 대한 원격 콘솔 세션을 엽니다.
  2. 루트 사용자로 NVE에 인증
  3. 텍스트 편집기로 /etc/ssh/sshd_config 파일을 엽니다( vi /etc/ssh/sshd_config
  4. kexalgorithms 줄을 제거하거나 주석 처리합니다.
  5. 변경 사항을 /etc/ssh/sshd_config 파일에 저장합니다.
  6. SSHD 서비스 시작: systemctl start sshd.service

Additional Information

Affected Products

NetWorker
Article Properties
Article Number: 000185884
Article Type: Solution
Last Modified: 11 Oct 2023
Version:  4
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.