Skip to content

push timeout or ssh user/pass dialog detect #84

Closed
@ghost

Description

remote.push(repo.head.reference) is freezing then git push ask user&pass

after gists update
gist.github.com is now 204.232.175.94 (old ip is 207.97.227.243).
add ssh connection check to prevent this bug in future:

from envoy import run
host =="gist.github.com" # get from push url with urlparse
assert run("ssh -T git@" % host).status_code==1 # ok

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions