• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Issue Plesk Migration tool ( Migrating between GoogleCloudPlatfrom)

###########################
Port 22
PermitRootLogin yes
PubkeyAuthentication yes
AuthorizedKeysFile .ssh/authorized_keys
UseDNS no
AllowUsers root
###########################


How can i edit this permissions? via ssh? can you give me sample codes?
 
I would use this command on the new server to create your key pairs. Not sure why "protocol 1" is even coming up in the screenshot you posted:

On the new server:

su root

ssh-keygen -b 2048 -t rsa -f /root/.ssh/mynewkey

<hit return and use NO passphrase>

Manually copy the contents of /root/.ssh/id_rsa.pub on the NEW server to the /root/.ssh/authorized_keys file on the OLD server.

If your old server is also a GCE, you may need to enter the "root" usernames and keys here:
Google Cloud Platform

On both machines, make sure the /root/.ssh/ folder has chown root:root permissions and chmod 700

On both machines, make sure the contents of /root/.ssh/* folder has chown root:root permissions and chmod 600

On both machines, do:
service sshd restart

From the command line of the new server, you should be able to log directly in to the old server using this command:
ssh -24kv -l root 35.227.27.42 -p 22

If you can't log in directly like this, Plesk will not be able to either.
 
h4ZhZx


where is my root password? same with plesk?

Screen Shot 2018 04 10 at 02 25 40

i changed passwd . via sudo passwd code..

and this is the new ss .

Screen Shot 2018 04 10 at 02 32 41
 
Last edited:
/root/.ssh/id_rsa.pub .

When i enter this code in ssh window showing this error:

Code:
[root@gcp-plesk-vm-1-vm furkanbaser]# /root/.ssh/id_rsa.pub
bash: /root/.ssh/id_rsa.pub: No such file or directory
[root@gcp-plesk-vm-1-vm furkanbaser]# /root/.ssh/id_rsa.pub

How can i move or copy to metadata place in manually? i dont know what part of a copy?
 
/root/.ssh/id_rsa.pub .

When i enter this code in ssh window showing this error:

Code:
[root@gcp-plesk-vm-1-vm furkanbaser]# /root/.ssh/id_rsa.pub
bash: /root/.ssh/id_rsa.pub: No such file or directory
[root@gcp-plesk-vm-1-vm furkanbaser]# /root/.ssh/id_rsa.pub

How can i move or copy to metadata place in manually? i dont know what part of a copy?

try:
sudo cat /root/.ssh/id_rsa.pub

then cut and paste it from your terminal.
 
How many sites do you need to migrate?
If they are not too much, why just don't archive site by site and restore backups in new machine
 
Back
Top