<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Control WebPanel Wiki &#187; backup</title>
	<atom:link href="https://wiki.centos-webpanel.com/tag/backup/feed" rel="self" type="application/rss+xml" />
	<link>https://wiki.centos-webpanel.com</link>
	<description>CentOS WebPanel Wiki</description>
	<lastBuildDate>Wed, 12 Feb 2025 20:38:16 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=4.1.1</generator>
	<item>
		<title>ssh remote key authentication</title>
		<link>https://wiki.centos-webpanel.com/ssh-remote-key-authentication</link>
		<comments>https://wiki.centos-webpanel.com/ssh-remote-key-authentication#comments</comments>
		<pubDate>Wed, 04 Mar 2015 05:26:49 +0000</pubDate>
		<dc:creator><![CDATA[publisher]]></dc:creator>
				<category><![CDATA[Backups]]></category>
		<category><![CDATA[backup]]></category>
		<category><![CDATA[remote backup]]></category>

		<guid isPermaLink="false">http://wiki.centos-webpanel.com/?p=139</guid>
		<description><![CDATA[Instructions for adding ssh pub key on the remote backup server. Replace the USERNAME with the existing username on the remote server, it's not recommended to use the root user. This instructions are only for the backups on the remote server. To Enable remote backup in your CWP.admin go to CWP Settings --> Backup Configuration [&#8230;]]]></description>
				<content:encoded><![CDATA[<p><strong>Instructions for adding ssh pub key on the remote backup server.</strong><br />
Replace the USERNAME with the existing username on the remote server, it's not recommended to use the root user.</p>
<p>This instructions are only for the backups on the remote server.<br />
To Enable remote backup in your CWP.admin go to CWP Settings --> Backup Configuration</p>
<p>You will need to enter the login details into the fields of "Remote Backup Settings"<br />
Don't forget to generate the new remote access Key.</p>
<p>On the remote backup server you need to add the pub key<br />
<code>cd ~USERNAME<br />
mkdir .ssh<br />
chmod 700 .ssh<br />
nano .ssh/authorized_keys</code><br />
Now add all content from the file <strong>/root/.ssh/backup/id_rsa.pub</strong> to <strong>.ssh/authorized_keys</strong><br />
<code>chmod 600 .ssh/authorized_keys<br />
chown -R USERNAME:USERNAME .ssh<br />
chown USERNAME:USERNAME .ssh/authorized_keys </code></p>
<p>You can use test connection button in CWP.admin to check connectivity with the remote backup server.</p>
<p>To connect and check content on the backup server you can use ssh key access:</p>
<pre>ssh USERNAME@SERVER-IP -i /root/.ssh/backup/id_rsa -p 22</pre>
]]></content:encoded>
			<wfw:commentRss>https://wiki.centos-webpanel.com/ssh-remote-key-authentication/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
