OpenSSH-5.6p1 (chapter 19, server) only needs OpenSSL-1.0.0b as a required dependency.
It (OpenSSH) installs scp (among other things, see bottom of the page Contents). There's absolutely no need to install curl (it does not install any openssh components). You need to copy the freshly created scp to /usr/bin (as stated in the book: To run the test suite, first copy the scp program to /usr/bin).
Some info about the configure, make, make test and make install process:
1) The configure step checks/gathers info that is needed to build the program,
2) The make step creates the executables and other needed files. These files are made inside the source directory!!
3) The make test step tests the newly created executables,
4) The make install step copies the newly created and now tested files to their final destination on your sytem.
So once you finish the configure and make step, you find (among other files) scp, ssh and sshd in the OpenSSH-5.6p1 source directory. What the book is telling you is to copy the newly created scp file to /usr/bin.
Hope this clears things up a bit.
Last edited by druuna; 03-07-2011 at 05:37 AM.
Reason: Added missing parentheses