Reputation
Top tag
Next privilege 200 Rep.
See reduced ads
Badges
9
Newest
 Promoter
Impact
~3k people reached

  • 0 posts edited
  • 1 helpful flag
  • 5 votes cast
Jun
7
accepted How to set up a secure Git repository?
Jun
7
revised How to set up a secure Git repository?
added 220 characters in body
Jun
4
comment How to set up a secure Git repository?
@BelminFernandez Nope, so apparently I can ssh to my git user (ssh -A git@host) without needing my private key. I already have my public key set on authorized_keys and restarted ssh service multiple times. I have also disabled password authentication if it matters. I'm wondering if it's AWS specific?
Jun
3
comment How to set up a secure Git repository?
Ok, just checked and git-daemon wasn't running after all and there's nothing listening on 9814. I also checked /var/log/auth.log and was able to see the git user login via sshd (New session 68 of user git). Could you elaborate on "perhaps the new git user you've added does not have a password set or the SSH configuration is using Kerberos and you have an existing valid service ticket"?
Jun
3
comment How to set up a secure Git repository?
@EEAA I've tried blocking the port via the SG. Apparently, it's using ssh already but weird that it doesn't require my private key.
Jun
2
comment How to set up a secure Git repository?
Yes, based on the above link, I've gone with the ssh server. My problem is that it is still available via port 9814 and not enforced using authorized_keys.
Jun
2
awarded  Promoter
Jun
2
revised How to set up a secure Git repository?
added 108 characters in body
May
27
awarded  Commentator
May
27
comment How to set up a secure Git repository?
I've already removed the key from my ssh agent and have tried removing the public key on authorized_keys, and confirmed I can still clone from the repo. I clone it using git clone git@host.com I am not sure if it is called git protocol, but I was talking about this: kernel.org/pub/software/scm/git/docs/git-daemon.html which is a daemon running on TCP 9418
May
26
asked How to set up a secure Git repository?
Apr
25
comment Do I need to set rules for source and destination ports for outgoing rules on iptables?
d'oh I confused it with git://
Apr
25
comment Do I need to set rules for source and destination ports for outgoing rules on iptables?
excellent, that was it. I'm not sure why it's using ssh though even though I see git@ when running git remote -v.
Apr
25
accepted Do I need to set rules for source and destination ports for outgoing rules on iptables?
Apr
24
comment Do I need to set rules for source and destination ports for outgoing rules on iptables?
I ssh to my server (where I have the iptables rules) and run git from there (using git not https)
Apr
24
asked Do I need to set rules for source and destination ports for outgoing rules on iptables?
Mar
28
answered How can I check /dev/xvda1 if the command 'touch /forcefsck' doesn't work?
Jul
30
awarded  Editor
Jul
17
awarded  Popular Question
Aug
20
awarded  Scholar