News for hackers. Stuff that matters.
Re:Ask HN: Developers, how do you keep SSH and web URLs orga... by rajeshpant on Friday June 15, 2018 @02:13PM (#17322099)
I do 2 things:

1) As others have already written, I use ssh config to organize the urls and have simpler host names.

2) I use 2/3 letter codes as aliases which ssh into the specific host.

For ex- Environment - tool

sw = staging webserver pw = production webserver pj = production jenkins.

This allows me to open a new terminal window and type 2/3 characters to ssh into a box.

There are no comments on this comment yet.