Reputation
Top tag
Next privilege 125 Rep.
Vote down
Badges
9
Newest
 Promoter
Impact
~2k people reached

  • 0 posts edited
  • 1 helpful flag
  • 5 votes cast
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.
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
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
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)
Aug
20
comment Why do I need to set a hostname?
Excellent, thanks for the detailed answer.
Aug
20
comment Why do I need to set a hostname?
Thanks, I think I'm starting to get it. But regarding the host name and the domain name being arbitrary, do they only mean something within the local network? How do they compare to top level domains like .com?
Aug
9
comment Rails application only showing Nginx default page
But I only have 1 server block.
Aug
9
comment Rails application only showing Nginx default page
Yes, I've restarted nginx multiple times. I'm not sure if the server block is being included for certain though, is there a way I can check?
Aug
9
comment Rails application only showing Nginx default page
I don't quite understand why it goes to /opt/nginx/html/favicon.ico. Is it looking for the index page there? I've already set a root location for the server name in the server block. Am i missing something?