The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Cann't copy account from WHM

Discussion in 'General Discussion' started by tinhnho, Jul 26, 2005.

  1. tinhnho

    tinhnho Active Member

    Joined:
    May 20, 2004
    Messages:
    26
    Likes Received:
    0
    Trophy Points:
    1
    Hi everyone

    I was trying to copy account from server A to server B in WHM/Copy an account from another server. But it gives me this error

    How do i fix this proplem ? Thanks
     
  2. linux-image

    linux-image Well-Known Member

    Joined:
    Jun 8, 2004
    Messages:
    1,192
    Likes Received:
    1
    Trophy Points:
    38
    Location:
    India
    cPanel Access Level:
    Root Administrator
    vi /root/.ssh/known_hosts

    at server A

    remove the entry for server B; either ip or hostname from this file

    :wq

    thatz it.
     
  3. tinhnho

    tinhnho Active Member

    Joined:
    May 20, 2004
    Messages:
    26
    Likes Received:
    0
    Trophy Points:
    1

    would you explain alittle bit, what is known_hosts ?

    Example: my host server.mydomain.com
    DNS: ns1.mydomain.com and ns2.mydomain.com

    When i go to ssh
    type : vi /root/.shh/server.mydomain.com ?
     
  4. linux-image

    linux-image Well-Known Member

    Joined:
    Jun 8, 2004
    Messages:
    1,192
    Likes Received:
    1
    Trophy Points:
    38
    Location:
    India
    cPanel Access Level:
    Root Administrator
    ssh to server A as root ie.. host server.mydomain.com

    at shell type:

    vi /root/.ssh/known_hosts

    then delete the entry for server B from it.

    then save.

    This file has an entry for server B as you have logged in via ssh to Server B from Server A. and the key has changed due to some reasons*
     
Loading...

Share This Page