Reputation
Top tag
Next privilege 1,000 Rep.
See vote count; VIP usercard
Badges
5 26
Impact
~63k people reached

  • 0 posts edited
  • 0 helpful flags
  • 44 votes cast
Sep
27
answered Understanding Auth Logs on Ubuntu Server
Sep
27
asked gitlab authentication using HTTP_REMOTE_USER environment variable
Sep
3
comment script bash can't get difference in $PS1 or $- when running interactivelly or via cron
This would work too, but I do want have everything in my script and nothing elsewhere. Thanks for your answer!
Sep
3
comment script bash can't get difference in $PS1 or $- when running interactivelly or via cron
Many thanks! This works
Sep
3
accepted script bash can't get difference in $PS1 or $- when running interactivelly or via cron
Sep
3
asked script bash can't get difference in $PS1 or $- when running interactivelly or via cron
Aug
27
answered rsync in daemon mode: preserve absolute directory structure
Aug
26
comment rsync in daemon mode: preserve absolute directory structure
Thanks for your answer; The fact is I want to restrict the list on client side (If a cracker get access to backup server, he could decide to switch backup files to /etc/shadow for instance) and I would like if possible a unique [backup] module. I think we can manage this with filter or include/exclude rsync.conf options.
Aug
26
asked rsync in daemon mode: preserve absolute directory structure
Aug
19
awarded  Yearling
Jun
21
answered How can I force folders created in a subdirectory to be owned by a user's secondary group?
Jun
21
answered Detecting if a page has been requested more than a specified no. of times by the same IP and blocking the IP
Jun
5
revised iptables redirect ports 80/443 to 8080/8181
deleted 20 characters in body
Jun
5
revised iptables redirect ports 80/443 to 8080/8181
added 2 characters in body
Jun
5
answered iptables redirect ports 80/443 to 8080/8181
May
26
awarded  Informed
May
23
answered Apache SNI namevhosts always route to first VirtualHost entry
May
17
comment rsync as root to /var/www failing with “protocol version mismatch”
I have no idea why they configure their SSH server like this. This is not recommended to let root connect without password, and as a matter of fact, to let root connect at all. For automatic tasks as yours which requires root connection for a particular task, I would recommend PermitRootLogin forced-command-only to only let the command specified by the command tag in the authorized_keys run (and nothing more).
May
17
comment rsync as root to /var/www failing with “protocol version mismatch”
mmmh is there anything before the tag ssh-rsa or ssh-dsa in your first key on /root/.ssh/authorized_keys? It looks like there is an instruction such as 'command="echo 'Please login as the user "ubuntu" rather than the user "root".';echo;sleep 10'" ? I have the feeling that your connection goes well, you use this ssh key and it lets you connect in the server, but this command forces you to execute it and disconnect once executed. This is usually a good way to do to force root connection to perform one and only one action, but does not fit your use case.
May
16
answered rsync as root to /var/www failing with “protocol version mismatch”