• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • We are looking for U.S.-based freelancer or agency working with SEO or WordPress for a quick 30-min interviews to gather feedback on XOVI, a successful German SEO tool we’re looking to launch in the U.S.
    If you qualify and participate, you’ll receive a $30 Amazon gift card as a thank-you. Please apply here. Thanks for helping shape a better SEO product for agencies!
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.

Resolved Plesk Migrator Authorization SSH key from cPanel

tanasis

Regular Pleskian
Hello,
I did this Authentication by SSH (Linux)

[root@server ~]# ssh-keygen -t rsa
Generating public/private rsa key pair.
Enter file in which to save the key (/root/.ssh/id_rsa): 512key
Enter passphrase (empty for no passphrase):
Enter same passphrase again:
Your identification has been saved in 512key.
Your public key has been saved in 512key.pub.
The key fingerprint is:
SHA256:q18N..................Cw4 [email protected]
The key's randomart image is:
+---[RSA 3072]----+
| |
....................
| .o+==O== |
+----[SHA256]-----+

[root@server ~]# ssh-copy-id [email protected]
/usr/bin/ssh-copy-id: INFO: Source of key(s) to be installed: "/root/.ssh/id_rsa.pub"
The authenticity of host '1xx.2xx.2xx.1x (1xx.2xx.2xx.1x)' can't be established.
ECDSA key fingerprint is SHA256:vR+R...........................................++OYo.

What am I doing wrong ?
 
Does the server to where you want to write the key allow root access through SSH (PermitRootLogin = yes)?
 
If that was the cause, I suggest to limit root login to the target server only, e.g. set the general PermitRootLogin variable to "no", but add two lines to the end of the file:
Code:
Match Address <IP address of the target>
PermitRootLogin yes
This way only the target will be allowed to login by root, but no other ip.
 
Back
Top