MoeClub / MoeClub/Note

脚本InstallNET.sh的-p参数有bug

Open
#33 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Shell
Stars
889
Forks
405
PR merge metrics
No merged PRs in 30d

Description

版本是这个

https://github.com/MoeClub/Note/blob/06b6ac12a1434e373495dbe5824b2b933c57c663/InstallNET.sh

bash <(wget --no-check-certificate -qO- 'https://raw.githubusercontent.com/MoeClub/Note/master/InstallNET.sh') -d 12 -v 64 -p "XXX" -port "6666"

密码是英文大小写数字符号混合,30+长度

后续ssh连不上,端口是666没问题,密码不是设置的XXX,也不是默认的MoeClub.org

去掉-p "XXX",可以ssh了,密码是默认的MoeClub.org

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Inspect InstallNET.sh at the linked commit and reproduce the reported bash invocation with -d 12, -v 64, -p "XXX", and -port "6666". Compare the resulting SSH password with the supplied password and the default password; done means the -p value is honored while the requested port behavior remains unchanged.

Written by the indexing model from the issue text.

Assessment

Tech stack
bash, shell
Domain
devops
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.