ArchiveTeam / IA.BAK

We back up a lot of stuff from around the web; now it's time to back up the Internet Archive, just in case.
GNU General Public License v3.0
87 stars 22 forks source link

iabak does not set correct permissions on id_rsa #35

Closed DDR0 closed 9 years ago

DDR0 commented 9 years ago

When running the install script, I get a bunch of "WARNING: UNPROTECTED PRIVATE KEY FILE!" errors. I changed the permissions, but nothing happened after that. (No network activity, at least.) When I re-ran iabak, it reset the permissions.

./iabak Already up-to-date. Welcome to iabak version 0.1 ALPHA TEST, use with caution

Already up-to-date. Looks like this is a new IA backup. I'm going to put it in /media/david/2.7TB EHD/IA.BAK/shard3 This will use some disk space. :) Press Enter to confirm, or ctrl-C to cancel. Installing a recent version of git-annex ... --2015-06-04 17:54:31-- https://downloads.kitenet.net/git-annex/autobuild/amd64/git-annex-standalone-amd64.tar.gz Resolving downloads.kitenet.net (downloads.kitenet.net)... 66.228.36.95, 2600:3c03::f03c:91ff:fe73:b0d2 Connecting to downloads.kitenet.net (downloads.kitenet.net)|66.228.36.95|:443... connected. HTTP request sent, awaiting response... 200 OK Length: 44976202 (43M) [application/x-gzip] Saving to: ‘git-annex-standalone-amd64.tar.gz’

git-annex-standalone-amd 100%[====================================>] 42.89M 190KB/s in 2m 39s

2015-06-04 17:57:10 (277 KB/s) - ‘git-annex-standalone-amd64.tar.gz’ saved [44976202/44976202]

Installed in /media/david/2.7TB EHD/IA.BAK/git-annex.linux

git-annex version: 5.20150603-gac91641 build flags: Assistant Webapp Webapp-secure Pairing Testsuite S3 WebDAV Inotify DBus DesktopNotify XMPP DNS Feeds Quvi TDFA key/value backends: SHA256E SHA1E SHA512E SHA224E SHA384E SKEIN256E SKEIN512E MD5E SHA256 SHA1 SHA512 SHA224 SHA384 SKEIN256 SKEIN512 MD5 WORM URL remote types: git gcrypt S3 bup directory rsync web bittorrent webdav tahoe glacier ddar hook external local repository version: unknown supported repository version: 5 upgrade supported from repository versions: 0 1 2 4 Now we need to set up a service to regularly double-check the content of your backup. This protects the backup against bit-rot. You've already got the iabak-cronjob service installed; I didn't need to do anything. Thanks!

To register to participate in the IA.BAK project, please enter a contact email address.

We will keep this email private, and only use it to contact you if there is a problem with your portion of the Internet Archive backup.

It's important we have a way to get in touch with you, so that this backup can be as reliable as possible!

email address> robertsdavidddr@gmail.com re-enter email address to verify> robertsdavidddr@gmail.com Thanks!

Your email address should be updated now. Initialized empty Git repository in /media/david/2.7TB EHD/IA.BAK/shard3/.git/ init ok (recording state in git...) Checking ssh to server at SHARD3@iabak.archiveteam.org:shard3... Permission denied (publickey). Seem you're not set up yet for access to SHARD3@iabak.archiveteam.org:shard3 yet. Let's fix that.. --2015-06-04 17:57:35-- http://iabak.archiveteam.org/cgi-bin/register.cgi?shard=SHARD3;uuid=19c56184-03e5-4e9e-91a1-db3d5dd8272d;email=robertsdavidddr%40gmail.com;pubkey=ssh-rsa%20AAAAB3NzaC1yc2EAAAADAQABAAABAQC_3Fxtu4hfMNMWr9fVyYcD5M9kiBIGVJ6ReXpTlEQI4IXEO6EWzSSeQAPUrHo3zHnWPjkNOtiJxxldHPnId6wu5lmxDX77NTpLdqkVNKQIbenpsIPg0Elugj5iGjW5BdloZ00TtN59IdoPyhc2gqoXGWHmU2J_sCyPQBmkOqvxKjYuWCqo3UJ_xkPZIIrGGF4aVliP_BP3AO5O5iVGV3LN22asPLQEvYPdR84j6tG3cUnsQL2dOBY4_Tc8sg8P72MOIABkG3Ul4U9cCeDsz2dNAQFnC72jiZ0RFuPO_jhAoCs1jgCSToxukPDe9sdXVaiX8G8Mn4nSyE9Zh82zKc7p%20david%40office-tower-linux Resolving iabak.archiveteam.org (iabak.archiveteam.org)... 124.6.40.227 Connecting to iabak.archiveteam.org (iabak.archiveteam.org)|124.6.40.227|:80... connected. HTTP request sent, awaiting response... 200 OK Length: unspecified [text/plain] Saving to: ‘STDOUT’

2015-06-04 17:57:46 (24.4 B/s) - written to stdout [139]

Checking ssh to server at SHARD3@iabak.archiveteam.org:shard3... @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @ WARNING: UNPROTECTED PRIVATE KEY FILE! @ @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ Permissions 0777 for 'id_rsa' are too open. It is recommended that your private key files are NOT accessible by others. This private key will be ignored. key_load_private_type: bad permissions Permission denied (publickey). Seem you're not set up yet for access to SHARD3@iabak.archiveteam.org:shard3 yet. Let's fix that.. --2015-06-04 17:57:59-- http://iabak.archiveteam.org/cgi-bin/register.cgi?shard=SHARD3;uuid=19c56184-03e5-4e9e-91a1-db3d5dd8272d;email=robertsdavidddr%40gmail.com;pubkey=ssh-rsa%20AAAAB3NzaC1yc2EAAAADAQABAAABAQC_3Fxtu4hfMNMWr9fVyYcD5M9kiBIGVJ6ReXpTlEQI4IXEO6EWzSSeQAPUrHo3zHnWPjkNOtiJxxldHPnId6wu5lmxDX77NTpLdqkVNKQIbenpsIPg0Elugj5iGjW5BdloZ00TtN59IdoPyhc2gqoXGWHmU2J_sCyPQBmkOqvxKjYuWCqo3UJ_xkPZIIrGGF4aVliP_BP3AO5O5iVGV3LN22asPLQEvYPdR84j6tG3cUnsQL2dOBY4_Tc8sg8P72MOIABkG3Ul4U9cCeDsz2dNAQFnC72jiZ0RFuPO_jhAoCs1jgCSToxukPDe9sdXVaiX8G8Mn4nSyE9Zh82zKc7p%20david%40office-tower-linux Resolving iabak.archiveteam.org (iabak.archiveteam.org)... 124.6.40.227 Connecting to iabak.archiveteam.org (iabak.archiveteam.org)|124.6.40.227|:80... connected. HTTP request sent, awaiting response... 200 OK Length: unspecified [text/plain] Saving to: ‘STDOUT’

2015-06-04 17:58:09 (27.1 B/s) - written to stdout [139]

Checking ssh to server at SHARD3@iabak.archiveteam.org:shard3... @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @ WARNING: UNPROTECTED PRIVATE KEY FILE! @ @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ Permissions 0777 for 'id_rsa' are too open. It is recommended that your private key files are NOT accessible by others. This private key will be ignored. key_load_private_type: bad permissions Permission denied (publickey). Seem you're not set up yet for access to SHARD3@iabak.archiveteam.org:shard3 yet. Let's fix that.. --2015-06-04 17:58:23-- http://iabak.archiveteam.org/cgi-bin/register.cgi?shard=SHARD3;uuid=19c56184-03e5-4e9e-91a1-db3d5dd8272d;email=robertsdavidddr%40gmail.com;pubkey=ssh-rsa%20AAAAB3NzaC1yc2EAAAADAQABAAABAQC_3Fxtu4hfMNMWr9fVyYcD5M9kiBIGVJ6ReXpTlEQI4IXEO6EWzSSeQAPUrHo3zHnWPjkNOtiJxxldHPnId6wu5lmxDX77NTpLdqkVNKQIbenpsIPg0Elugj5iGjW5BdloZ00TtN59IdoPyhc2gqoXGWHmU2J_sCyPQBmkOqvxKjYuWCqo3UJ_xkPZIIrGGF4aVliP_BP3AO5O5iVGV3LN22asPLQEvYPdR84j6tG3cUnsQL2dOBY4_Tc8sg8P72MOIABkG3Ul4U9cCeDsz2dNAQFnC72jiZ0RFuPO_jhAoCs1jgCSToxukPDe9sdXVaiX8G8Mn4nSyE9Zh82zKc7p%20david%40office-tower-linux Resolving iabak.archiveteam.org (iabak.archiveteam.org)... 124.6.40.227 Connecting to iabak.archiveteam.org (iabak.archiveteam.org)|124.6.40.227|:80... connected. HTTP request sent, awaiting response... 200 OK Length: unspecified [text/plain] Saving to: ‘STDOUT’

2015-06-04 17:58:32 (29.3 B/s) - written to stdout [139]

Checking ssh to server at SHARD3@iabak.archiveteam.org:shard3... @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @ WARNING: UNPROTECTED PRIVATE KEY FILE! @ @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ Permissions 0777 for 'id_rsa' are too open. It is recommended that your private key files are NOT accessible by others. This private key will be ignored. key_load_private_type: bad permissions Permission denied (publickey). Seem you're not set up yet for access to SHARD3@iabak.archiveteam.org:shard3 yet. Let's fix that.. --2015-06-04 17:58:48-- http://iabak.archiveteam.org/cgi-bin/register.cgi?shard=SHARD3;uuid=19c56184-03e5-4e9e-91a1-db3d5dd8272d;email=robertsdavidddr%40gmail.com;pubkey=ssh-rsa%20AAAAB3NzaC1yc2EAAAADAQABAAABAQC_3Fxtu4hfMNMWr9fVyYcD5M9kiBIGVJ6ReXpTlEQI4IXEO6EWzSSeQAPUrHo3zHnWPjkNOtiJxxldHPnId6wu5lmxDX77NTpLdqkVNKQIbenpsIPg0Elugj5iGjW5BdloZ00TtN59IdoPyhc2gqoXGWHmU2J_sCyPQBmkOqvxKjYuWCqo3UJ_xkPZIIrGGF4aVliP_BP3AO5O5iVGV3LN22asPLQEvYPdR84j6tG3cUnsQL2dOBY4_Tc8sg8P72MOIABkG3Ul4U9cCeDsz2dNAQFnC72jiZ0RFuPO_jhAoCs1jgCSToxukPDe9sdXVaiX8G8Mn4nSyE9Zh82zKc7p%20david%40office-tower-linux Resolving iabak.archiveteam.org (iabak.archiveteam.org)... 124.6.40.227 Connecting to iabak.archiveteam.org (iabak.archiveteam.org)|124.6.40.227|:80... connected. HTTP request sent, awaiting response... 200 OK Length: unspecified [text/plain] Saving to: ‘STDOUT’

2015-06-04 17:58:57 (32.0 B/s) - written to stdout [139]

Checking ssh to server at SHARD3@iabak.archiveteam.org:shard3... @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @ WARNING: UNPROTECTED PRIVATE KEY FILE! @ @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ Permissions 0777 for 'id_rsa' are too open. It is recommended that your private key files are NOT accessible by others. This private key will be ignored. key_load_private_type: bad permissions Permission denied (publickey). Seem you're not set up yet for access to SHARD3@iabak.archiveteam.org:shard3 yet. Let's fix that.. --2015-06-04 17:59:25-- http://iabak.archiveteam.org/cgi-bin/register.cgi?shard=SHARD3;uuid=19c56184-03e5-4e9e-91a1-db3d5dd8272d;email=robertsdavidddr%40gmail.com;pubkey=ssh-rsa%20AAAAB3NzaC1yc2EAAAADAQABAAABAQC_3Fxtu4hfMNMWr9fVyYcD5M9kiBIGVJ6ReXpTlEQI4IXEO6EWzSSeQAPUrHo3zHnWPjkNOtiJxxldHPnId6wu5lmxDX77NTpLdqkVNKQIbenpsIPg0Elugj5iGjW5BdloZ00TtN59IdoPyhc2gqoXGWHmU2J_sCyPQBmkOqvxKjYuWCqo3UJ_xkPZIIrGGF4aVliP_BP3AO5O5iVGV3LN22asPLQEvYPdR84j6tG3cUnsQL2dOBY4_Tc8sg8P72MOIABkG3Ul4U9cCeDsz2dNAQFnC72jiZ0RFuPO_jhAoCs1jgCSToxukPDe9sdXVaiX8G8Mn4nSyE9Zh82zKc7p%20david%40office-tower-linux Resolving iabak.archiveteam.org (iabak.archiveteam.org)... 124.6.40.227 Connecting to iabak.archiveteam.org (iabak.archiveteam.org)|124.6.40.227|:80... connected. HTTP request sent, awaiting response... 200 OK Length: unspecified [text/plain] Saving to: ‘STDOUT’

2015-06-04 17:59:35 (26.1 B/s) - written to stdout [139]

Checking ssh to server at SHARD3@iabak.archiveteam.org:shard3... @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @ WARNING: UNPROTECTED PRIVATE KEY FILE! @ @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ Permissions 0777 for 'id_rsa' are too open. It is recommended that your private key files are NOT accessible by others. This private key will be ignored. key_load_private_type: bad permissions Permission denied (publickey). Seem you're not set up yet for access to SHARD3@iabak.archiveteam.org:shard3 yet. Let's fix that.. --2015-06-04 18:00:16-- http://iabak.archiveteam.org/cgi-bin/register.cgi?shard=SHARD3;uuid=19c56184-03e5-4e9e-91a1-db3d5dd8272d;email=robertsdavidddr%40gmail.com;pubkey=ssh-rsa%20AAAAB3NzaC1yc2EAAAADAQABAAABAQC_3Fxtu4hfMNMWr9fVyYcD5M9kiBIGVJ6ReXpTlEQI4IXEO6EWzSSeQAPUrHo3zHnWPjkNOtiJxxldHPnId6wu5lmxDX77NTpLdqkVNKQIbenpsIPg0Elugj5iGjW5BdloZ00TtN59IdoPyhc2gqoXGWHmU2J_sCyPQBmkOqvxKjYuWCqo3UJ_xkPZIIrGGF4aVliP_BP3AO5O5iVGV3LN22asPLQEvYPdR84j6tG3cUnsQL2dOBY4_Tc8sg8P72MOIABkG3Ul4U9cCeDsz2dNAQFnC72jiZ0RFuPO_jhAoCs1jgCSToxukPDe9sdXVaiX8G8Mn4nSyE9Zh82zKc7p%20david%40office-tower-linux Resolving iabak.archiveteam.org (iabak.archiveteam.org)... 124.6.40.227 Connecting to iabak.archiveteam.org (iabak.archiveteam.org)|124.6.40.227|:80... connected. HTTP request sent, awaiting response... 200 OK Length: unspecified [text/plain] Saving to: ‘STDOUT’

2015-06-04 18:00:25 (28.8 B/s) - written to stdout [139]

Checking ssh to server at SHARD3@iabak.archiveteam.org:shard3... @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @ WARNING: UNPROTECTED PRIVATE KEY FILE! @ @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ Permissions 0777 for 'id_rsa' are too open. It is recommended that your private key files are NOT accessible by others. This private key will be ignored. key_load_private_type: bad permissions Permission denied (publickey). Seem you're not set up yet for access to SHARD3@iabak.archiveteam.org:shard3 yet. Let's fix that.. --2015-06-04 18:01:40-- http://iabak.archiveteam.org/cgi-bin/register.cgi?shard=SHARD3;uuid=19c56184-03e5-4e9e-91a1-db3d5dd8272d;email=robertsdavidddr%40gmail.com;pubkey=ssh-rsa%20AAAAB3NzaC1yc2EAAAADAQABAAABAQC_3Fxtu4hfMNMWr9fVyYcD5M9kiBIGVJ6ReXpTlEQI4IXEO6EWzSSeQAPUrHo3zHnWPjkNOtiJxxldHPnId6wu5lmxDX77NTpLdqkVNKQIbenpsIPg0Elugj5iGjW5BdloZ00TtN59IdoPyhc2gqoXGWHmU2J_sCyPQBmkOqvxKjYuWCqo3UJ_xkPZIIrGGF4aVliP_BP3AO5O5iVGV3LN22asPLQEvYPdR84j6tG3cUnsQL2dOBY4_Tc8sg8P72MOIABkG3Ul4U9cCeDsz2dNAQFnC72jiZ0RFuPO_jhAoCs1jgCSToxukPDe9sdXVaiX8G8Mn4nSyE9Zh82zKc7p%20david%40office-tower-linux Resolving iabak.archiveteam.org (iabak.archiveteam.org)... 124.6.40.227 Connecting to iabak.archiveteam.org (iabak.archiveteam.org)|124.6.40.227|:80... connected. HTTP request sent, awaiting response... 200 OK Length: unspecified [text/plain] Saving to: ‘STDOUT’

2015-06-04 18:01:49 (28.7 B/s) - written to stdout [139]

Checking ssh to server at SHARD3@iabak.archiveteam.org:shard3... @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @ WARNING: UNPROTECTED PRIVATE KEY FILE! @ @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ Permissions 0777 for 'id_rsa' are too open. It is recommended that your private key files are NOT accessible by others. This private key will be ignored. key_load_private_type: bad permissions Permission denied (publickey). Seem you're not set up yet for access to SHARD3@iabak.archiveteam.org:shard3 yet. Let's fix that.. --2015-06-04 18:04:08-- http://iabak.archiveteam.org/cgi-bin/register.cgi?shard=SHARD3;uuid=19c56184-03e5-4e9e-91a1-db3d5dd8272d;email=robertsdavidddr%40gmail.com;pubkey=ssh-rsa%20AAAAB3NzaC1yc2EAAAADAQABAAABAQC_3Fxtu4hfMNMWr9fVyYcD5M9kiBIGVJ6ReXpTlEQI4IXEO6EWzSSeQAPUrHo3zHnWPjkNOtiJxxldHPnId6wu5lmxDX77NTpLdqkVNKQIbenpsIPg0Elugj5iGjW5BdloZ00TtN59IdoPyhc2gqoXGWHmU2J_sCyPQBmkOqvxKjYuWCqo3UJ_xkPZIIrGGF4aVliP_BP3AO5O5iVGV3LN22asPLQEvYPdR84j6tG3cUnsQL2dOBY4_Tc8sg8P72MOIABkG3Ul4U9cCeDsz2dNAQFnC72jiZ0RFuPO_jhAoCs1jgCSToxukPDe9sdXVaiX8G8Mn4nSyE9Zh82zKc7p%20david%40office-tower-linux Resolving iabak.archiveteam.org (iabak.archiveteam.org)... 124.6.40.227 Connecting to iabak.archiveteam.org (iabak.archiveteam.org)|124.6.40.227|:80... connected. HTTP request sent, awaiting response... 200 OK Length: unspecified [text/plain] Saving to: ‘STDOUT’

2015-06-04 18:04:17 (26.3 B/s) - written to stdout [139]