CPanel Help and Knowledgebase
Search:     Advanced search
Browse by category:
Contact Us


We are moving to new location!!!

seat-timetable

Transfer account fails with "Timeout during ssh session"

Add comment
Views: 1613
Votes: 5
Comments: 0
Posted: 03 Jan, 2008
by: Soumplis A.
Updated: 03 Jan, 2008
by: Soumplis A.

When you try to move an account from one CPanel server to another through SSH you may get an error like:

"Packaging the account... ... Timeout during ssh session ... Retrying...."

besides the fact that SSH seems to be working on the remote host. In such cases you should login through SSH on the target server and try to SSH back to the source server and troubleshoot the connection problems. Two of the most common issues are:

  1. Firewall: The remote host does not allow connections from the source server IP through a firewall rule. Disable temporary your firewall by executing the commmand
    /etc/init.d/iptables stop
    and make the required transfer. After the transfer is complete DO NOT forget to enable your firewall again with the command
    /etc/init.d/iptables start
  2. The SSH keys on the source server have changed. Execute the command
    cp /root/.ssh/known_hosts /root/.ssh/known_hosts.old
    rm -f /root/.ssh/known_hosts

    and do the transfer. In case you use SSH public key authentication then you should put back your old file and manually find the line beginning with the hostname of the source server and remove it.
Others in this Category
document Change Cpanel Theme to the new X3 theme
document EasyApache3 and SuPHP
document Bandwidth meter is partially working
document Addon Domain Error: Domain Owned from other user



RSS