-2

I am exploring SSH source codes that I cloned from github repo (https://github.com/openssh/openssh-portable.git). I want to compile a file but it includes a <config.h> header file that doesn't exist in cloned directory. How can I fix this ? Thank you in advance.

Nane Petrosyan
  • 553
  • 1
  • 7
  • 19

1 Answers1

4

openssh-portable/configure.ac#L21:

AC_CONFIG_HEADERS([config.h])

config.h is created by autoconf utility program (see here). You need to run

autoreconf
./configure

to configure your build env before you run make command.

Check out the official INSTALL and README.md for more information.