windows - Getting permission denied when pushing to git vps server -


i installed git windows, creating ssh key , uploaded public server.

i have working on mac, trying working on windows machine now.

i did :

chmod 700 ~/.ssh/ chmod 600 ~/.ssh/* 

here image of me doing ssh -v gitserveralias

i have config file has gitserveralias , port etc.

enter image description here

i tried clearing out known hosts file also.

my config looks like:

host serveralias        user xxx        hostname 123.234.452.232        port 22222        identityfile ~/.ssh/id_rsa        tcpkeepalive true        identitiesonly yes        preferredauthentications publickey 

again have setup working fine on mac.

two things check:

  1. do have "pubkeyauthentication yes" in sshd_config on server? try setting it.

  2. is there offending key in .ssh/known_hosts? try removing file.


Comments

Popular posts from this blog

objective c - Change font of selected text in UITextView -

php - Accessing POST data in Facebook cavas app -

c# - Getting control value when switching a view as part of a multiview -