Not sure what software you're using, but need to run tor (either browser or standalone to create the connection), then I think you need to point to its port. Here you use 9051, but I think that's a typo for 9150.
Grab the latest build of Tor project from their download page for linux. I just did it and was 8.5.1.
Make sure you are in the same directory you downloaded the Tor project in to. In my case I downloaded it to ~/Downloads
Add the keyserver
gpg --keyserver pool.sks-keyservers.net --recv-keys 0x4E2C6E8793298290
Add the fingerprint