I'm trying to import/export a gpg key from a server to a remote machine.
At the terminal I type the following syntax..
scp pubring.gpg pubring.gpg firstname.lastname@example.org:~/
Then I receive the following output..
ssh: connect to host 192.168.10.40 port 22: Connection refused
Any assistance is greatly appreciated, thank you.