# openssh/openssh-portable SLOC report

> openssh/openssh-portable: 170,242 code lines at commit 26b1363c7cbf, counted with tokei-14.0.0 on 2026-10-18. Saved result d001dd39b850f0fa6ed986d114546cf502862b48ff0696297644da64725c17d2.

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.

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.

## Repository size insights

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 | 157,028 | 122,937 | 18,277 | 15,814 |
| C Header | 116 | 43,153 | 28,218 | 11,297 | 3,638 |
| Shell | 134 | 15,578 | 11,887 | 1,721 | 1,970 |
| C++ | 24 | 2,331 | 1,759 | 301 | 271 |
| Autoconf | 8 | 1,963 | 1,570 | 137 | 256 |
| RPM Specfile | 2 | 1,065 | 847 | 38 | 180 |
| JSON | 2 | 810 | 810 | 0 | 0 |
| Makefile | 22 | 1,023 | 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 |
| Bitbake | 13 | 110 | 89 | 4 | 17 |
| Prolog | 2 | 2 | 2 | 0 | 0 |
| Q | 2 | 2 | 2 | 0 | 0 |
| C Shell | 1 | 1 | 1 | 0 | 0 |
| Markdown | 2 | 94 | 0 | 62 | 32 |

Top language (C 72.2%). Generated at 2026-10-18T22:01:28.727874642Z. Canonical report: https://octocounts.com/github/openssh/openssh-portable/commit/26b1363c7cbf5d01c730f45fc0b4abc5686beaf7?reportId=d001dd39b850f0fa6ed986d114546cf502862b48ff0696297644da64725c17d2&analysis=%7B%22profile%22%3A%22default%22%2C%22ignoredDirs%22%3A%5B%5D%2C%22includeDocs%22%3Afalse%2C%22includeTests%22%3Afalse%2C%22ignoredLanguages%22%3A%5B%5D%2C%22includeGenerated%22%3Afalse%7D

## Reproduce this report

[Reproduce this exact report and configuration](https://octocounts.com/github/openssh/openssh-portable/commit/26b1363c7cbf5d01c730f45fc0b4abc5686beaf7?reportId=d001dd39b850f0fa6ed986d114546cf502862b48ff0696297644da64725c17d2&analysis=%7B%22profile%22%3A%22default%22%2C%22ignoredDirs%22%3A%5B%5D%2C%22includeDocs%22%3Afalse%2C%22includeTests%22%3Afalse%2C%22ignoredLanguages%22%3A%5B%5D%2C%22includeGenerated%22%3Afalse%7D).

## Report FAQ

### How many lines of code does openssh/openssh-portable have?

openssh/openssh-portable has 224,831 total lines, including 170,242 code lines, 32,106 comment lines, and 22,483 blank lines.

### How was the openssh/openssh-portable line count measured?

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.

### What commit was counted for openssh/openssh-portable?

This OctoCounts report was generated from master at commit 26b1363c7cbf on 2026-10-18T22:01:28.727874642Z.

## Similar repository reports

- [Zero3K/XSupplicant](https://octocounts.com/github/Zero3K/XSupplicant) — C, 172,830 code lines
- [mackron/miniaudio](https://octocounts.com/github/mackron/miniaudio) — C, 167,086 code lines
- [Stredohori/Winlator-CMOD](https://octocounts.com/github/Stredohori/Winlator-CMOD) — C, 166,300 code lines
- [FUjr/QModem](https://octocounts.com/github/FUjr/QModem) — C, 165,942 code lines
- [kaansenol5/VibeOS](https://octocounts.com/github/kaansenol5/VibeOS) — C, 181,281 code lines
- [curl/curl](https://octocounts.com/github/curl/curl) — C, 182,502 code lines

## Related OctoCounts pages

- [Recently analyzed repositories](https://octocounts.com/recent)
- [Popular SLOC reports](https://octocounts.com/popular)
- [Trending GitHub repositories](https://octocounts.com/trending)
- [Hall of Monoliths](https://octocounts.com/hall-of-monoliths)
- [Neovim vs VS Code](https://octocounts.com/compare/neovim-vs-vscode)
- [MongoDB vs PostgreSQL](https://octocounts.com/compare/mongodb-vs-postgres)
- [GitHub SLOC counter guide](https://octocounts.com/docs/github-sloc-counter)
- [Counting methodology](https://octocounts.com/docs/methodology)
- [SLOC and code metrics glossary](https://octocounts.com/docs/glossary)
- [Original research: how filtering changes SLOC counts](https://octocounts.com/research)
- [OctoCounts API docs](https://octocounts.com/docs/api)
