Dell Networking SONiC: Secure Shell 기반 로그인
Summary: 이 문서에서는 Dell Networking SONiC의 SSH(Secure Shell) 기반 로그인에 대해 설명합니다. 이 문서에서는 Dell SONiC 4.1을 실행하는 스위치를 사용합니다.
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.
Instructions
기본적으로 SONiC은 DHCP(Dynamic Host Configuration Protocol)를 사용하여 DHCP 서버에서 관리 인터페이스(Management0)의 IP 주소를 가져옵니다(DHCP 서버 사용 참조). 원격 SSH 로그인을 설정하여 스위치를 구성하려면 모든
SONiC 디바이스는 직렬 콘솔 기반 로그인과 SSH 기반 로그인을 모두 지원합니다. SSH 로그인을 사용하는 경우 관리 인터페이스(Management0) IP 주소에 로그인합니다.
SONiC 디바이스는 직렬 콘솔 기반 로그인과 SSH 기반 로그인을 모두 지원합니다. SSH 로그인을 사용하는 경우 관리 인터페이스(Management0) IP 주소에 로그인합니다.
- 콘솔에서 또는 SSH 연결을 통해 기본 사용자 이름 admin 및 암호 YourPaSsWoRd를 사용하여 Linux 셸에 로그인합니다.
콘솔에서:
Debian GNU/Linux 9 sonic ttyS1 sonic login: admin Password: YourPaSsWoRd
관리 인터페이스의 IP 주소에 연결하여 모든 원격 서버에서 SONiC으로의 SSH를 수행할 수 있습니다.
user@debug:~$ ssh admin@sonic_ip_address(or SONIC DNS Name) admin@sonic's password:
- 처음 로그인하면 암호를 변경하라는 메시지가 표시됩니다. 단계에 따라 암호를 변경하고 Linux 셸에 로그인합니다. 첫 번째 로그인이 아닌 경우 3단계로 이동합니다.
You are required to change your password immediately (root enforced) Changing password for admin. (current) UNIX password: YourPaSsWoRd Enter new UNIX password: ********* Retype new UNIX password: ******** Linux sonic 4.9.0-11-2-amd64 #1 SMP Debian 4.9.189-3+deb9u2 (2019-11-11) x86_64 You are on SONIC -- Software for Open Networking in the Cloud – Unauthorized access and/or use are prohibited. All access and/or use are subject to monitoring. Help: http:// azure.github.io/SONiC/ admin@sonic:~$
SSH 로그인
기본적으로 SONiC은 DHCP를 사용하여 DHCP 서버에서 관리 인터페이스(Management0)의 IP 주소를 가져옵니다(DHCP 서버 사용 참조). 원격 SSH 로그인을 설정하여 스위치를 구성하려면 다음을 수행합니다.
- 스위치에 로그인합니다. 로그인 후 암호를 아직 변경하지 않은 경우 기본 자격 증명은 사용자 이름 admin 및 암호 YourPaSsWoRd입니다.
- DHCP 클라이언트를 비활성화하고 관리 인터페이스에서 IP 주소를 구성합니다. 원격 액세스를 위한 관리 경로를 구성합니다.
sonic# config terminal sonic(config)# interface Management 0 sonic(conf-if-Management0)# ip address 10.1.1.10/24 gwaddr 10.1.1.1 sonic(conf-if-Management0)# no shutdown sonic(conf-if-Management0)# exit sonic(config)# exit sonic# write memory
- SSH 세션에서 관리 인터페이스(Management0) IP 주소에 로그인합니다. 관리 인터페이스가 켜져 있고 IP 주소가 있어야 합니다.
콘솔에서:
Debian GNU/Linux 9 sonic ttyS1 sonic login: admin Password: YourPaSsWoRd
SONiC IP에 연결하여 모든 원격 서버에서 SONiC으로의 SSH를 수행할 수 있습니다.
user@debug:~$ ssh admin@sonic_ip_address(or SONIC DNS Name) admin@sonic's password:
- 관리자 역할로 로그인하면 Linux 셸에 배치됩니다. 프롬프트는 다음과 같습니다.
admin@sonic:~$.관리 프레임워크 인터페이스에 액세스하려면 SONiC CLI 명령을 입력합니다.
- 운영자 역할로 로그인하면 관리 프레임워크 CLI에 배치됩니다. 프롬프트는 다음과 같습니다.
sonic#운영자 사용자는 Linux 셸에 액세스할 수 없습니다.
Affected Products
Enterprise SONiC Distribution, PowerSwitch S5148F-ON, PowerSwitch S5212F-ON, PowerSwitch S5224F-ON, PowerSwitch S5232F-ON, PowerSwitch S5248F-ON, PowerSwitch S5296F-ON, PowerSwitch S5448F-ON, PowerSwitch Z9264F-ONArticle Properties
Article Number: 000218783
Article Type: How To
Last Modified: 08 Nov 2025
Version: 3
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.