from ssh type :

mysql -u db_user -p db_name < dumpfile.sql

than it will ask for db password

importing depends on your db size

...

you are done