Do all the things like ++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatarSign Up
Oh windows admins. However did you get so well paid.
netikras2202743dTo 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...
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
netikras2202742d@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
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.
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
abhijith050514When you SSH into a machine and then SSH back into yours, you know you are drunk.
nickj59today at programming class... professor: today we will be teaching you about vim and using the terminal and s...
linuxxx21*SSH's into VPS* *Starts doing some general maintainance (updating, checking the logs etc)* *runs the who comm...