openssh/openssh-portable has 170,242 source lines of code out of 224,831 total lines across 643 files, counted from the master ref at commit 26b1363c7cbf by the OctoCounts tokei engine on 2026-10-18. The report is cached by commit, tokei version, and analysis options, so recounting the same revision returns exactly these numbers.
As of 2026-10-18 (commit 26b1363c7cbf), openssh/openssh-portable contains 224,831 total lines: 170,242 code, 32,106 comments, 22,483 blank, across 643 files in 17 languages (top: C 72.2%). Custom configuration (tests excluded, docs excluded, generated excluded). Counted with tokei via OctoCounts.
OctoCounts produced this report by resolving openssh/openssh-portable to commit 26b1363c7cbf, downloading the repository source archive, and counting every source file with tokei, the open-source line counter written in Rust. The table below breaks the count down by programming language into files, total lines, code lines, comment lines, and blank lines, so the figures can be compared across languages and projects. Results are cached by commit, tokei version, and analysis options, so counting the same revision again reproduces exactly these numbers.
This is a large codebase by counted code lines. Code represents 75.7% of all lines, comments represent 14.3%, and the repository averages 265 code lines per file. C accounts for 72.2% of counted code.
| Language | Files | Lines | Code | Comments | Blanks |
|---|---|---|---|---|---|
| C | 310 | 157028 | 122937 | 18277 | 15814 |
| C Header | 116 | 43153 | 28218 | 11297 | 3638 |
| Shell | 134 | 15578 | 11887 | 1721 | 1970 |
| C++ | 24 | 2331 | 1759 | 301 | 271 |
| Autoconf | 8 | 1963 | 1570 | 137 | 256 |
| RPM Specfile | 2 | 1065 | 847 | 38 | 180 |
| JSON | 2 | 810 | 810 | 0 | 0 |
| Makefile | 22 | 1023 | 771 | 53 | 199 |
| BASH | 2 | 970 | 713 | 164 | 93 |
| AWK | 1 | 378 | 349 | 22 | 7 |
| M4 | 1 | 232 | 197 | 30 | 5 |
| HTML | 1 | 91 | 90 | 0 | 1 |
Top language (C 72.2%). Generated at .
openssh/openssh-portable has 224,831 total lines, including 170,242 code lines, 32,106 comment lines, and 22,483 blank lines.
OctoCounts resolved the public GitHub repository to commit 26b1363c7cbf, downloaded the source archive, counted it with tokei, and cached the report by commit, tokei version, and analysis options.
This OctoCounts report was generated from master at commit 26b1363c7cbf on 2026-10-18T22:01:28.727874642+00:00.
Other public repositories with an OctoCounts report, ranked by top language and code size similarity:
Play the growth animation for openssh/openssh-portable on this page — 170,242 code lines across 12 languages, counted by tokei.