# openssh/openssh-portable SLOC report

> As of 2026-09-15 (commit ae7373dfe1e9), openssh/openssh-portable contains 218,170 total lines: 165,012 code, 31,309 comments, 21,849 blank, across 625 files in 17 languages (top: C 72.0%). Custom configuration (tests excluded, docs excluded, generated excluded). Counted with tokei via OctoCounts.

openssh/openssh-portable has 165,012 source lines of code out of 218,170 total lines across 625 files, counted from the ae7373dfe1e967036cdb948b814bb1eca78bc5ff ref at commit ae7373dfe1e9 by the OctoCounts tokei engine on 2026-09-15. 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 ae7373dfe1e9, 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.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 | 304 | 151,965 | 118,844 | 17,759 | 15,362 |
| C Header | 116 | 43,108 | 28,189 | 11,283 | 3,636 |
| Shell | 134 | 15,471 | 11,798 | 1,721 | 1,952 |
| Autoconf | 8 | 1,963 | 1,570 | 137 | 256 |
| RPM Specfile | 2 | 1,065 | 847 | 38 | 180 |
| JSON | 2 | 810 | 810 | 0 | 0 |
| C++ | 12 | 933 | 773 | 36 | 124 |
| Makefile | 22 | 975 | 738 | 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-09-15T13:55:49.693408839+00:00. Canonical report: https://octocounts.com/github/openssh/openssh-portable

## Reproduce this report

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

## Report FAQ

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

openssh/openssh-portable has 218,170 total lines, including 165,012 code lines, 31,309 comment lines, and 21,849 blank lines.

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

OctoCounts resolved the public GitHub repository to commit ae7373dfe1e9, 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 ae7373dfe1e967036cdb948b814bb1eca78bc5ff at commit ae7373dfe1e9 on 2026-09-15T13:55:49.693408839+00:00.

## Similar repository reports

- [kingToolbox/WindTerm](https://octocounts.com/github/kingToolbox/WindTerm) — C, 165,596 code lines
- [mackron/miniaudio](https://octocounts.com/github/mackron/miniaudio) — C, 167,086 code lines
- [milescoviello/OS-DEV](https://octocounts.com/github/milescoviello/OS-DEV) — C, 168,629 code lines
- [SteamClientHomebrew/Millennium](https://octocounts.com/github/SteamClientHomebrew/Millennium) — C, 158,837 code lines
- [unicorn-engine/unicorn](https://octocounts.com/github/unicorn-engine/unicorn) — C, 177,560 code lines
- [OpenGVLab/LLaMA-Adapter](https://octocounts.com/github/OpenGVLab/LLaMA-Adapter) — C, 149,101 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)
