Server Account Copy
When trying to copy a account from another server I get the error below. This worked until last nite when I upgraded cpanel using easyapache, I went to this path /root/.ssh/known_hosts* and I find keys inside for other servers that I copy from but not a line/key for this server.Do I need to remove all entries in file?
Do I need to add a line/key for this server to the file?
If so do I create a key for this server to put in there?
I tried to make a remote key from whm but not sure this is the right thing to do, because other key entries have ip to start line. When I create remote key from whm it does not include ip.
Need some help here, kind of lost.
The host key for host server.domain.net has changed. This function has been disabled to prevent man-in-the-middle attacks. Please remove the host key for server.domain.net from /root/.ssh/known_hosts* if this key has changed for a legit reason. Attemping to package account...
The host key for host server.domain.net has changed. This function has been disabled to prevent man-in-the-middle attacks. Please remove the host key for server.domain.net from /root/.ssh/known_hosts* if this key has changed for a legit reason. Attemping to package account...
The host key for host server.domain.net has changed. This function has been disabled to prevent man-in-the-middle attacks. Please remove the host key for server.domain.net from /root/.ssh/known_hosts* if this key has changed for a legit reason. Unable to package account error writing "stdout": broken pipe while executing "puts "\n\nsshhostproblem\n"" invoked from within "expect -nobrace *password: { sleep 1; send "$pass\r" } {*REMOTE HOST IDENTIFICATION*} { puts "\n\nsshhostproblem\n" puts..." invoked from within "expect { "*password:" { sleep 1; send "$pass\r" } "*REMOTE HOST IDENTIFICATION*" { puts "\n\nsshhostproblem\n" puts "\..." (file "/scripts/sshcmd" line 10)
The host key for host server.domain.net has changed. This function has been disabled to prevent man-in-the-middle attacks. Please remove the host key for server.domain.net from /root/.ssh/known_hosts* if this key has changed for a legit reason. Attemping to package account...
The host key for host server.domain.net has changed. This function has been disabled to prevent man-in-the-middle attacks. Please remove the host key for server.domain.net from /root/.ssh/known_hosts* if this key has changed for a legit reason. Unable to package account error writing "stdout": broken pipe while executing "puts "\n\nsshhostproblem\n"" invoked from within "expect -nobrace *password: { sleep 1; send "$pass\r" } {*REMOTE HOST IDENTIFICATION*} { puts "\n\nsshhostproblem\n" puts..." invoked from within "expect { "*password:" { sleep 1; send "$pass\r" } "*REMOTE HOST IDENTIFICATION*" { puts "\n\nsshhostproblem\n" puts "\..." (file "/scripts/sshcmd" line 10)