user3184895
user3184895

Reputation: 21

git ssh config no address associated with name

My ssh-settings:

C:\Users\maether.ssh\config

host maether
        user git
        hostname xx.xx.xx.xx
        identityfile ~/.ssh/maether/maether
        Port xxxxx

my RSA-Files are in folder: c:\Users\maether\.ssh\maether\

I open cmd and type in:

ssh maether

Normally i should get an answer of my git-repository, but i got:

ssh: maether: no address associated with name"

If i typed in echo %HOME%, i got C:\Users\maether\.ssh

I take the same way on different Computer and it works, but now i get this failure: no address associated with name. What could i have forget?

Upvotes: 1

Views: 6102

Answers (1)

Robin Green
Robin Green

Reputation: 33093

It should be

c:\Users\maether\.ssh\config

not

c:\Users\maether.ssh\config

note the missing \.

Upvotes: 1

Related Questions