PDA

View Full Version : Chrooted SSH/SFTP need help


docean
13th March 2008, 03:09
Hello, I've installed a Debian Etch base system and am following a tutorial I found on here to install ssh so i can use putty. I'm getting the following error when I run this:
wget http://chrootssh.sourceforge.net/download/openssh-4.5p1-chroot.tar.bz2
tar xvfj openssh-4.5p1-chroot.tar.bz2
cd openssh-4.5p1-chroot
./configure --exec-prefix=/usr --sysconfdir=/etc/ssh --with-pam
make
make install

error states : wget unrecognized option '--exec-prefix=/usr'

can anyone help me with this please?

Thank You

dc

Leszek
13th March 2008, 11:34
You can try this:
./configure --prefix=/usr --sysconfdir=/etc/ssh --with-pam

docean
13th March 2008, 20:01
Leszek thank you for the reply, tried your suggestion now I get

wget: unrecognized option `--prefix=/usr'

what should i try next?

dc

falko
14th March 2008, 14:20
Leszek doesn't want you to change the wget command. What he means is: change this command:
./configure --exec-prefix=/usr --sysconfdir=/etc/ssh --with-pam
to this one:
./configure --prefix=/usr --sysconfdir=/etc/ssh --with-pam

docean
17th March 2008, 17:46
thank you for the reply falko I've ditched this install and started over I have used your Perfect Server tutorial for Debian Etch and also installed ISPConfig and all has went well...thank you. I'm having a problem though with logging into my pop3 server from my windows xp client using outlook. Should I start a new thread or post the last 100 lines from /var/log/mail.log here?

thanks again!

dan

falko
18th March 2008, 17:26
Should I start a new thread or post the last 100 lines from /var/log/mail.log here?

Start a new thread and post the errors from your mail log there. :)