Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - nauman

Pages: 1 2 [3]
31
Backup / Re: Connection Failed
« on: March 10, 2019, 02:19:12 PM »
Thanks a lot for the help.
The article is really very useful and I am able to establish the connection between CWP server and a Dedicated Backup server.

Thank you.

I have setup the remote backup now. I will update this thread as soon as I ll get the backup on Remote Backup server.

Thanks.

32
Backup / Re: Connection Failed
« on: March 08, 2019, 07:50:24 AM »
I have tried to add permission as you have told me. But still I am getting Connection_Failed when I try to Test Connection with the remote server. CWP provides me following info after the failed test connection:

Connection_Failed
Don't forget to add pub key from file /root/.ssh/backup/id_rsa.pub on the remote server to the file "~/.ssh/authorized_keys"
Instructions for adding pub key on the remote backup server.
cd ~USERNAME
mkdir .ssh
chmod 700 .ssh
nano .ssh/authorized_keys
*** Now add all content from the file /root/.ssh/backup/id_rsa.pub to .ssh/authorized_keys chmod 600 .ssh/authorized_keys
chown -R USERNAME:USERNAME .ssh
chown USERNAME:USERNAME .ssh/authorized_keys

To test the connection from the command line use the following command: ssh -i /root/.ssh/backup/id_rsa bkup@XXX.XXX.XXX.XXX -p XXX

Here i feel this line very confusing:
Don't forget to add pub key from file /root/.ssh/backup/id_rsa.pub on the remote server to the file "~/.ssh/authorized_keys"


What I am doing is, I generate the SSH Keys on the remote backup server using ssh-keygen command.
On my CWP server I use same ssh-keygen to generate keys. I also press Generate Key button right under the "Remote Backup Settings" table and I am pasting that key on remote backup server's authorized_keys file.

I have done other configurations too as i mentioned in my first post but nothing is working well for me.


33
Backup / Re: Connection Failed
« on: March 08, 2019, 04:02:57 AM »
Thanks a lot for your reply.
Basically I am setting up remote backup server and for that I think password less connection is required. I have two computers one is CWP computer where all my websites are hosted and second one is the remote dedicated server where I want the daily backups to go for all the users. Now, the issue is that each of these two computers have the private and public keys.

I have generated the keys using ssh-keygen on both computers. But I do not know which pubkey to copy where and on what computer.

Your instructions, I ll check it today and I ll tell you.

Thanks a lot :-)

34
Backup / Connection Failed
« on: March 05, 2019, 03:39:27 PM »
Hello,

Unfortunately, English is not my native language and I am having a very hard time understanding this line:

Don't forget to add pub key from file /root/.ssh/backup/id_rsa.pub on the remote server to the file "~/.ssh/authorized_keys"

Do I have to add the Public Key located on the Remote BACKUP SERVER (Destination) to the file authorized_keys located on same backup server (Destination)?
Do I have to add the Public Key located on the CWP Server (source) to the file athorized_keys located on the remote backup server (Destination)?
Do I have to add the Public Key located on the CWP Server (source) to the file authorized_keys located on the SWP server (source)?
Do I have to add the Public Key located on the Remote Backup Server (Destination) to the file authorized_keys located on the CWP Server (Source)?

I have tried to make a lot of combinations but unfortunately I am unable to get successful.

I 'd appreciate your help.

Thanks

Pages: 1 2 [3]