SG2428P 5.30 have login timeout for SSH (10s)

This thread has been locked for further replies. You can start a new thread to share your ideas or ask questions.

SG2428P 5.30 have login timeout for SSH (10s)

This thread has been locked for further replies. You can start a new thread to share your ideas or ask questions.
SG2428P 5.30 have login timeout for SSH (10s)
SG2428P 5.30 have login timeout for SSH (10s)
2025-03-25 20:22:32 - last edited 2025-03-26 02:26:20
Model: TL-SG2428P  
Hardware Version: V5
Firmware Version: 5.30.5 Build 20250117 Rel.60446

Used devices:

- SG2428P 5.30 (5.30.5 Build 20250117 Rel.60446);

- TL-SG3428X 1.0 (1.0.11 Build 20230227 Rel.740).

 

Each configured to use SSH with key.

This is an ssh_config file:

Host com01
    Hostname 10.50.0.101
    User admin
    KexAlgorithms +diffie-hellman-group1-sha1
    HostKeyAlgorithms +ssh-dss,rsa-sha2-256
    PubkeyAcceptedAlgorithms +ssh-rsa
    Ciphers +aes128-ctr,aes192-ctr,aes256-ctr,aes128-cbc,aes192-cbc,aes256-cbc,3des-cbc
    IdentityFile ~/.ssh/id_rsa

Host com02
    Hostname 10.50.0.102
    User admin
    KexAlgorithms +diffie-hellman-group1-sha1
    HostKeyAlgorithms +ssh-dss,rsa-sha2-256
    PubkeyAcceptedAlgorithms +ssh-rsa
    Ciphers +3des-cbc
    Ciphers +aes128-ctr,aes192-ctr,aes256-ctr,aes128-cbc,aes192-cbc,aes256-cbc,3des-cbc
    IdentityFile ~/.ssh/id_rsa

 

 

I have ~10s timeout before login over SSH to SG2428P.

I have no any timeout when login over SSH to TL-SG3428X.

 

 

Is there a way to remove timeout before login over SSH?

 

 

Please, change the firmware to reduce login timeout.

  0      
  0      
#1
Options
1 Accepted Solution
Re:SG2428P 5.30 have login timeout for SSH (10s)-Solution
2025-03-26 02:26:14 - last edited 2025-03-26 02:27:06

Hi @Bogdan107 

Thanks for posting in our business forum.

The firmware provides the default value.

But you can manually change this:

Recommended Solution
  1  
  1  
#2
Options
2 Reply
Re:SG2428P 5.30 have login timeout for SSH (10s)-Solution
2025-03-26 02:26:14 - last edited 2025-03-26 02:27:06

Hi @Bogdan107 

Thanks for posting in our business forum.

The firmware provides the default value.

But you can manually change this:

Recommended Solution
  1  
  1  
#2
Options
Re:SG2428P 5.30 have login timeout for SSH (10s)
2025-03-26 02:29:21 - last edited 2025-03-26 02:39:15

echo exit | time ssh -x com01

Pseudo-terminal will not be allocated because stdin is not a terminal.
Connection to 10.50.0.101 closed by remote host.
Command exited with non-zero status 255
0.01user 0.00system 0:01.00elapsed 1%CPU (0avgtext+0avgdata 8092maxresident)k
0inputs+0outputs (0major+674minor)pagefaults 0swaps

 

echo exit | time ssh -x com02

Pseudo-terminal will not be allocated because stdin is not a terminal.
Command exited with non-zero status 255
0.01user 0.00system 0:09.60elapsed 0%CPU (0avgtext+0avgdata 8204maxresident)k
0inputs+0outputs (0major+674minor)pagefaults 0swaps

  0  
  0  
#3
Options