SSH connections on MacOS are sometimes taking too long time although ssh server is fast. Some modifications on client side and server side can fix this.

Client Side Configuration

sudo nano /etc/ssh/ssh_config

Replace this line:

# GSSAPIKeyExchange no


GSSAPIKeyExchange no

Server Side Configuration

nano /etc/ssh/sshd_config

Replace this line:

# UseDNS no


UseDNS no



0 yorum

Bir cevap yazın

Avatar placeholder

E-posta hesabınız yayımlanmayacak. Gerekli alanlar * ile işaretlenmişlerdir

This site uses Akismet to reduce spam. Learn how your comment data is processed.