RSync W/ Windows- With SSH Keys & BQBackup

Jul 22, 2008

TLDR version:

when populating and attempting to write keys to authorized_keys I'm receiving the following error:

Quote:

Could not create directory '/home/Administrator/.ssh'

Long version:

I've been grinding my wheels with this for a long time now. Basically I'm attempting to get rsync set up to backup some data directories on my Windows 2k3 Server through a batch file with task scheduler to bqbackup. I've been back and forth with both Scott and Rsync.net's tech support about this issue - both of which have been great... but essentially keep hitting the same impasse with Scott appearing to have hung his hat stating he's not familiar enough with windows and rysnc.net telling me to wait for their GUI client that should be launching "soon." In the meantime I'm just running the backup manually until I can get this key issue figured out.

Here's what's going on:
I've been mainly using BQ's Guide and Rsync's Guide to try and accomplish this.

After executing ssh-keygen -t rsa -N ''

I receive the following message:

Quote:

Generating public/private rsa key pair.

Enter file in which to save the key (/home/Administrator/.ssh/id_rsa):

If I accept the default value it gives me I receive this error:

Quote:

Could not create directory '/home/Administrator/.ssh'.

Open /home/Administrator/.ssh/id_rsa failed: Not a directory.

Saving the key failed: /home/Administrator/.ssh/id_rsa.

Now my thoughts were this was occurring because my %homepath% is actually:

Quote:

c:documents and settingsadministrator.DOMAIN

(DOMAIN replacing actual text)

I'm able to change the default path location and create the RSA file elsewhere using the cygdrive format... so when prompted for the path to save I instead input:

Quote:

/cydrive/c/docume~1/administrator.DOMAIN/

and am able to create the RSA file... so mission accomplished... so far, I believe I'm past this, the snafu is now occurring on writing these keys to the authorized_keys file on BQBackup...

Quote:

C:Program FilescwRsyncin>rsync -av "/cydrive/c/documents and
settings/administrator.DOMAIN/.ssh/id_rsa.pub"
<login>@<host>:.ssh/authorized_keys
Could not create directory '/home/Administrator/.ssh'.
The authenticity of host '<host> (<ip>)' can't be established.
RSA key fingerprint is 18:02:d9:95:06:a9:70:74:86:b7:76:41:f6:71:a0:a4.

(<login>@<host> replacing actual login & host... it's definitely connecting)

That pesky '/home/Administrator/.ssh' pops up again. I'm not sure if that's what's causing the issue or not. I'm not even sure why the %homepath% for my administrator account on the server is set to administrator.DOMAIN, but AFAIK I can't log in to a local account on a Win2k3S box, correct?

Now, you'll notice that the command I issued to upload the keys I got from the RSync.net instructions. BQ's instructions for step 3 are pretty foreign to me.

I've gone further than this and attempted other things such as SSH'ing into my BQ server using putty and attempting to write the keys that way with no luck. I can't fully remember the errors I encountered doing so, though.

View 12 Replies


ADVERTISEMENT

What Is The Best Way To Get Backup From Linux Server To Windows Same As Rsync

Nov 5, 2008

What is the best way to get backup from linux server to windows same as rsync

i need to take offside backup from my linux server to windows server,before i used rsync to take backup,now i need to make backup in windows server with help of any software which work same as rsync or any software which must have good feature.

View 2 Replies View Related

Rsync Some Files From Windows To A Linux Server

Mar 28, 2007

At work, we have a windows 2003 server.

We have a set of files that get modified from day to day.

Since they know I own a dedicated server (Linux) they ask me if it would be possible to have an offsite backup on my server of the set of files on the windows 2003 server.

Also, I dont want to have the whole files set to be uploaded everyday.

I am aware of rsync on *nix system, but do you have any suggestions on how to proceed with a windows 2003 server to a unix server?

View 3 Replies View Related

RSYNC / Windows 2003 & Vista / Open Files

Jun 28, 2007

Does anybody know how I can force RSYNC to backup open files on Windows 2003 Standard and Vista Ultimate?

View 4 Replies View Related

BQBackup ...

Aug 1, 2008

We have used BQBackup for one year, but last month there is problems on backup server, we have send 3 emails to bqinternet, but got answer only for one.

info from shell of BQBackup server:
$ df -h
Filesystem Size Used Avail Capacity Mounted on
/dev/da2s1a 1.9T 1.9T -46K 100% /
$ ls -la
-rwxrwxrwx 1 koriakine koriakine 563 Oct 29 2006 backreceive.php
$ cp backreceive.php b.php

/usr/home3: write failed, filesystem is full
cp: b.php: No space left on device

$ date
Tue Jul 29 17:42:38 UTC 2008
$ df -h
Filesystem Size Used Avail Capacity Mounted on
/dev/da2s1a 1.9T 1.9T -2.0K 100% /

$ date
Fri Aug 1 21:40:20 UTC 2008
$ df -h
Filesystem Size Used Avail Capacity Mounted on
/dev/da2s1a 1.9T 1.9T 12K 100% /

backup server ip is: 208.122.4.34 (OS FreeBSD, not Solaris!)

View 14 Replies View Related

BQBackup?

Nov 15, 2008

I signed up and paid for services from BQBackup.

But I have never gotten an email with my welcome details or login details on how to use it. I even emailed the sales and haven't gotten a reply.

How long does it normally take?

View 9 Replies View Related

BQBackup

Jan 15, 2007

Has anyone ever used www.BQBackup.com how do you reinstall the data?

View 3 Replies View Related

Bqbackup Account Down

Apr 11, 2008

My bqbackup account is completely down at this time. I can not access SSH, FTP nothing.

I sent email directly to Scott and to support too. My emails was send 2 hours ago. No reply yet.

I am a new client of bqbackup, so I have not any experience with them. So my doubth is if this kind of problem is normal and if 2 hours without reply of support is normal too?

View 7 Replies View Related

Review On BQBackup

Jun 2, 2008

I have been a relatively silent member here; heck, my last review was about 3 years back. As things turned out, I am still with Pair Hosting. Their service has been exemplary and the downtime zero. I really don't mind paying a premium price for the peace-of-the-mind factor. Several upgrades later, I have been on a dedicated server since about 2 years.

Our website - TeamBHP - has grown consistently and with that, the disc usage shot up exponentially. In fact, after we allowed forum attachments, our hard disk usage shot up to 60GB (and counting). Realising that its no longer possible for me to download a backup every weekend, I searched for offsite backup solutions on webhostingtalk. After some consideration, I got in touch with Mr. Scott Burns who replied promptly, with clarifications to my many queries. In fact, he even went out of the way in helping me set up automated backup scripts on my server (I ain't code friendly). The experience so far has been splendid and the backups work like a charm. BQbackups pricing is pretty reasonable considering the high quality of service that they provide.

Just wanted to say thanks to all of you at webhostingtalk as it is due to your reviews that I found both Pair & BQBackup. Keep the good work up!

View 8 Replies View Related

No Support From Bqbackup

Aug 27, 2008

I have been having alot of problems with BQbackup, amonth and a half ago it was storage problems, but right now the back ups for two servers are sporadic - for some reason it is only backing up random accounts, and not consistently. This is a huge problem - I have contacted support@bqbackup and scott@, over the course of a week and a half, but no response.

The FTP connection to the remote server just appears to hang when attempting to store the backup file. I stopped CSF for testing purposes and the backups are still uploading random data/time(173Mb, 25Mb, 140Mb). The server has the same firewall setup as the other servers.

If anyone knows of a reason this might be happening, or how to get bqbackup to answer emails,

View 14 Replies View Related

Bqbackup Alternatives

Aug 28, 2008

i've been having huge problems with bqbackup, and now i'm looking for alternatives...

View 14 Replies View Related

Contacting BQBackup

Jul 9, 2008

I just made a purchase for BQBackup but did not get any replies yet. Sent an email few hours ago but to no avail.

View 7 Replies View Related

BQBackup - What To Backup

Apr 18, 2008

I've just started using BQBackup and am currently just backing up my /home/ directories.

However I'm wondering if there's any point in updating *everything*? Because isn't mostly everything else server-related stuff that'll get restored in the case of a drive failure (etc)?

Maybe I've worded that badly. Although if there was a drive failure, a VPS host would have to set-up the basics of the server (including Apache, PHP, MySQL etc), right? Hence all that you'd need to do (in a worst case scenario) is backup the /home/ directories?

Plus if you were to move to a new host, you wouldn't want to upload directories like /usr/, /var/ and /etc/ as it might mess up the system?

View 4 Replies View Related

BQBackup Slow

Nov 10, 2008

My account in bqbackup is very slow. Somebody here have the same issue?

View 14 Replies View Related

BQbackup Transference Rate

Jul 28, 2008

I am seeing bqbackup transference rate when I use rsync very slow as:

18.72kB/s

I think this is very slow. What rate you have?

View 8 Replies View Related

BQBackup, Constant Issues For Weeks With No Resolution In Sight

Aug 12, 2008

We first noticed the issue on July 19th, Backups were taking a while to transfer from our own servers, and we were getting tickets from clients asking why this was happening. At the same time, it took about 4-5 minutes to log into the backup console. Issue seemed to correct itself so that backups were possible, and we assumed that scott would be aware of it and would work to resolve it.

Again on the 29th it slowed completely again. We immediately dispatched an email to their support email asking whats up, gave them detailed information such as access to the script and the output so he could monitor it.

The same day a few hours later we got a response that he would run the script and monitor it.

On the 31st, after not getting an update I asked what was going on. He said he ran the script, it seemed to stall for long periods of time and he would know more in the afternoon.

After not getting an update for ~5 days I asked what was going on and I expressed that i was not happy with the lack of communication/updates ont he situation. He updated me later that day saying that we weren't the only ones being affected. Fair enough, he is working on it. Thats all I wanted to hear.


Now ever since that email I received on the 5th (AUG) it has been up and down and all over the place.

After seeing him post on the forums I sent him a PM (10th August), summed up it was basically saying I had an issue, and I need it fixed. I figured since the PM system is usually pretty good at not losing them that he would see it and respond accordingly, that way there was no chance of it being lost from point A to point B as an email.

Well to this day, no response nor resolution.

I really have exhausted all points of communication, and I want to make it clear that I am not bashing them, when it works it's great. But maybe someone else affected can provide more insight..

View 12 Replies View Related

SSH Keys

May 13, 2009

I am trying to create an ssh key pair to allow rsync without passwrods between two debian boxes.

I have Main server which I want to push data to Backup server

I have followed the tutorial at [url]but this does not work when I ssh or rsync eaither from main server to backup server or ther other way it still requires password.

View 2 Replies View Related

Ssh Keys And Whm

Jul 4, 2008

I have a problem w whm/cpanel and my server.

Im starting to use private/pub keys for ssh access, so far i can access the server via ssh w the key (ive disabled pass access in sshd_conf) but when i want to copy accounts from this server (the one w ssh key) trough the whm interface to another who hasnt key it doesnt work... am i missing something?

View 3 Replies View Related

Ssh Keys !

Feb 7, 2007

i have my own centos server . i want to let some of my friends to login to my box using ssh keys , so i set an authorized_keys file to have their pubic_keys.

Now , my question is how can i limit the commands they can execute?

i mean let them just only "rsync" their files from their boxes to mine , without any ability to execute any other commands or even loging to my box!

View 4 Replies View Related

SSH Keys

Dec 24, 2007

I'm having a problem with SSH keys (they don't work out of the box correct with cPanel) I bilieve the error is in my sshd_conf, but if someone could assist me with what settings that should be uncommented that would be helpful.

Anyways, just some history of what I did so far:

Generated a passphraseless key within Server(A1). Took the public key (not the private, left the privat on the server itself) and transferred it to a file authorized_keys on Server(B2).

Chmod that file to 600. Then ran the following command:

ssh -v -i /root/.ssh/authorized_keys -p 1234 root@xxx.i.p.xxx

First I still get asked for a passphrase (which is wierd since it's suppose to be passphraseless), then when I just press enter (to signify that there is no passphrase), I get the following error:

Permission denied (publickey,gssapi-with-mic).

View 3 Replies View Related

SSH Keys... Where Is .ssh

Sep 24, 2007

I am currently running Cent OS 5...where do I find the directory or file to add my public key to?

View 9 Replies View Related

SSH/Putty Keys

Aug 7, 2008

I have setup a private/public key for myself so I can login to SSH with a different password now I need to setup for someone else.

Now do I put there public key in the same file as my public key on the server, or do I make a new file on the server?

View 4 Replies View Related

Manage SSH Keys-how To Use

Jun 24, 2007

How can use this feature in cpanel of my dedicated server Manage SSH Keys.

Any place where there is a small tutorial on this feature?

View 6 Replies View Related

SSH Server Keys

Jan 18, 2007

removing my ssh key from the server. I want to be able to login with just a password. I have to change one of my servers and I cannot do it with the keys enabled.

View 1 Replies View Related

Struggling To Setup SCP Between To VPS's With SSH Keys

May 15, 2008

I had previously had this working. However, I changed the second VPS and now I can't remember how I set it up.

I will call it SourceVPS and BackupVPS.

I am trying to setup SSH keys to allow me to SCP backups from the sourceVPS to the backupVPS.

The SCP command I am trying to run on the SourceVPS is:

Code:
scp -i /root/.ssh/VPS_root_access_key -pr /root/movetest.txt root@server.BackupVPS.com:/backup/
Previously, I had the SSH keys between the SourceVPS and BackupVPS so the above command would move a file from one to the other (instead of movetest.txt, that is normally the name of the backup file being moved).

Can someone walk me through the steps for setting up the SSH keys? I am on Cpanel/WHM and Centos 4.6

View 1 Replies View Related

Tutorial To Use SSH Keys Instead Of Password

Jan 19, 2008

A Short tutorial to use SSH keys instead of plain password to login.


1. Logon to WHM and goto Main >> Security >> Security Center

2. Under "SSH Password Auth Tweak" and disable the Password Authentication.

3. Under "Manage SSH Keys" click on Generate new key.

4. Give a Key name and Generate a good password (remember it). Choose KeyType as DSA since it's more secure than RSA.

5. Once done, you will see a pair of public private keys. Authorize the public key to connect.

6. View/Download the private key to your system. If you're using putty it can also generate in relevant format.

7. Save the key in a secure place in your local system and chmod to 600 so that no one can read it.

8. Next, connect to your server:

Code:
root@localhost ~]# ssh -i /path-to-file/file.key root@server.ip.address
It should ask for the password, if you have used in step 4.

View 10 Replies View Related

Disabling SSH Root Access But Enabling SSH Keys How To Do That

Apr 3, 2009

in order to secure my server against instrusion, i disabled ssh root login and created a user for myself. however in order to access the user i need to enable SSH Password authentication

I dont enable password authentication all the time and i keep it disabled unless i need to do something via ssh.

Now my question will be, is there a way to keep the user i created and keep the root login disabled and password authentication disabled but use ssh keys for the user i created?

I was informed that if i opt to login to ssh via the user i created, the only way to do that is to enable password authentication as it cannot work with ssh keys. is this true?

I really hope someone can help me how to use the user i created together with ssh keys so i dont have to enable password authentication when loggin to ssh

View 7 Replies View Related

How To Set DKIM And Domain Keys On Centos 5.2 With CPanel

Jun 30, 2009

how to set DKIM and Domain Keys on centos 5.2 with cPanel?

1. as my friend is using it for an IPB forum, some of his mails r rejected to especially

2 famous email providers, on research found, they are checking with DKIM or domain keys to verify the mails..

I came to know from some where tht domain keys aren't updated any more, so is it safe to use the last available release and is it bug free?

2. Can we add both DKIM and Domain Keys for the mails been sent on the server?

3. how to add them,

View 5 Replies View Related

SSH Keys & Direct Root Login Disabled

Jul 3, 2008

Currently I have a server that has direct root SSH access disabled (have to login as regular user then su to root), but I am currently working on setting up authentication via SSH keys, but I can't seem to get it working with direct root SSH access disabled? Is this normal, and if so is there anyway to work around it?

Basically I'd like to be able to authenticate both ways; both with SSH keys or by logging in as a regular user and su to root.

View 8 Replies View Related

Plesk 12.x / Linux :: Domain Keys Not Generated And Placed In TXT

Aug 28, 2014

After enabling DomainKeys via 'Server-Wide Mail Settings' and 'Mail Settings for domain.com'.The DomainKeys are not generated and placed in the TXT resource records created in the domains' DNS zones.

Specs: OS: Up-to-date CentOS 7, Control Panel: Plesk 12.0.18 Update #15.

View 2 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved