Page 1 of 2

Repository servers & mirrors

Posted: 10. Jun 2009, 10:04
by thenktor
Thanks to JRD we could create a first repository at his server: http://alcoholix.enialis.net/ 8-)

Re: Repository servers & mirrors

Posted: 12. Jun 2009, 14:11
by JRD
I will make a ssh account to this directory and generate a private key.
I will post it here, so trusted users could use it to upload stuff on it with filezilla/gftp/scp, ...

Easier for now, isn't it ?

Re: Repository servers & mirrors

Posted: 12. Jun 2009, 14:26
by gapan
Yes!

Re: Repository servers & mirrors

Posted: 12. Jun 2009, 15:18
by thenktor
JRD wrote:I will make a ssh account to this directory and generate a private key.
I will post it here, so trusted users could use it to upload stuff on it with filezilla/gftp/scp, ...

Easier for now, isn't it ?
Please don't post it to the forum. Use private messages or e-mail. Maybe users will join here, that are not really trusted yet. ;)

Re: Repository servers & mirrors

Posted: 12. Jun 2009, 16:32
by JRD
Hum...it's the invert in fact I think. Trusted users must provide me their public key and I will add this to .ssh/authorized_keys file.

Is there a way to use a certificate to authenticate instead of a password ? How doing such a thing ?

Re: Repository servers & mirrors

Posted: 12. Jun 2009, 22:24
by Shador
What about this as a starting point:

Code: Select all

PermitRootLogin no
RSAAuthentication yes
PubkeyAuthentication yes
AuthorizedKeysFile	.ssh/authorized_keys
PasswordAuthentication no
PermitEmptyPasswords no
ChallengeResponseAuthentication no
I'm using it myself in my public sshd config.

Re: Repository servers & mirrors

Posted: 13. Jun 2009, 21:42
by JRD
Hum ok, but I just need to remove the password in /etc/passwd when everybody has add his own public key in authorized_keys. And I like to login as root on that machine :)

Re: Repository servers & mirrors

Posted: 14. Jun 2009, 02:26
by Sparky
If you need root access you can always just SSH into the computer and then su. Of course that's an extra step, but if it improves security it might be worth it. I probably still wouldn't do it though, as I'm pretty lazy like that. :)

Re: Repository servers & mirrors

Posted: 15. Jun 2009, 22:12
by Shador
I like to avoid the su step because it breaks X Forwarding. But for outside public SSH access the connection is anyway to slow for X Forwarding.
I think the PermitRoot no thing is more like security by obscurity. Something that blocks of those generic script kiddies. :)

Re: Repository servers & mirrors

Posted: 16. Jun 2009, 04:54
by gapan
Shador wrote:I think the PermitRoot no thing is more like security by obscurity. Something that blocks of those generic script kiddies. :)
By permitting root, you give those kiddies a valid username and the only thing they have to discover is the password. Makes their job a lot easier.