Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: support check ssh #72

Merged
merged 5 commits into from Aug 21, 2023
Merged

feat: support check ssh #72

merged 5 commits into from Aug 21, 2023

Conversation

DokiDoki1103
Copy link
Contributor

support check ssh

post : 127.0.0.1:8080/enterprise-server/api/v1/check_ssh
body:{"host":"1.1.1.1","port":22}
response: 200 is ok ,other is fail


// 配置SSH客户端参数
config := &checckssh.ClientConfig{
User: "root",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

不是用docker用户吗?

@yangkaa yangkaa merged commit 48cfc6b into goodrain:main Aug 21, 2023
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants