Rsync Password File Syntax
Sep 22, 2007
I am trying to setup rsync connection between servers by using this
Code:
rsync -avWe ssh * user@destination-ip:/path/to-folder --password-file=/root/rsync_pass
but it keeps asking for the password. In the /root/rsync_pass, I just put the password of user in destination server. Why cant rsync read the password file? Is there any specific syntax for it?
View 5 Replies
ADVERTISEMENT
May 17, 2008
I have created a password file in /root/passw.txt
then run command
rsync -ave 'ssh -p 1234' --password-file=/root/passw.txt admin@10.0.0.10:/home/admin/backups/* /backups
But it still asks for the password. How can I fix it?
View 3 Replies
View Related
Jul 29, 2009
I am wanting to setup rsync to always login, so I don't want to use keys. Is it possible to put the password in the rsync command leave.
If so how do I do this?
Or do I have to use: --password-file=/path/to/password/file
View 5 Replies
View Related
May 28, 2007
im trying to password protect a single txt file on my server, but instead its password protecting the whole directory
so for example
i want to password protect the file 123.txt in directory "sample" but instead its password protecting the whole direcoty "sample"
View 10 Replies
View Related
Jan 16, 2015
I would like my entire website to be password protected except for one file called allowThisFileWithoutPassword.php.
How could this be accomplished. Below is my attempt :
Code:
<VirtualHost *:80>
ServerName example.com
ServerAlias *.example.com
# ServerSignature Off
ErrorDocument 404 /error-404.html
DocumentRoot /var/www/html
<Directory "/var/www/html">
[Code] .....
View 2 Replies
View Related
Nov 19, 2007
I've got a file I want to access via cURL that is within a password protected directory.
I've tried sending:
Code:
$headers = array(
"HTTP_AUTH_LOGIN: admin3e",
"HTTP_AUTH_PASSWD: opensesame",
"Content-Type: text/html"
);
curl_setopt($curl, CUROPT_HTTPHEADER, &$headers);
(insecure)
and:
Code:
curl_setopt($curl, CURLOPT_HTTPAUTH, CURLAUTH_BASIC);
curl_setopt($curl, CURLOPT_USERPWD, '[user]:[pass]');
but I can't figure out how to get past the login:
Authorization Required
This server could not verify that you are authorized to access the document requested. Either you supplied the wrong credentials (e.g., bad password), or your browser doesn't understand how to supply the credentials required.
Apache/2.0.52 (CentOS) Server at ****** Port 80
View 3 Replies
View Related
May 1, 2009
the difference between following SPF entries?
Quote:
"v=spf1 a mx ~all"
And
Quote:
"v=spf1 +a +mx +all"
I looked at SPF Record Syntax from Openspf.org but wasn't able to understand the actual difference.
View 4 Replies
View Related
Apr 23, 2015
I am having a problem with blocking bots using .htaccess. I think I tried all possible syntax variants, yet all the bots that I am blocking get HTTP 200 response instead of 403 (I can verify it using access log).
I am using Apache 2.4 running on Ubuntu 14.04.2 with Plesk 12.0.18.
My AllowOverride is set to allow the use of .htaccess files, so .htaccess file gets loaded: when I make an error in .htaccess sysntax I can see the error in the error log and the webpages don't load. Besides, I have some "Deny from [IP address]" directives in the .htaccess and I see that these IPs get HTTP 403 response when access my site.
I spent hours trying different variants of .htaccess syntax (see below) and neither seems to work...
variant 0:
SetEnvIfNoCase User-Agent LivelapBot bad_bot
SetEnvIfNoCase User-Agent TurnitinBot bad_bot
Order allow,deny
Allow from all
Deny from env=bad_bot
[Code] ....
View 7 Replies
View Related
Nov 19, 2013
Everyday after Backup Panel (Tasks from Backup Manager), I receive next error:
<?xml version="1.0" encoding="utf-8"?>
<execution-result status="error">
<object name="domain.ru" type="domain">
<message severity="error" id="416a91ad-e5e7-480b-b6b4-a60157b8eaae" code="InformationalException">
<description>Could not find password for account id '2648'. Return empty password</description>
</message>
</object>
</execution-result>
Resolve -> only reconfigure domain. How can I automatic fix this problem?
View 5 Replies
View Related
Jun 17, 2014
today i changed the password for the admin panel for a customer (username eg. mylogin). 10 minutes later he called me and said that he cannot get into his emailaccount anymore. Checked the password and saw that the emailpassword for his emailaddress (eg. mylogin@mydomain.com) is now the same from the admin panel login. So i changed the emailpassword and checked the admin panel login - it now has the emailpassword. What a mess.. I'm running Plesk Panel 11.5.30 MU47.
View 1 Replies
View Related
Jul 15, 2014
We're trying to migrate a Webspace from a 11.5 to a 12.0.18 Plesk host using the Migration Manager. The Webspace contains 4 domains. The main domain of the webspace gets migrated fine, however, all of the "child" domains fail with the following error:
Execution of /usr/local/psa/admin/plib/api-cli/domain.php --create webspace-domain.ch -webspace-name child-domain.ch -do-not-apply-skeleton -notify false -guid 733c0e02-4b75-4f73-8421-03b23051d65d -creation-date 2013-06-06 -skip-plan -ignore-nonexistent-options failed with return code 1.
Stderr is
Wrong syntax for command's '-webspace-name' parameter. 'webspace-domain.ch' does not match the pattern '/^[[:alnum:]]([[:alnum:]-]{0,61}[[:alnum:]]){0,1}(.[[:alnum:]]([[:alnum:]-]{0,61}[[:alnum:]]){0,1})+$/iu'.
View 3 Replies
View Related
Sep 18, 2014
I've been with my Strato VServer and it installed Plesk on Linux a big problem.
I coming no longer in the Plesk Dashboard and the following code appears:
Syntax error or access violation: 1286 Unknown table engine 'InnoDB'
Here are the contents of my my.cnf
#
# The MySQL database server configuration file.
#
# You can copy this to one of:
# - "/etc/mysql/my.cnf" to set global options,
# - "~/.my.cnf" to set user-specific options.
#
# One can use all long options that the program supports.
[Code] .....
View 8 Replies
View Related
Nov 2, 2014
I am using Parallels Plesk Panel v. 11.0.9 on a V-Server provided by Strato (Germany), the OS is Ubuntu 10.04 LTS. Established and running under Plesk is a MySQL-Database, administered via Plesk by PHPMyAdmin 3.5.8.1. PHPMyAdmin offers the following information:
Datenbank-Server
Server: Localhost via UNIX socket
Software: MySQL
Software-Version: 5.1.41-3ubuntu12.10 - (Ubuntu)
Protokoll-Version: 10
Benutzer: admin@localhost
Server Zeichensatz: UTF-8 Unicode (utf8)
Webserver
sw-cp-server
Datenbank-Client Version: libmysql - mysqlnd 5.0.8-dev - 20102224 - $Id: 731e5b87ba42146a687c29995d2dfd8b4e40b325 $
PHP-Erweiterung: mysql
Click to expand...
View 3 Replies
View Related
Nov 22, 2007
How to change the Password of my FTP?
I know how to change the pwd. of cPanel, but I don't know how to change the pwd. of FTP?
View 10 Replies
View Related
Feb 10, 2015
I'm build Plesk Panel for Linux and Presence Builder, I don't want my user can upload their website to hosting via File Manager. How can I do it...
View 2 Replies
View Related
Jul 23, 2009
While clicking on "Edit DNS" in WHM
I am getting this error
Unable to parse zone: Error while parsing zonedata for xyz.com: syntax error, line 25 ...propagated at /usr/local/cpanel/Cpanel/CPAN/Net/DNS/ZoneFile/Fast.pm line 142.
View 6 Replies
View Related
May 26, 2008
Say I have 2 websites and they all use file.php which is located on mainserver.com/file.php.
I want to use the file like this:
website1.com/file.php
website2.com/file.php
View 2 Replies
View Related
Jun 9, 2009
I made some data backup on one of the backup servers using rsync. How can I restore it to the new server now?
My account is ready on new vps and all I need is pull the data back from backup server to new vps account.
I used this command previously
Quote:
rsync -avz -e ssh /home/user1 backupuser@backup.server.com:user1
View 7 Replies
View Related
Apr 9, 2009
i have two srevers one is Dedicated Server and the secound is for backup .
well , i login to the backup server and creat ftp account .
i wanna make the server save the weekly backup .
the backup path is /backup
the copmany of the backup server said "
To RSync your data to your backup server, type:
"rsync -av --progress -e ssh @"
this will put all the files in your home
directory..."
i dont know how to use this command on the Dedicated Server .
View 3 Replies
View Related
Aug 26, 2008
Is there anything better then rsync to replicate files (twice a day) on servers located in seperate datacenters?
Looking for more of a free to cheap solution though will also be interested in the higher end solutions later on.
View 9 Replies
View Related
Mar 6, 2007
I search over the forum as many members recommend rsync over the backup option builit in cPanel/WHM. May I know why cPanel/WHM's is not recommended?
View 4 Replies
View Related
Oct 4, 2007
Does rsync required to be installed on both servers for it to work? Can rsync work with ftp only on the remote server?
Can you guys list some typical rsync shell command to help me get started...
View 5 Replies
View Related
Dec 7, 2008
I am using BQbackup to auto backup my CPanel VPS and was wondering whether it is best to use CPanel's own backup service which automatically backs-up the vps daily or should I use the rsync script that bqbackup provides?
Which is easier to restore and more reliable?
View 3 Replies
View Related
Apr 12, 2009
Looking for an RSYNC tutorial, something that focuses on backing http data, exporting the databases then transferring offsite to a receiving rsync server once a week.
Something that's understandable and logical would be great, happy to work through over the next week and continue more in depth with it.
View 3 Replies
View Related
Aug 2, 2006
I have been trying to setup rsync on my server and following these instructions
http://www.bqbackup.com/setup.html
The problem is I keep getting errors.
On this step,
ssh-keygen -t rsa -N
I edited it and did ssh-keygen -t rsa --N becauseI got an error saying it need the '--' before the N.
So after getting through that part, I got these questions asked
Enter passphrase (empty for no passphrase):
Enter same passphrase again:
Your identification has been saved in /root/.ssh/id_rsa.
Your public key has been saved in /root/.ssh/id_rsa.pub.
The key fingerprint is:
I left the passphrase empty, and then when it asked where to save to, I just typed in 'rsa'. Then it gave me some fingerprint.
Then I get to the step,
# scp ~/.ssh/id_rsa.pub yourusername@yourusername.bqbackup.com:keys/server1
# ssh yourusername@yourusername.bqbackup.com mergekeys
But I get errors saying
-bash: cat~/.ssh/id_rsa.pub: No such file or directory
I dont get what I'm doing wrong. If somebody doesnt mind, can you please re-write the steps on getting this working, or maybe tell me where I am going wrong if the tutorial is correct?
View 4 Replies
View Related
Feb 13, 2007
Current, 2.6.3 came with my centos 4.4 cpanel server, I tried updating it to latest 2.6.9. However, when I type "rsync" it's pointing to 2.6.3 How can I remove the old version or reinstall over it?
View 8 Replies
View Related