Vundle does not authenticate github

I have it on my ~/.vimrc .

 set nocompatible " be iMproved, required filetype off " required set rtp+=~/.vim/bundle/Vundle.vim call vundle#begin() Plugin 'gmarik/Vundle.vim' Plugin 'crooloose/nerdtree.git' Plugin 'tomasr/molokai' Plugin 'kien/ctrlp' Plugin 'bling/vim-airline' syntax enable colorscheme molokai 

Enough, straight ahead. I have several plugins that I want to install using Vundle, but whenever I do :PluginInstall , it asks me for the github username and password. I know that my username and password are correct, but it cannot be authenticated. I have two way authentication on github btw. I do not think this is important. However, I get the following error.

 [2014-09-19 23:18:14] [2014-09-19 23:18:14] Plugin crooloose/nerdtree.git [2014-09-19 23:18:14] $ git clone --recursive 'https://github.com/crooloose/nerdtree.git' '/home/shriek/.vim/bundle/nerdtree' [2014-09-19 23:18:14] > Cloning into '/home/shriek/.vim/bundle/nerdtree'... [2014-09-19 23:18:14] > remote: Invalid username or password. [2014-09-19 23:18:14] > fatal: Authentication failed for 'https://github.com/crooloose/nerdtree.git/' [2014-09-19 23:18:14] > [2014-09-19 23:19:51] [2014-09-19 23:19:51] Plugin kien/ctrlp [2014-09-19 23:19:51] $ git clone --recursive 'https://github.com/kien/ctrlp.git' '/home/shriek/.vim/bundle/ctrlp' [2014-09-19 23:19:51] > Cloning into '/home/shriek/.vim/bundle/ctrlp'... [2014-09-19 23:19:51] > remote: Invalid username or password. [2014-09-19 23:19:51] > fatal: Authentication failed for 'https://github.com/kien/ctrlp.git/' [2014-09-19 23:19:51] > [2014-09-19 23:19:52] [2014-09-19 23:19:52] Helptags: [2014-09-19 23:19:52] :helptags /home/shriek/.vim/bundle/Vundle.vim/doc [2014-09-19 23:19:52] :helptags /home/shriek/.vim/bundle/vim-airline/doc [2014-09-19 23:19:52] Helptags: 2 plugins processed 

I even tried connecting to github by running ssh -T git@github.com which says: Hi shriek! You've successfully authenticated, but GitHub does not provide shell access. Hi shriek! You've successfully authenticated, but GitHub does not provide shell access.

So, I lost a little what is happening. Help?

+6
source share
1 answer

Perhaps this is a simple mistake in the url declared in your plugins (which you are trying to clone)

https://github.com/crooloose/nerdtree.git does not exist.
https://github.com/scrooloose/nerdtree.git .

Similarly:

https://github.com/kien/ctrlp does not exist.
https://github.com/kien/ctrlp.vim does

By declaring the correct usernames and repos in ~/.vimrc , you should avoid these errors when cloning the specified plugins.

+10
source

Source: https://habr.com/ru/post/975569/


All Articles