I’m totally new on GitHub, and don’t know how to make good use of it. How do l make use of this link https://docs.github.com/en/authentication/connecting-to-github-with-ssh/testing-your-ssh-connection?platform=windows ??
My purpose is to try out my SSH key.
What do you mean “how do I make use of this link”? Are you struggling with the directions in the link? Have you already done some of the instructions? Are you trying to use this link in a different way?
Actually l don’t understand how to proceed with the steps involved.
Have you used a terminal before? What OS/distro are you using?
I work on my WSL terminal.
If you have generated the SSH key, which they describe in a linked article, then you just enter the “ssh” command they list in this article to confirm that it’s working.
You’ll probably have some sort of virtual terminal program in your desktop environment that’ll bring up a prompt that probably ends in a dollar sign where you can enter bash commands. If you’re using KDE, it’ll be “Konsole”. If GNOME, I believe it’s “GNOME Terminal”.
The instructions are for Windows. There seems to be a program called ‘Git Bash’ that emulates a terminal.
Yeah, but I assume that given that he’s posting to linux4noobs, he’s trying to do this on Linux.
I use WSL.
Then, the terminal emulator you should be using is the PowerShell in which you should start the the BASH provided by WSL by typing
wsl.
This works on the WSL ?
Yes and no: No, on WSL, it’s the
wslcommand executed in the MS Windows PowerShell, that will give you the Linux command prompt.Yes, from there on, the commands to be executed within the shell are identical.
So it’s the fish terminal where i use the linux commands ?
I’m not a WSL user, but I presume it lets you run any shell that’s installed and available to its $PATH.
So if you want to do the commands in bash, and you’re not in (or not sure if you’re in) bash, you can just type bash into the terminal prompt of whatever currently running shell, hit enter, then you’re in bash. Or for fish, or whatever else.
(ps, my personal preference encouraged, yes, use fish (where suitable), it’s more human friendly in syntax and interactivity.) ;)
Yes, whatever shell your WSL is using. Usually, it should be the Ubuntu default Bash, but if you happen to have chosen a distro that uses Fish or installed it yourself, it’s Fish.




