When i do:
scp /path/to/local/file username@hostname:/path/to/remote/file
the response is:
ssh: connect to host 1.1.1.1 port 22: Connection refused
I need to copy files from one VPS to another one. I have root access on both VPS.
How can I fix this?