Difficulty copying files from server/ ssh problem
I'm trying to copy files from server using the command scd.
So I ssh to server x, then used
scd <filename> <user@hostname:/home> and I get the error:
ssh: connect to host <user@hostname> port 22: Connection refused.
where hostname is actually my machine.
Then I tried ssh localhost from my machine, didn't work, still connection refused on port 22 or any port.
I read it might be a firewall problem but I'm not sure what that is.
Any help, please?