Help
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Copilot Lvl 3
Message 1 of 2

Git Bash throws back errors

hello dear all,

 

- installed git on windows

- generated a ssh-key

- wante to have a closer look at the keys

 

according to this How-To-Page: i have serious issues:

https://help.github.com/articles/checking-for-existing-ssh-keys/#platform-windows

Before you generate an SSH key, you can check to see if you have any existing SSH keys.

Note: DSA keys were deprecated in OpenSSH 7.0. If your operating system uses OpenSSH, you'll need to use an alternate type of key when setting up SSH, such as an RSA key. For instance, if your operating system is MacOS Sierra, you can set up SSH using an RSA key.

   

 

Open Git Bash.

    Enter ls -al ~/.ssh to see if existing SSH keys are present:

    ls -al ~/.ssh
    # Lists the files in your .ssh directory, if they exist

 

PS C:\Users\Mitarbeiter\Documents\_mk_\_dev_\python> ls -al ~/.ssh
Get-ChildItem : Es wurde kein Parameter gefunden, der dem Parameternamen "al" entspricht.
Bei Zeile:1 Zeichen:7
+ ls -al <<<< ~/.ssh
+ CategoryInfo : InvalidArgument: (:) [Get-ChildItem], ParameterBindingException
+ FullyQualifiedErrorId : NamedParameterNotFound,Microsoft.PowerShell.Commands.GetChildItemCommand

PS C:\Users\Mitarbeiter\Documents\_mk_\_dev_\python>

 

why does this not work ...

note: i want to pupbish the key (the public key to the github account..

 

 

1 Reply
Community Manager
Message 2 of 2

Re: Git Bash throws back errors

Hi @wpfan2099,

 

Thanks for being here! Have you tried to generate a new key?


Best,
AndreaG

Mark helpful posts with Accept as Solution to help other users locate important info. Don't forget to give Kudos for great content!