Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

More details about scp command

Discussion in 'General Discussion' started by Servbah, Aug 31, 2011.

  1. Servbah

    Servbah Registered

    Dec 6, 2010
    Likes Received:
    Trophy Points:

    I have a server A and Server B , i would like to transfer the daily backup created recently from server A to server B some where in server B.

    I have used this command

    scp -P 2200 cpmove-[username].tar.gz root@

    I changed ip and port as my default port is not 22 , am getting

    Connection timed out
    lost connection

    Any thing wrong in my command? Hope some one help
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Apr 11, 2011
    Likes Received:
    Trophy Points:
    cPanel Access Level:
    Root Administrator
    Hello :)

    The command you are using is correct if SSH runs on port 2200 on the destination server. There are firewall rules in place, or SSH is running on another port on the destination server based on the error message you are receiving.

    Thank you.
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice