Ethical Hacking Learn to find vulnerabilities before the bad guys do! Gain real world hands on hacking experience in our state of the art hacking lab. Course designed and taught by expert instructors with years of penetration testing experience. 12 student maximum in every class. Certification attempt included in every package. | Computer Forensics Training at InfoSec Institute Gain the in-demand skills of a certified computer examiner, learn to recover trace data left behind by fraud, theft, and cybercrime perpetrators. Discover the source of computer crime and abuse at your organization so that it never happens again. All of our class sizes are guaranteed to be 12 students or less to facilitate one-on-one interaction with one of our expert instructors. |

| Subject: | Problems with cross-compiled OpenSSH |
|---|---|
| Date: | Fri, 01 Jun 2007 08:11:46 -0500 |
Hello All, I have successfully cross-compiled OpenSSH, but when I try to start the sshd process on my target system, it complains as follows: /home/dallas/openssh_install/etc/sshd_config: No such file or directory. Sure enough, that directory does not exist because that is where the makefile installed the files on the host from which I did the cross-compilation from. The path should have been '/etc/sshd_config' instead. It looks like the incorrect path is somehow embedded in the sshd executable. I am configuring openssh as follows for cross-compilation: ./configure --prefix=/home/dallas/openssh_install \ --with-zlib=/home/dallas/zlib_install \ --with-ssl-dir=/homd/dallas/openssl_install \ CC=i686-unknown-linux-gnu-gcc If I do a make and then a make install, the various config files are installed to /home/dallas/openssh_install/etc However, I would like for the various executables to look for the config files in the /etc directory on my target system. Does anyone know how to do this properly? I can see that there is a --sysconfdir option, which if I set to /etc/ssh, the make install will try to install the config files to that directory on my cross-compiling host system which I do not want!! Any help greatly appreciated!
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Auditing SSH logs, Flavio Junior |
|---|---|
| Next by Date: | Re: Privilege separation user sshd does not exist, Dallas Clement |
| Previous by Thread: | Auditing SSH logs, Flavio Junior |
| Next by Thread: | Re: Problems with cross-compiled OpenSSH, Darren Tucker |
| Indexes: | [Date] [Thread] [Top] [All Lists] |