search for: jdmz

Displaying 10 results from an estimated 10 matches for "jdmz".

Did you mean: dmz
2008 Jul 29
1
securing rsync over ssh
I want to secure some remote rsyncs over ssh by using the command= option in .authorized_keys. As I understand I can use only the full command there, as it is not a list of "allowed commands" but the command that will be executed when logging in with this key. Now, I'm running several rsync commands on individual directories in the root, not just one command. I do that to pull
2007 Nov 28
1
rsync when user's home dir is not in /home
Hello! I am having following issue: when the home directory of a new user is not in /home, but in any other directory in the root, say /copies/user, then I can not avoit the password prompt. I already generated the keys, uploaded to /copies/user/.ssh/authorized_keys, checked permnissions, etc. (I did id many times before). But ther's no way to avoid typing the password. Any clues? Thanks a lot
2008 Jan 01
1
error code 10 when using ::
Hi All, This works : sudo rsync -rtlzv --delete root@123.456.789.000:/var/virtual/web /usr/local/websites This does not : sudo rsync -rtlzv --delete root@123.456.789.000::websites /usr/local/websites I created a [websites] section in a new /etc/rsyncd.conf file then restarted xinetd. 3 questions if I can. 1. Why does the second one not work -- I get connecion timed out and error in socket
2004 Jan 09
0
Upgrading Samba: minimum requirements for Samba wrtSolaris and gcc
...est.c >>configure: error: C compiler cannot create executables >Something fundamental is broken. Look in "config.log" - the messages >there may help you figure out what's going wrong. I looked there and cannot find what is wrong. :-( The file is located here: http://troy.jdmz.net/config.log >My first guess would be that something is wrong with gcc: perhaps gcc >really CAN'T create executables on this system: try doing a simple >compile of a "hello world" C program. I can compile simple and complex programs, and Samba 2.2.8a (though that has...
2007 Sep 29
1
samba with iptables
...using the iptables script provided by iptablesrocks.org. It's been quite useful, but I ran into a problem when I tried to connect samba. Without any iptables rules, I have no problem when connecting host os(ubuntu samba server) from guest os Windows XP. I referenced this article, http://troy.jdmz.net/samba/fw/, so I put the following sources in the middle of the source. -A INPUT -p udp -m udp --dport 137 -j ACCEPT -A INPUT -p udp -m udp --dport 138 -j ACCEPT -A INPUT -p tcp -m tcp --dport 139 -j ACCEPT -A INPUT -p tcp -m tcp --dport 445 -j ACCEPT Finally, it doesn't work. I feel...
2004 Sep 16
1
how to rsync over ssh, but login is not permit
Hi, I want to backup my system via rsync over ssh, but login is *not* permited! According to the sshd_config man page, I need to set PermitRootLogin to forced-commands-only. In order to run follow command, how to set command option in authorized_keys? # rsync -avz server:/etc /backup Best Regards! Jacky Kim . >On Thu, Sep 09, 2004 at 06:03:49PM +0800, Jacky Kim wrote: >> If
2006 Oct 12
6
backup system files (and permissions) over ssh
how do you backup system files like /etc/ over ssh to another machine and keep permissions the same on the remote backup location ? i tried using -a flag, but because i'm connecting through ssh i'm not using Rsync module on the remote computer and therefore i cant write files as root so -a flag is not working. all the files are being written with owner SSH_USER and group SSH_USER_GROUP i
2006 Sep 04
1
Rsync + SSH on a different port + restricted access
Hello, I'm trying to setup Rsync over SSH with openSSH running port 2222 with a remote RSA public key authentification and a restricted shell to avoid the user to browse my server via SSH, only be able to run rsync server. 1) i've built a regular rsync server over TCP/873 Worked fine, check my conf : motd file = /etc/rsyncd.motd log file = /var/log/rsyncd.log pid
2010 Dec 11
4
"ultimate" backup choice
i have: "SERVER A" "SERVER B" with "full root permisson" [ssh, etc] each server has a folder. i want to backup a folder in "SERVER A". are there any backup methods, that meets these two requirements? : 1) running from e.g.: a cronjob 2) when running, it just checks the folder in "SERVER A" and "SERVER B". if a file/folder has been
2009 Jun 16
7
Rsync, SSH and authorized_keys problem
Hi, I'm trying to backup from one machine to the other (automatically via cron) using rsync and ssh password-less public key authentication. I having been trying to set this up following an article in a Linux magazine[1] by only allowing the specific rsync command to run on the remote box. I am using the following rsync command: $ rsync -avz -e "ssh -i ~/.ssh/backup-key" /backup