Git always asking for username and password even with using SSH key -


i have started online gitlab account host of projects.

i have set account, generated ssh key , entered ssh keys section of gitlab site. whenever attempt git push, git pull or whatever still prompted username , password. have followed instructions on gitlab website make sure not forgetting steps , still prompts me.

my key looks this:

ssh-rsa aaaab3nzac1yc2eaaaadaqabaaabaqdnoni9ghaeskynev76xp/bec8pb/en4mxbrp6kfam9cjpadxrmtveufjnzuo+kgsrxahvmiu6mqbinmqtct9fnorx0ucw0e5aoqwc9w1jz+jareqwyw87a5tk/4aom6tz1oy0r/uggifqaxkk1ywoxrrpcc+lan/rawfflveyyfzgof8jcj+vhuk2tpewcz6dph3xl1op+aau35vcs/fcacph/mksrqmgx4blsvzjnlkuokoywyqp2wvsldykh4vue9isszzwtgqoofqeqd/vdugourxw9eorn7bfmhf4dy5ahtpigwobo7qw6zjczief6wgdrcc1l1jzoxegvgifl james.alex.holman@gmail.com 

is there other things may causing this?

i using linux , terminal generate these commands thanks

you using http/https remote url.
change ssh , not ask username password again.

check remote url, might using https

git remote -v 

http/https ask yo password every time try fetch | pull| push etc.

ssh not using username/password nut use ssh keys instead.

using ssh connection secured using ssh keys exchange.

enter image description here


Comments

Popular posts from this blog

ruby - Trying to change last to "x"s to 23 -

jquery - Clone last and append item to closest class -

c - Unrecognised emulation mode: elf_i386 on MinGW32 -