Easily you can edit the file:

gedit ~/.config/nautilus/servers

You can edit the file and remove some entries or if you just want to delete all history you can remove this file:

rm ~/.config/nautilus/servers
Advertisements