LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Difficulty copying files from server/ ssh problem (https://www.linuxquestions.org/questions/linux-newbie-8/difficulty-copying-files-from-server-ssh-problem-4175436240/)

kasrawy 11-08-2012 06:11 AM

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?

kasrawy 11-08-2012 06:45 AM

Problem solved :)
Problem was sshd demon wasn't up.
Started it using "service sshd start" in case someone has the same problem.


All times are GMT -5. The time now is 12:20 PM.