How to configure OpenSSH 7.0(and above) to login smart and managed switches?

Configuration Guide
수정일04-17-2018 02:31:33 AM 55951
본 내용은 다음 항목에 적용됩니다: 

SSH is a security protocol for network communication. It is an encrypted shell which provides a secure tunnel for different kinds of network protocols such as telnet, ftp, pop, etc.

When we use OpenSSH client on Linux to login switch, sometimes it will turns out an error info as shown below:

This is because OpenSSH 7.0 (and above) disable the algorithm by default that our switches are applying. We need to enable the corresponding algorithm on OpenSSH client manually.

Generally speaking, OpenSSH client had been installed on Linux system by default. We can type in dpkg –L|grep ssh to check what version our OpenSSH client is. OpenSSH client version on this system is 7.2.

Let’s start from the beginning and take T1600G-28TS( IP address as an example. We are aimed to login switch via OpenSSH client with Ubuntu 1604. Before everything, we should enable SSH by WebUI (you can also use telnet). Go to System--->Access Security--->SSH Config, Enable SSH. Click Apply.

Because here our OpenSSH client version is 7.2, we need to modify configuration file of OpenSSH client under this condition. Turn to /etc/ssh floder On Ubuntu. We open ssh_config via nano. After entering sudo nano ssh_config, we need type system login password. Here is root.

cd /etc/ssh

sudo nano ssh_config



KexAlgorithms +diffie-hellman-group1-sha1

HostKeyAlgorithms +ssh-dss

to the bottom of ssh_config as picture below. This step we enable the corresponding algorithms for Then press Ctrl+O to save. Ctrl+X to exit.

Now let’s try to login. Type command ssh admin@, then enter defdult password admin. We login successfully!

구독TP-Link는 귀하의 개인 정보 보호를 중요하게 생각합니다. TP-Link의 개인 정보 보호에 대한 자세한 내용은, TP-Link의 개인 정보 보호 정책을 참조하십시오.

From United States?

해당 지역의 제품, 이벤트 및 서비스를 받아보세요.