Help please getting past this?

root@a cheap vps:~# gpg --export A3C4F0F979CAA22CDBA8F512EE8CBC9E886DDD89 | sudo apt-key add -
-bash: sudo: command not found
gpg: [stdout]: write error: Broken pipe
gpg: build_packet(2) failed: file write error
gpg: WARNING: nothing exported
gpg: key export failed: file write error

Robert