Hi Josh
Lonnie is the expert but lets see how I go.
1) By default backups are created in /tmp. In your web gui preferences
there is an option called ‘Backup temporary file uses /mnt/kd/ instead of
/tmp/’ which may help you. Also check that the ‘Backup tar archives compressed
with gzip’ is selected if you want them compressed.
2) ssh_keys and ssh_root_keys are for root only. All the keys stored in
ssh_keys are concatenated into /root/.ssh/authorized_keys at boot time. Keys
for other users are in /mnt/kd/home/<user>/.ssh. Yes adduser is the correct way
Regards
Michael Knill
From: Josh <jma...@hotmail.com>
Reply-To: AstLinux List <astlinux-users@lists.sourceforge.net>
Date: Sunday, 7 May 2017 at 7:36 am
To: AstLinux List <astlinux-users@lists.sourceforge.net>
Subject: [Astlinux-users] Problem Creating Full Backup & SSH Key Problem
I have two problems I'd like to ask for some help with. Hopefully these are
both somewhat straightforward and I don't end up regretting trying to
accomplish this in one email rather than two:
First, I'm having problems with backups. When I try to create a full system
backup of "All /mnt/kd files", a few minutes pass after I click Download
Backup. Once a file download window is presented to me by my browser, when I
try to initiate the download, the transfer immediately fails. This happened to
me while I was on an Asterisk 11 build as well as when I recently switched to a
version 13 build. I see this message in /var/log/messages:
daemon.err lighttpd[1155]: (chunk.c.581) write() temp-file
/var/tmp/lighttpd-upload-n2yPde failed:
Just the basic config files save fine. It seems like the backup is being built
in /mnt/kd. Space isn't an issue there, but perhaps /tmp is filling up? I
don't know how to see the backup file size so I can't be sure.
Filesystem 1K-blocks Used Available Use% Mounted on
rootfs 516040 17052 472776 3% /
/dev/root 5846 5058 491 91% /oldroot
devtmpfs 512 0 512 0% /dev
/dev/sda2 516040 17052 472776 3% /oldroot/mnt/asturw
none 109932 109932 0 100% /oldroot/mnt/asturo
none 516040 17052 472776 3% /
none 10000 132 9868 1% /tmp
none 10000 328 9672 3% /var
/dev/sdb2 38774256 34321676 2482916 93% /mnt/usbhd
/dev/sda3 207720 35518 161477 18% /mnt/kd
/dev/sda1 261772 102384 159388 39% /oldroot/cdrom
If anybody can please suggest a way to fix this, please let me know!
Second, on a different system, I'm trying to implement SSH public/private keys.
The root key placed in /mnt/kd/ssh_root_keys works just fine. However, I'm
having trouble getting keys to work with other user accounts. When I try
putting files in the /mnt/kd/ssh_keys folder (as mentioned in an older list
message), the key is refused when I try to login. I restarted the machine
after I placed the keys. I also tried putting the keys in /mnt/kd/ssh since I
see other keys there, no dice.
I'm wondering if this is happening because of the way I created my user
accounts. I used adduser; is that the appropriate way to create a new user
with Astlinux?
Thanks,
Josh
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Astlinux-users mailing list
Astlinux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/astlinux-users
Donations to support AstLinux are graciously accepted via PayPal to
pay...@krisk.org.