alibaba / git-repo-go

git-repo is a command-line tool for centralized workflow, can work with Gerrit, AGit-Flow compatible servers. It is written in Golang, and it can be installed easily without further dependency. It provides an easy-to-use solution for multiple repositories which is introduced by Android repo first, and it can also work with a single repository.
https://git-repo.info/
Apache License 2.0
262 stars 60 forks source link

sshinfo: check response of ssh_info for bad hostname #31

Closed jiangxin closed 3 years ago

jiangxin commented 3 years ago

Try to validate response of ssh_info, and show error if hostname or username has invalid characters.

Signed-off-by: Jiang Xin zhiyou.jx@alibaba-inc.com