SSH Slow Connection on Ubuntu Server 14.04

Tinggal nunggu masukin login pass aja kok luamaaa buanget. biasanya kalo diketik :

ssh username@ip.addr.ess -vvv

atau

ssh username@ip.addr.ess -v

muncul kurang lebih spt dibawah ini :

username@my-pc:~$ ssh username@ip.addr.ess -v
OpenSSH_6.6.1, OpenSSL 1.0.1f 6 Jan 2014
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: Connecting to ip.addr.ess [ip.addr.ess] port 22.
debug1: Connection established.


debug1: ssh_ecdsa_verify: signature correct
debug1: SSH2_MSG_NEWKEYS sent
debug1: expecting SSH2_MSG_NEWKEYS
debug1: SSH2_MSG_NEWKEYS received
debug1: Roaming not allowed by server
debug1: SSH2_MSG_SERVICE_REQUEST sent
debug1: SSH2_MSG_SERVICE_ACCEPT received
————–macet disini sekitar 30 detik-an—————

Solusi 1 :

  1. Konek ke pc server, bisa remot, bisa langsung ke pc nya, ketik :

    sudo vi /etc/ssh/sshd_config

  2. ada “D”-nya di sshd_config. bukan cuma ssh_config
  3. tambahkan ini :

    UseDNS no

  4. save
  5. restart ssh service

    sudo service ssh restart

  6. try to connect remotely

Solusi 2 :

  1. tinggal tidur

 

bacaan tambahan :

basic vi commands : http://www.cs.colostate.edu/helpdocs/vi.html

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s