Skip to content

SSH: prefer using runuser instead of login#4873

Closed
afonsofrancof wants to merge 1 commit into
netbirdio:mainfrom
afonsofrancof:feature/debian-ssh
Closed

SSH: prefer using runuser instead of login#4873
afonsofrancof wants to merge 1 commit into
netbirdio:mainfrom
afonsofrancof:feature/debian-ssh

fix(ssh-server): Prefer using runuser instead of login

fb7a5eb
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis failed Nov 29, 2025 in 26s

Quality Gate failed

Failed conditions
1 New issue
1 New Code Smells (required ≤ 0)

See analysis details on SonarQube Cloud

Catch issues before they fail your Quality Gate with our IDE extension SonarQube for IDE

Annotations

Check warning on line 84 in client/ssh/server/userswitching_unix.go

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Reduce this case clause number of lines from 10 to at most 6, for example by extracting code into methods.

See more on https://sonarcloud.io/project/issues?id=netbirdio_netbird&issues=AZrKS273-bboaR6PW4bL&open=AZrKS273-bboaR6PW4bL&pullRequest=4873