openssh-8.7p1
depend
1 file changed
tree: 5cc446cb6be95d08671dc0338a0794563036f584
  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. md5crypt.c
  130. md5crypt.h
  131. mdoc2man.awk
  132. misc.c
  133. misc.h
  134. mkinstalldirs
  135. moduli
  136. moduli.5
  137. moduli.c
  138. monitor.c
  139. monitor.h
  140. monitor_fdpass.c
  141. monitor_fdpass.h
  142. monitor_wrap.c
  143. monitor_wrap.h
  144. msg.c
  145. msg.h
  146. mux.c
  147. myproposal.h
  148. nchan.c
  149. nchan.ms
  150. nchan2.ms
  151. openssh.xml.in
  152. opensshd.init.in
  153. OVERVIEW
  154. packet.c
  155. packet.h
  156. pathnames.h
  157. pkcs11.h
  158. platform-misc.c
  159. platform-pledge.c
  160. platform-tracing.c
  161. platform.c
  162. platform.h
  163. poly1305.c
  164. poly1305.h
  165. progressmeter.c
  166. progressmeter.h
  167. PROTOCOL
  168. PROTOCOL.agent
  169. PROTOCOL.certkeys
  170. PROTOCOL.chacha20poly1305
  171. PROTOCOL.key
  172. PROTOCOL.krl
  173. PROTOCOL.mux
  174. PROTOCOL.sshsig
  175. PROTOCOL.u2f
  176. readconf.c
  177. readconf.h
  178. README
  179. README.dns
  180. README.md
  181. README.platform
  182. README.privsep
  183. README.tun
  184. readpass.c
  185. rijndael.c
  186. rijndael.h
  187. sandbox-capsicum.c
  188. sandbox-darwin.c
  189. sandbox-null.c
  190. sandbox-pledge.c
  191. sandbox-rlimit.c
  192. sandbox-seccomp-filter.c
  193. sandbox-solaris.c
  194. sandbox-systrace.c
  195. sc25519.c
  196. sc25519.h
  197. scp.1
  198. scp.c
  199. servconf.c
  200. servconf.h
  201. serverloop.c
  202. serverloop.h
  203. session.c
  204. session.h
  205. sftp-client.c
  206. sftp-client.h
  207. sftp-common.c
  208. sftp-common.h
  209. sftp-glob.c
  210. sftp-realpath.c
  211. sftp-server-main.c
  212. sftp-server.8
  213. sftp-server.c
  214. sftp.1
  215. sftp.c
  216. sftp.h
  217. sk-api.h
  218. sk-usbhid.c
  219. smult_curve25519_ref.c
  220. sntrup761.c
  221. sntrup761.sh
  222. srclimit.c
  223. srclimit.h
  224. ssh-add.1
  225. ssh-add.c
  226. ssh-agent.1
  227. ssh-agent.c
  228. ssh-dss.c
  229. ssh-ecdsa-sk.c
  230. ssh-ecdsa.c
  231. ssh-ed25519-sk.c
  232. ssh-ed25519.c
  233. ssh-gss.h
  234. ssh-keygen.1
  235. ssh-keygen.c
  236. ssh-keyscan.1
  237. ssh-keyscan.c
  238. ssh-keysign.8
  239. ssh-keysign.c
  240. ssh-pkcs11-client.c
  241. ssh-pkcs11-helper.8
  242. ssh-pkcs11-helper.c
  243. ssh-pkcs11.c
  244. ssh-pkcs11.h
  245. ssh-rsa.c
  246. ssh-sandbox.h
  247. ssh-sk-client.c
  248. ssh-sk-helper.8
  249. ssh-sk-helper.c
  250. ssh-sk.c
  251. ssh-sk.h
  252. ssh-xmss.c
  253. ssh.1
  254. ssh.c
  255. ssh.h
  256. ssh2.h
  257. ssh_api.c
  258. ssh_api.h
  259. ssh_config
  260. ssh_config.5
  261. sshbuf-getput-basic.c
  262. sshbuf-getput-crypto.c
  263. sshbuf-io.c
  264. sshbuf-misc.c
  265. sshbuf.c
  266. sshbuf.h
  267. sshconnect.c
  268. sshconnect.h
  269. sshconnect2.c
  270. sshd.8
  271. sshd.c
  272. sshd_config
  273. sshd_config.5
  274. ssherr.c
  275. ssherr.h
  276. sshkey-xmss.c
  277. sshkey-xmss.h
  278. sshkey.c
  279. sshkey.h
  280. sshlogin.c
  281. sshlogin.h
  282. sshpty.c
  283. sshpty.h
  284. sshsig.c
  285. sshsig.h
  286. sshtty.c
  287. survey.sh.in
  288. TODO
  289. ttymodes.c
  290. ttymodes.h
  291. uidswap.c
  292. uidswap.h
  293. umac.c
  294. umac.h
  295. umac128.c
  296. utf8.c
  297. utf8.h
  298. verify.c
  299. version.h
  300. xmalloc.c
  301. xmalloc.h
  302. xmss_commons.c
  303. xmss_commons.h
  304. xmss_fast.c
  305. xmss_fast.h
  306. xmss_hash.c
  307. xmss_hash.h
  308. xmss_hash_address.c
  309. xmss_hash_address.h
  310. xmss_wots.c
  311. 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.