Package: git
Version: 1:2.0.1-1
Severity: normal
Tags: ipv6

> $ git remote -v
> origin  git+ssh://user@2001:db8::1/srv/git/repo.git (fetch)
> origin  git+ssh://user@2001:db8::1/srv/git/repo.git (push)
> $ git fetch
> ssh: connect to host 2001 port 22: Invalid argument
> fatal: Could not read from remote repository.
> 
> Please make sure you have the correct access rights
> and the repository exists.
> $ vim .git/config
> $ git remote -v
> origin  git+ssh://user@[2001:db8::1]/srv/git/repo.git (fetch)
> origin  git+ssh://user@[2001:db8::1]/srv/git/repo.git (push)
> $ git fetch
> ssh: Could not resolve hostname [2001: Name or service not known
> fatal: Could not read from remote repository.
> 
> Please make sure you have the correct access rights
> and the repository exists.
> $ vim .git/config
> $ git remote -v
> origin  git+ssh://user@[2001:db8::1]:22/srv/git/repo.git (fetch)
> origin  git+ssh://user@[2001:db8::1]:22/srv/git/repo.git (push)
> $ git fetch
> ssh: Could not resolve hostname [2001: Name or service not known
> fatal: Could not read from remote repository.
> 
> Please make sure you have the correct access rights
> and the repository exists.

The first format works with git from wheezy.


Cheers
Timo

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to