Sponsored Content
Top Forums UNIX for Dummies Questions & Answers Recreate/Restore Repository and/or change/delete Public Keys??? Post 302654929 by thazsar on Tuesday 12th of June 2012 12:05:57 PM
Old 06-12-2012
'Recreate/Restore' Repository and/or 'change/delete' Public Keys???

I have a BIG problem...

I host a public (Debian) repository on Cydia (for jailbroken iphones). I use my home Mac running Ubuntu in VMWare Fusion. For the repository, I have to have 5 items in a folder to make it 'live:'

1. deb_files folder (to hold my Debian packages)
2. Packages file
3. Packages.bz2 (or .gz) file
4. Release.gpg file
5. en_US.bz2 (Translation) file
***FYI, I also have MD5 Check Sum enabled***

Whenever I add/edit/delete a Debian package, I HAVE to use my home computer to create the 'Packages & Packages.bz2' file or else a user will get a 'Size Mismatch' error when trying to download a package from the repository.

This was frustrating since I couldn't add packages and update my repository from my laptop, but it was doable...until now.

As of this morning, my VMWare Ubuntu system crashed and had to be restored. Now, if I try to:
  • Add/edit/delete a Debian package ->
  • Create my Packages & Packages.bz2 files ->
  • Then, upload it to the server...
...I'm getting the 'Size Mismatch' error whenever I try to download a package.

Is there a way to either restore or replace my repository? Is it possibly a MD5 Sum problem? Is this a Private/Public Key (gpg) issue? I just don't know what the 'original cause' of this error is and how to diagnose it...

PLEASE HELP!!!!!

Thanx in advance...

BTW, I would love to be able to edit my repository from any computer instead of being commited to just one.

Last edited by thazsar; 06-12-2012 at 01:20 PM..
 

9 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

SSH public and private keys

Firstly, i apologise if i have posted in a wrong section of the forum. Please let me know which is the correct section my post should go to. I have to SCP a file from one server(server A) to another (server B). I read around that a secure way is to use public and private keys. Assuming my... (2 Replies)
Discussion started by: new2ss
2 Replies

2. UNIX for Dummies Questions & Answers

ssh public keys

Hello*! I have problems with public keys. On one side i have Solaris 10, and on other side is HP UNIX. I created public keys on Solaris with "ssh-keygen -t rsa", append id_rsa.pub key to ~user/.ssh/authorized_keys on remote machine, and tried to connect with ssh without password. But for some... (1 Reply)
Discussion started by: ghost01
1 Replies

3. UNIX for Dummies Questions & Answers

ssh public/private Keys

Hello, I have an issue with an outside party trying to deliver a file to our server via SFTP. I have setup the .ssh directory under the home directory for the user account that is being used and setup the authorized_keys file with correct permissons etc for .ssh directory and file. We... (2 Replies)
Discussion started by: richo king
2 Replies

4. Solaris

Public keys for GPG Encryption

HI, I'm trying to encrypt a file and i'll FTP it to a external server.When i encrypt it using the command gpg -e -r 'recipient name' <filename> its asking me for public keys.Is there a way to encrypt without having to give the public keys? or if i need to give public keys i... (1 Reply)
Discussion started by: James777
1 Replies

5. Shell Programming and Scripting

What are public keys in ssh and how do we create the public keys??

Hi All, I am having knowledge on some basics of ssh and wanted to know what are the public keys and how can we create and implement it in connecting server. Please provide the information for the above, it would be helpful for me. Thanks, Ravindra (1 Reply)
Discussion started by: ravi3cha
1 Replies

6. Shell Programming and Scripting

Delete and Recreate around 400 Symbolic Links in one Folder

Hello, I recently just switched my phphandler to suPHP on my server in order to increase security a bit. I am working with 2 scripts, one of which is vbulletin forums and the other is custom. The vbulletin forum avatars are all symbolic links to pictures in the other custom script. When I... (2 Replies)
Discussion started by: ambition13
2 Replies

7. Shell Programming and Scripting

SFTP - Private and Public keys

Hi All, I have a query....say on server A, I have generated the Private and Public keys and shared the public key with server B. Now i can surelyconnect(without password) from server A to server B..... but can i similarly connect from server B to server A as well Regards (1 Reply)
Discussion started by: Arpit Narula
1 Replies

8. Shell Programming and Scripting

sftp using private and public keys

hi guys , i have few files i have to do sftp, the public and private key work like a magic , no problem at all the syntax is as below sftp -0 identityfile=~/ure/blsl/loc2/.ssh/id_rsa_ssh1 ssh1@remote >log_dir/file.timestamp<<end lcd folder cd folder put * quit end ================ my... (3 Replies)
Discussion started by: rockymayavia
3 Replies

9. AIX

PGP importing public keys method

Hi Guys, I am trying to import the public of vendor to my system. I am getting below error while importing public key. can anyone please help me with this?? laranakejt4:/u/raja/.pgp $ pgp --import secure.asc 0x1545A56A52:import key (4007:key failed signature check) secure.asc:import key... (0 Replies)
Discussion started by: Vinoth Kumar G
0 Replies
svnserve.conf(5)						File Formats Manual						  svnserve.conf(5)

NAME
svnserve.conf - Repository configuration file for svnserve SYNOPSIS
repository-path/conf/svnserve.conf DESCRIPTION
svnserve.conf controls the behavior of the svnserve daemon on a per-repository basis. It is located in the conf subdirectory of the repos- itory. The overall structure of the file is the same as the structure of Subversion user configuration files. At the top level are sections, which are specified by words in square brackets; inside each section are variable definitions of the form "variable = value". Lines begin- ning with '#' are ignored. svnserve.conf currently uses only one section named "general", and supports the following variables: anon-access = none|read|write Determines the access level for unauthenticated users. write access allows all repository operations. read access allows all opera- tions except committing and changing revision properties. none access allows no access. The default level is read. auth-access = none|read|write Determines the access level for authenticated users, using the same access levels as above. The default level is write. password-db = filename Sets the location of the password database. filename may be relative to the repository conf directory. There is no default value. The password database has the same overall format as this file. It uses only one section "users"; each variable within the section is a username, and each value is a password. authz-db = filename The authz-db option controls the location of the authorization rules for path-based access control. filename may be relative to the repository conf directory. There is no default value. If you don't specify an authz-db, no path-based access control is done. realm = realm-name Sets the authentication realm of the repository. If two repositories have the same password database, they should have the same realm, and vice versa; this association allows clients to use a single cached password for several repositories. The default realm value is the repository's uuid. EXAMPLE
The following example svnserve.conf allows read access for authenticated users, no access for anonymous users, points to a passwd database in the same directory, and defines a realm name. [general] anon-access = none auth-access = read password-db = passwd realm = My First Repository The file "passwd" would look like: [users] joeuser = joepassword jayrandom = randomjay SEE ALSO
svnserve(8) svnserve.conf(5)
All times are GMT -4. The time now is 07:47 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy