Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion test/sshd/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ source dev-container-features-test-lib

check "sshd installed" which sshd
check "openssh version" bash -c "sshd -V 2>&1 | grep -i openssh"
check "sshd port configured" bash -c "grep -r 'Port 2222' /etc/ssh/"
check "sshd port configured" bash -c "grep -r 'Port 2222' /etc/ssh/sshd_config /etc/ssh/sshd_config.d/"
check "sshd running" bash -c "pgrep sshd || ( mkdir -p /run/sshd && /usr/sbin/sshd && sleep 1 && pgrep sshd )"
check "sshd listening on port 2222" bash -c "ss -tln | grep ':2222'"

Expand Down
Loading