Question : scp not working on my server

Hi All,

I am trying to copy a directory from one of my companies web servers to a new one, but I can't seem to scp the files across. Is there something i need to configure for this?

Everytime i run the command to move the directory the machine just looks like its doing nothing and after a while comes back with a connection timeout.

I have root level access to both machines?

Thnaks in advance for your help
Bob

Answer : scp not working on my server

yes, thats means that server does not allow ssh .

example :
when i will connect one linux server to another linux server i will type

ssh root@linuxserver2

it will connect me to linux server 2
but in your case it does not.

Now you need to find out why

(a)
does this 2nd linux server staying behind any firewall ?? if Yes

then you need to open or forward port 22 to this 2nd server

(b) you need to check if iptables of the server allowing port22 .

type, iptables -L
see what its saying


Random Solutions  
 
programming4us programming4us