speedtest.net is a popular web site for testing braodband speed.
To install speedtest cli on Ubuntu, run
apt install -y speedtest-cli
This will be very helpful for testing speed of servers and remote systems using SSH.
To test speed, run
speedtest
Example
To get list of available speedtest servers, run
speedtest --list
To test with a specific server, run
speedtest --server SERVER_ID