All Questions
18
questions
0
votes
0
answers
51
views
Tentative of shh->rsync to wrong IP; potential security risk?
I have set up a little RPI backup 'server' (with rpi OS) on my LAN. I use it to create a backup of my main personal machine data using rsync, and I reach it from outside my network through SSH (key-...
1
vote
0
answers
208
views
Sudo needed a second time when rsync files with ssh key
I use a command to transfer files with rsync and a ssh key:
sudo rsync -P -e 'ssh -i <absolute path to keyfile>' <file> user@<server>
I need the first sudo because the file I'm ...
6
votes
2
answers
10k
views
Restricting a ssh key to only allow rsync/file transfer?
I have 2 servers (A & B), and I need to rsync files from A to B as root. Allowing root ssh login is possible (PermitRootLogin without-password), but I'd like to lock it down as much as possible. I'...
0
votes
2
answers
642
views
ssh key fail after rsync
I have somehow killed my ssh key login while tinking with rsync. Here is the rsync command I ran. (I Control-C'd as soon as I saw it working):
rsync -avz -e "ssh -i .ssh/id_rsa.pub -p XXXX" --...
2
votes
1
answer
1k
views
Previously working ssh results in "permission denied" after running rsync of a directory (which did not contain .ssh) to home folder of remote machine
I used the below rsync command to contents of a directory into the home folder of the remove machine:
rsync -az directory/ user@IPADDRESS:~/
The files were moved over with no problem for all 4 ...
0
votes
2
answers
639
views
Synchronization over ssh with restricted access to the server file system
I want to synchronize (both directions) a certain folder between a server (S) and a local machine (L).
On both S and L, I have the same system (Ubuntu) and a user jan, with sudo privileges (i.e. in ...
2
votes
2
answers
4k
views
Restrict SSH key to only execute rsync
I am working on a backup strategy for my servers with rsync. I followed this tutorial and to restrict the use of the SSH key, I make of this validate-rsync.sh script that I can also run without ...
0
votes
1
answer
2k
views
User without home access remote machine ssh
I want a production server to push backup files to a backup machine. Backups are being done via www-data cron script (as they can be edited by website cms), and once it has finished the idea is to ...
1
vote
0
answers
128
views
Ubuntu 14.04 - rsync corrupting SSH configs/keys?
I have two Ubuntu 14.04 servers S1 (user root) and S2 (user dataman). S1 is responsible for handling file uploads and transferring backups to S2. On S1 I am using PubKey authentication to S2 for ...
6
votes
2
answers
4k
views
Rsync + public key authentication security
I have read several articles how to automatically backup files with Rsync and public key authentication. All of them are very similar. I just finished setting up everything and everything works fine ...
1
vote
1
answer
2k
views
How to rsync to a server using ssh keys
I'm running on a Mac, and I want to set up a crontab to rsync from my VPS on a weekly basis to grab some backup archives. I'm using ssh keys (no passwords allowed on the VPS), and normally I can ssh ...
1
vote
1
answer
2k
views
automysqlbackup then rsync
I'm trying to configure an automatic MySQL backup solution under an Ubuntu server.
I have chosen automysqlbackup and rsync for this purpose (does it seem to be a good choice ?)
rsync will be used in ...
0
votes
3
answers
796
views
rsync without password, none of google (server fault) tutorials worked
I need to use rsync for a daily backup operation and in the past (on different servers) I managed to just use a rsa key etc, but now none of google (serverfault) tutorials work at all.
It keeps ...
1
vote
5
answers
1k
views
Setting up SSH Key securely for SCP/rsync to run without password
This is how I am currently doing it:
# ssh-keygen -t dsa -b 1024 -f /root/localhost-rsnapshot-key
Enter passphrase (empty for no passphrase): [press enter here]
Enter same passphrase again: [press ...
1
vote
1
answer
3k
views
ssh remote command using password-less sudo fails
Logged on as bryan@localserver, I'm trying to perform a backup using rsync on a remote host bryan@remoteserver.
I need the rsync connection to elevate privileges on the remote host using --rsync-path='...
1
vote
1
answer
114
views
ssh from username1@client to host using username2@destination
Forgive the possibly simple question, but I cannot seem to find a good solution.
A backup job needs to rsync files to a destination host, over ssh. The only login available to me is username2@...
1
vote
1
answer
1k
views
Rsync without password and different port to rssh shell
i was trying to Rsync without password to rssh shell using
ssh-keygen
and
ssh-copy-id -i /root/.ssh/id_rsa.pub '-p 12345 user@example'
but i couldn't got the following message
This account is ...
1
vote
2
answers
562
views
xampp/php - rsync ssh public passwordless [closed]
How can I rsync from php on my development (win/xampp) machine to my testing (Ubuntu) LAMP server using ssh public passwordless key?
Thanks