21

Should’ve posted this after it happened, but it requires a bit of background anyway.

There’s this guy that oversees our OpenStack environment. My team often make jokes and groan about him in private because he’s so overbearing. A few months back, he had to take us to our data center to show us our new racks, and he kept saying stupid stuff like “you break this and it costs me $30,000” as if he owns everything. He’s just... one of THOSE people. Always speaks in such a condescending way. We make jokes that he is our “best friend”.

Our company is shifting most of our products to the cloud in response to the coronavirus (trying to make it an opportunity for “innovation”). This has involved some structural and responsibility changes in our department, and long story short, I’m now heading the OpenStack environment alongside other projects.

This means going through grueling 1-on-1 meetings with our “best friend”. It’s not too bad, I can be pretty patient with people, so I didn’t mind too much at first. Then a few things happened.

1. He sent a shared folder that he owned containing info related to the environments. Several documents were outdated and incomplete, so I downloaded them, corrected them, and then uploaded the documents to my teams file share, as I was supposed to since we now own the projects.

2. Several files were missing, and when I asked about them, he said “Oh, did you refresh the browser?”. I told him no, that I downloaded them locally and republished them to my teams server, because he was supposed to hand everything off to us at once. He says “Well, silly, how are you going to get updates if you’re looking at them locally?” and kind of chuckles at me like I’m stupid.

3. He insists on training me how to remote into one of the servers to check on cluster space, which in itself is fine. I understand others wanting to make sure things will be done right by the people who come after them. But he tells me to download SuperPutty. I tell him, “oh no, that’s alright. I don’t need putty”. He says “oh cool, what tool do you use for ssh?”. I answer him “Just Git. If I want to I can use a CentOs bash terminal too, because we have WSL installed”. He responds “You can’t ssh through Git”.
I was actually a little shocked. I didn’t know if he was serious or not so I was silent for a few seconds before hesitantly saying “yes you can”. He says “this is news to me” and I so I tell him “every single one of our build jobs fetches code from Git with ssh” and he seemed genuinely shocked and surprised by that.... so then it occurs to me to show him that you can ssh in Powershell and that REALLY blew his mind. He would not shut up about it for several minutes. I was amused until it just got annoying.

Needless to say, my team had been previously teasing me about having to work with him, so they found it hilarious when I told them afterwards.

Comments
  • 2
    Oh windows admins. However did you get so well paid.
  • 3
    To be frank that's news to me too. I also didn't know you can get an interactive shell with git.. How do I do that?

    Edit: I do know git is using ssh lib to access repo, but I've never thought it can give you an interactive shell itself...
  • 0
    @netikras Afaik you can hook Up GIT with any SSH executable...

    Or PLINK / PuTTY.

    Libssh ist just a portable solution which afaik includes a SSH executable (Not 100 % sure here, as I use the builtin Windows SSH)
  • 0
    @netikras
    Git ships with gitbash on windows, which is just mingw. It delegates to that for most system interaction. They also have git shell now as well. It's not full bash though, so you won't be able to use it for things like rsync.

    On Linux you don't need any of the extras, it just works against sh
  • 1
    @IntrusionCM yeah, but that still means you need a proper ssh client: putty or whatever. Git bash package also comes with ssh preinstalled - that's also a ssh client. Not *git* itself giving you interactive ssh access to a remote server..
    I tried googling yesterday - couldn't find how to get an interactive ssh session with git. Did I miss smth?

    @sortoftested bash/shell != interactive ssh :) my bad tho - didn't specify I meant a remote shell
  • 1
    @netikras
    Just saying that git doesn't do anything with ssh other than auth/protocol used for cloning and pushing. The purpose of Gitbash under windows is supplying an environment that has /usr/bin/ssh on the path and allowing for agent-less credential resolution. Interactive sessions can be established using gitbash, but not the git cli. I've seen a lot of windows users confuse the two.

    Seems like what intrusion was saying was that you could use any ssh executable you want, so long as it's the first "ssh" on the path.
  • 1
    @SortOfTested @netikras

    Yeah. I think the author uses SSH in a git bash...

    But my comment meant: When you can override the command, you can override the command arguments, too.

    SSH config file with (SSH?) Options lines or adding parameters to the GIT_SSH (I think that was the environment variable) ...

    Although it doesn't make any sense to me - misusing GIT as a wrapper for an SSH session seems very... Questionable
  • 0
    10/10 rant!
Add Comment