How-to copy file from one server to another using ssh?

Hello,

Is there a way to copy a folder from server1 to server2 using ssh?

So for instance:
copy /public_html/data from server1 to /public_html/data on server2 ??

Is it possible to do so?? or using ftp?
I guess it must be possible but I have no idea how!

thxs ina dvance for your quick answers!

/me in deep sh*t

 

 

 

 

Top