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.
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:
do have "pubkeyauthentication yes" in sshd_config on server? try setting it.
is there offending key in .ssh/known_hosts? try removing file.
Comments
Post a Comment