As of 2026-07-13 (commit cadefc724fe0), openssh/openssh-portable contains 217,430 total lines: 164,442 code, 31,223 comments, 21,765 blank, across 622 files in 17 languages (top: C 72.0%). Counted with tokei via OctoCounts.
OctoCounts produced this report by resolving openssh/openssh-portable to commit cadefc724fe0, 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.6% of all lines, comments represent 14.4%, and the repository averages 264 code lines per file. C accounts for 72.0% of counted code.
| Language | Files | Lines | Code | Comments | Blanks |
|---|---|---|---|---|---|
| C | 302 | 151397 | 118403 | 17688 | 15306 |
| C Header | 116 | 43126 | 28212 | 11281 | 3633 |
| Shell | 133 | 15283 | 11648 | 1708 | 1927 |
| Autoconf | 8 | 1962 | 1569 | 137 | 256 |
| RPM Specfile | 2 | 1065 | 847 | 38 | 180 |
| JSON | 2 | 810 | 810 | 0 | 0 |
| C++ | 12 | 933 | 773 | 36 | 124 |
| Makefile | 22 | 974 | 737 | 53 | 184 |
| 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.0%). Generated at 2026-07-13T01:38:49.063312388+00:00.
openssh/openssh-portable has 217,430 total lines, including 164,442 code lines, 31,223 comment lines, and 21,765 blank lines.
OctoCounts resolved the public GitHub repository to commit cadefc724fe0, 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 cadefc724fe0 on 2026-07-13T01:38:49.063312388+00:00.
Other public repositories with an OctoCounts report, ranked by top language and code size similarity: