LoginSignup
0
0

More than 5 years have passed since last update.

Visual Studio Team ServiceのGitにSSHで繋がらない

Last updated at Posted at 2018-08-28

超短期用忘備録

Visual Studio Team ServiceにSSH越しのGitで繋がらなくなった。
多分、またなんか工事してるんだろう。

すぐ直ると思うので、とりあえずの対処の仕方。

ということで、直ったようなのでこの文章は意味がなくなりました。

DefaultCollectionを抜く

VSTSでSSHタブを選んでcloneするとこんな感じのエラーになる。

$ git clone yakumo@vs-ssh.visualstudio.com:v3/yakumo/DefaultCollection/Live2DSharp/Live2DSharp
Cloning into 'Live2DSharp'...
Enter passphrase for key '/home/xxx/.ssh/id_rsa': 
remote:
remote: Your Git command did not succeed.
remote: Details:
remote:     Expected _full or _optimized, not 'Live2DSharp'.
remote:
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.

つれねぇ。

URLをちょっと変えて、 DefaultCollection の部分を抜くと、成功する。

$ git clone yakumo@vs-ssh.visualstudio.com:v3/yakumo/Live2DSharp/Live2DSharp
Cloning into 'Live2DSharp'...
Enter passphrase for key '/home/xxx/.ssh/id_rsa': 
remote: 
remote:                    vSTs   
remote:                  vSTSVSTSv
remote:                vSTSVSTSVST
remote: VSTS         vSTSVSTSVSTSV
remote: VSTSVS     vSTSVSTSV STSVS
remote: VSTSVSTSvsTSVSTSVS   TSVST
remote: VS  tSVSTSVSTSv      STSVS
remote: VS   tSVSTSVST       SVSTS
remote: VS tSVSTSVSTSVSts    VSTSV
remote: VSTSVST    SVSTSVSTs VSTSV
remote: VSTSv        STSVSTSVSTSVS
remote:                VSTSVSTSVST
remote:                  VSTSVSTs
remote:                    VSTs    (TM)
remote: 
remote:  Microsoft (R) Visual Studio (R) Team Services
remote: 
remote: Found 124 objects to send. (104 ms)
Receiving objects: 100% (124/124), 309.73 KiB | 357.00 KiB/s, done.
Resolving deltas: 100% (22/22), done.

ちなみに

上記のリポジトリは存在しないのでよろしくお願いします。

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0