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
to:
GSSAPIKeyExchange no
Server Side Configuration
nano /etc/ssh/sshd_config
Replace this line:
# UseDNS no
to:
UseDNS no
0 yorum