git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: git + ssh + key authentication feature-request

From
Alan Chandler <alan@chandlerfamily.org.uk>
Date
Feb 8, 2006, 23:35 UTC
Message-ID
<200602082335.42449.alan@chandlerfamily.org.uk>
In-Reply-To
<43EA7D57.7040409@iaglans.de>
On Wednesday 08 February 2006 23:23, Nicolas Vilz 'niv' wrote:
Show 5 quoted lines
> in my case it would be only one system-user which has full access to
> several repositories. At this time, the users which use that account,
> have to give a password, which isn't that bad... it would be easier and
> more secure for me, not to give a password, but ask the users for the
> ssh pubkey..

This sounds like you haven't got sshd set up correctly. You can get it to log you in soley based on keys, and whether or not you give a password is then dependent soley on whether your private key has a pass phrase or not and then whether or not you are using some ssh-agent to remember them for you.

I have it setup so that access to ssh controlled accounts is soley via key.

Private keys remaining on fixed computers at home have no passphrase, my laptop has a private key with a passphrase which I enter once on login.

I have several accounts around the place with my public keys enumerated in their .ssh/authorized_keys file, so I have been able to contact git repositories with urls like

git@www.chandlerfamily.org.uk
www-data@www.chandlerfamily.org.uk
 and for my own account
just www.chandlerfamily.org.uk
all without entering a password.

But following the discussion thread Junio pointed to I have converted everything to shared repositories and I now only use my own account to log in.

-- 
Alan Chandler
http://www.chandlerfamily.org.uk
Open Source. It's the difference between trust and antitrust.
Previous: Nicolas Vilz 'niv'
Message 15 of 15 in “git + ssh + key authentication feature-request”
  1. Nicolas Vilz 'niv'Feb 8, 2006
  2. Junio C HamanoFeb 8, 2006
  3. Nicolas Vilz 'niv'Feb 8, 2006
  4. Linus TorvaldsFeb 8, 2006
  5. Nicolas Vilz 'niv'Feb 9, 2006
  6. Junio C HamanoFeb 8, 2006
  7. Mark WoodingFeb 9, 2006
  8. Junio C HamanoFeb 9, 2006
  9. Mark WoodingFeb 9, 2006
  10. Nicolas Vilz 'niv'Feb 9, 2006
  11. Linus TorvaldsFeb 8, 2006
  12. Nicolas Vilz 'niv'Feb 9, 2006
  13. Junio C HamanoFeb 8, 2006
  14. Nicolas Vilz 'niv'Feb 9, 2006
  15. Alan ChandlerFeb 8, 2006

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.