News for hackers. Stuff that matters.
Re:Ask HN: Developers, how do you keep SSH and web URLs orga... by notwedtm on Friday June 15, 2018 @02:23PM (#17322195)
You can use SSH agent forwarding, however that causes some holes to open up as well, so ymmv.
Re:Ask HN: Developers, how do you keep SSH and web URLs orga... by ta1357 on Friday June 15, 2018 @03:12PM (#17322647)
Don't do that. Do this instead (taken from my ~/.ssh/config):

  # Sample bastion host configuration without ForwardAgent
  # Host bastion
  #       User bastion_user
  #       Hostname 10.11.12.13
  #       IdentityFile ~/.ssh/id_bastion
  #
  # Host server
  #       User server_user
  #       Hostname 192.168.0.1
  #       IdentityFile ~/.ssh/id_server
  #       ProxyCommand ssh -q -W %h:%p bastion