openssh-9.0
update version numbers for release
3 files changed
tree: 2a13f3abb4840db42295c1099b28aeecc71b0509
  1. .github/
  2. contrib/
  3. m4/
  4. openbsd-compat/
  5. regress/
  6. .depend
  7. .gitignore
  8. .skipped-commit-ids
  9. addr.c
  10. addr.h
  11. addrmatch.c
  12. atomicio.c
  13. atomicio.h
  14. audit-bsm.c
  15. audit-linux.c
  16. audit.c
  17. audit.h
  18. auth-bsdauth.c
  19. auth-krb5.c
  20. auth-options.c
  21. auth-options.h
  22. auth-pam.c
  23. auth-pam.h
  24. auth-passwd.c
  25. auth-rhosts.c
  26. auth-shadow.c
  27. auth-sia.c
  28. auth-sia.h
  29. auth.c
  30. auth.h
  31. auth2-chall.c
  32. auth2-gss.c
  33. auth2-hostbased.c
  34. auth2-kbdint.c
  35. auth2-none.c
  36. auth2-passwd.c
  37. auth2-pubkey.c
  38. auth2.c
  39. authfd.c
  40. authfd.h
  41. authfile.c
  42. authfile.h
  43. bitmap.c
  44. bitmap.h
  45. buildpkg.sh.in
  46. canohost.c
  47. canohost.h
  48. chacha.c
  49. chacha.h
  50. channels.c
  51. channels.h
  52. cipher-aes.c
  53. cipher-aesctr.c
  54. cipher-aesctr.h
  55. cipher-chachapoly-libcrypto.c
  56. cipher-chachapoly.c
  57. cipher-chachapoly.h
  58. cipher-ctr.c
  59. cipher.c
  60. cipher.h
  61. cleanup.c
  62. clientloop.c
  63. clientloop.h
  64. compat.c
  65. compat.h
  66. config.guess
  67. config.sub
  68. configure.ac
  69. CREDITS
  70. crypto_api.h
  71. defines.h
  72. dh.c
  73. dh.h
  74. digest-libc.c
  75. digest-openssl.c
  76. digest.h
  77. dispatch.c
  78. dispatch.h
  79. dns.c
  80. dns.h
  81. ed25519.c
  82. entropy.c
  83. entropy.h
  84. fatal.c
  85. fe25519.c
  86. fe25519.h
  87. fixalgorithms
  88. fixpaths
  89. ge25519.c
  90. ge25519.h
  91. ge25519_base.data
  92. groupaccess.c
  93. groupaccess.h
  94. gss-genr.c
  95. gss-serv-krb5.c
  96. gss-serv.c
  97. hash.c
  98. hmac.c
  99. hmac.h
  100. hostfile.c
  101. hostfile.h
  102. includes.h
  103. INSTALL
  104. install-sh
  105. int32_minmax.inc
  106. kex.c
  107. kex.h
  108. kexc25519.c
  109. kexdh.c
  110. kexecdh.c
  111. kexgen.c
  112. kexgex.c
  113. kexgexc.c
  114. kexgexs.c
  115. kexsntrup761x25519.c
  116. krl.c
  117. krl.h
  118. LICENCE
  119. log.c
  120. log.h
  121. loginrec.c
  122. loginrec.h
  123. logintest.c
  124. mac.c
  125. mac.h
  126. Makefile.in
  127. match.c
  128. match.h
  129. mdoc2man.awk
  130. misc.c
  131. misc.h
  132. mkinstalldirs
  133. moduli
  134. moduli.5
  135. moduli.c
  136. monitor.c
  137. monitor.h
  138. monitor_fdpass.c
  139. monitor_fdpass.h
  140. monitor_wrap.c
  141. monitor_wrap.h
  142. msg.c
  143. msg.h
  144. mux.c
  145. myproposal.h
  146. nchan.c
  147. nchan.ms
  148. nchan2.ms
  149. openssh.xml.in
  150. opensshd.init.in
  151. OVERVIEW
  152. packet.c
  153. packet.h
  154. pathnames.h
  155. pkcs11.h
  156. platform-misc.c
  157. platform-pledge.c
  158. platform-tracing.c
  159. platform.c
  160. platform.h
  161. poly1305.c
  162. poly1305.h
  163. progressmeter.c
  164. progressmeter.h
  165. PROTOCOL
  166. PROTOCOL.agent
  167. PROTOCOL.certkeys
  168. PROTOCOL.chacha20poly1305
  169. PROTOCOL.key
  170. PROTOCOL.krl
  171. PROTOCOL.mux
  172. PROTOCOL.sshsig
  173. PROTOCOL.u2f
  174. readconf.c
  175. readconf.h
  176. README
  177. README.dns
  178. README.md
  179. README.platform
  180. README.privsep
  181. README.tun
  182. readpass.c
  183. rijndael.c
  184. rijndael.h
  185. sandbox-capsicum.c
  186. sandbox-darwin.c
  187. sandbox-null.c
  188. sandbox-pledge.c
  189. sandbox-rlimit.c
  190. sandbox-seccomp-filter.c
  191. sandbox-solaris.c
  192. sandbox-systrace.c
  193. sc25519.c
  194. sc25519.h
  195. scp.1
  196. scp.c
  197. SECURITY.md
  198. servconf.c
  199. servconf.h
  200. serverloop.c
  201. serverloop.h
  202. session.c
  203. session.h
  204. sftp-client.c
  205. sftp-client.h
  206. sftp-common.c
  207. sftp-common.h
  208. sftp-glob.c
  209. sftp-realpath.c
  210. sftp-server-main.c
  211. sftp-server.8
  212. sftp-server.c
  213. sftp.1
  214. sftp.c
  215. sftp.h
  216. sk-api.h
  217. sk-usbhid.c
  218. smult_curve25519_ref.c
  219. sntrup761.c
  220. sntrup761.sh
  221. srclimit.c
  222. srclimit.h
  223. ssh-add.1
  224. ssh-add.c
  225. ssh-agent.1
  226. ssh-agent.c
  227. ssh-dss.c
  228. ssh-ecdsa-sk.c
  229. ssh-ecdsa.c
  230. ssh-ed25519-sk.c
  231. ssh-ed25519.c
  232. ssh-gss.h
  233. ssh-keygen.1
  234. ssh-keygen.c
  235. ssh-keyscan.1
  236. ssh-keyscan.c
  237. ssh-keysign.8
  238. ssh-keysign.c
  239. ssh-pkcs11-client.c
  240. ssh-pkcs11-helper.8
  241. ssh-pkcs11-helper.c
  242. ssh-pkcs11.c
  243. ssh-pkcs11.h
  244. ssh-rsa.c
  245. ssh-sandbox.h
  246. ssh-sk-client.c
  247. ssh-sk-helper.8
  248. ssh-sk-helper.c
  249. ssh-sk.c
  250. ssh-sk.h
  251. ssh-xmss.c
  252. ssh.1
  253. ssh.c
  254. ssh.h
  255. ssh2.h
  256. ssh_api.c
  257. ssh_api.h
  258. ssh_config
  259. ssh_config.5
  260. sshbuf-getput-basic.c
  261. sshbuf-getput-crypto.c
  262. sshbuf-io.c
  263. sshbuf-misc.c
  264. sshbuf.c
  265. sshbuf.h
  266. sshconnect.c
  267. sshconnect.h
  268. sshconnect2.c
  269. sshd.8
  270. sshd.c
  271. sshd_config
  272. sshd_config.5
  273. ssherr.c
  274. ssherr.h
  275. sshkey-xmss.c
  276. sshkey-xmss.h
  277. sshkey.c
  278. sshkey.h
  279. sshlogin.c
  280. sshlogin.h
  281. sshpty.c
  282. sshpty.h
  283. sshsig.c
  284. sshsig.h
  285. sshtty.c
  286. survey.sh.in
  287. TODO
  288. ttymodes.c
  289. ttymodes.h
  290. uidswap.c
  291. uidswap.h
  292. umac.c
  293. umac.h
  294. umac128.c
  295. utf8.c
  296. utf8.h
  297. verify.c
  298. version.h
  299. xmalloc.c
  300. xmalloc.h
  301. xmss_commons.c
  302. xmss_commons.h
  303. xmss_fast.c
  304. xmss_fast.h
  305. xmss_hash.c
  306. xmss_hash.h
  307. xmss_hash_address.c
  308. xmss_hash_address.h
  309. xmss_wots.c
  310. xmss_wots.h
README.md

Portable OpenSSH

C/C++ CI Fuzzing Status

OpenSSH is a complete implementation of the SSH protocol (version 2) for secure remote login, command execution and file transfer. It includes a client ssh and server sshd, file transfer utilities scp and sftp as well as tools for key generation (ssh-keygen), run-time key storage (ssh-agent) and a number of supporting programs.

This is a port of OpenBSD's OpenSSH to most Unix-like operating systems, including Linux, OS X and Cygwin. Portable OpenSSH polyfills OpenBSD APIs that are not available elsewhere, adds sshd sandboxing for more operating systems and includes support for OS-native authentication and auditing (e.g. using PAM).

Documentation

The official documentation for OpenSSH are the man pages for each tool:

Stable Releases

Stable release tarballs are available from a number of download mirrors. We recommend the use of a stable release for most users. Please read the release notes for details of recent changes and potential incompatibilities.

Building Portable OpenSSH

Dependencies

Portable OpenSSH is built using autoconf and make. It requires a working C compiler, standard library and headers.

libcrypto from either LibreSSL or OpenSSL may also be used, but OpenSSH may be built without it supporting a subset of crypto algorithms.

zlib is optional; without it transport compression is not supported.

FIDO security token support needs libfido2 and its dependencies. Also, certain platforms and build-time options may require additional dependencies; see README.platform for details.

Building a release

Releases include a pre-built copy of the configure script and may be built using:

tar zxvf openssh-X.YpZ.tar.gz
cd openssh
./configure # [options]
make && make tests

See the Build-time Customisation section below for configure options. If you plan on installing OpenSSH to your system, then you will usually want to specify destination paths.

Building from git

If building from git, you'll need autoconf installed to build the configure script. The following commands will check out and build portable OpenSSH from git:

git clone https://github.com/openssh/openssh-portable # or https://anongit.mindrot.org/openssh.git
cd openssh-portable
autoreconf
./configure
make && make tests

Build-time Customisation

There are many build-time customisation options available. All Autoconf destination path flags (e.g. --prefix) are supported (and are usually required if you want to install OpenSSH).

For a full list of available flags, run configure --help but a few of the more frequently-used ones are described below. Some of these flags will require additional libraries and/or headers be installed.

FlagMeaning
--with-pamEnable PAM support. OpenPAM, Linux PAM and Solaris PAM are supported.
--with-libeditEnable libedit support for sftp.
--with-kerberos5Enable Kerberos/GSSAPI support. Both Heimdal and MIT Kerberos implementations are supported.
--with-selinuxEnable SELinux support.
--with-security-key-builtinInclude built-in support for U2F/FIDO2 security keys. This requires libfido2 be installed.

Development

Portable OpenSSH development is discussed on the openssh-unix-dev mailing list (archive mirror). Bugs and feature requests are tracked on our Bugzilla.

Reporting bugs

Non-security bugs may be reported to the developers via Bugzilla or via the mailing list above. Security bugs should be reported to openssh@openssh.com.