Date: Fri, 5 Jan 2001 14:41:28 -0500 (EST) From: Rob Simmons <rsimmons@wlcg.com> To: Wonderful One <hellaenergy@hellaweb.com> Cc: FreeBSD Questions <questions@FreeBSD.ORG> Subject: Re: Sftp Port Message-ID: <Pine.BSF.4.21.0101051439550.62020-100000@mail.wlcg.com> In-Reply-To: <NEBBLEAIKDEGHDGAPLJMCELLCLAA.hellaenergy@hellaweb.com>
next in thread | previous in thread | raw e-mail | index | archive | help
If I were you, I would enable the sftp subsystem of OpenSSH. Its part of the core OS. Look at the sshd(8) man page for more details. Robert Simmons Systems Administrator http://www.wlcg.com/ On Fri, 5 Jan 2001, Wonderful One wrote: > Hello FreeBSD-Security, >=20 > Who here has installed sftp from the FreeBSD port and had success? I have > tried and all I seem to get are problems. What I did was download the > sftp.tar and then copied the pub/FreeBSD/branches/-current/ports/ftp/sftp > into /usr/ports/ftp. Then I cd=92ed in to /usr/ports/ftp/sftp and typed m= ake. > Here is what happens: >=20 > make > >> .tar.gz doesn't seem to exist on this system. > >> Attempting to fetch from ftp://ftp.xbill.org/pub/sftp/. > grep: /usr/ports/ftp/sftp/files/md5: No such file or directory > fetch: pub/sftp/.tar.gz: cannot get remote modification time > fetch: ftp://ftp.xbill.org/pub/sftp/.tar.gz: FTP error: > fetch: File unavailable (e.g., file not found, no access) > >> Attempting to fetch from > ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/. > grep: /usr/ports/ftp/sftp/files/md5: No such file or directory > fetch: pub/FreeBSD/ports/distfiles/.tar.gz: cannot get remote modificatio= n > time > fetch: ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/.tar.gz: FTP err= or: > fetch: File unavailable (e.g., file not found, no access) > >> Couldn't fetch it - please try to retrieve this > >> port manually into /usr/ports/distfiles/ and try again. > *** Error code 1 >=20 > Stop in /usr/ports/ftp/sftp. > *** Error code 1 >=20 > Stop in /usr/ports/ftp/sftp. > *** Error code 1 >=20 > Stop in /usr/ports/ftp/sftp. > *** Error code 1 >=20 > Stop in /usr/ports/ftp/sftp. > *** Error code 1 >=20 > Stop in /usr/ports/ftp/sftp. > *** Error code 1 >=20 > Stop in /usr/ports/ftp/sftp. > *** Error code 1 >=20 > Stop in /usr/ports/ftp/sftp. >=20 >=20 > And here is the blasted makefile that came with the FreeBSD port: >=20 > more Makefile > # New ports collection makefile for: sftp > # Date created: 30 December 1999 > # Whom: Cy Shubert <Cy.Shubert@uumail.gov.bc.ca> > # > # $FreeBSD: ports/ftp/sftp/Makefile,v 1.9 2000/10/08 00:58:54 asami Exp $ > # >=20 > PORTNAME=3D sftp > PORTVERSION=3D 0.9.6 > CATEGORIES=3D ftp security > MASTER_SITES=3D ftp://ftp.xbill.org/pub/sftp/ >=20 > MAINTAINER=3D Cy.Schubert@uumail.gov.bc.ca >=20 > .include <bsd.port.pre.mk> >=20 > .if ${OSVERSION} < 400014 > RUN_DEPENDS=3D ssh:${PORTSDIR}/security/openssh > .endif >=20 > RESTRICTED=3D "Calls external cryptographic routines." >=20 > GNU_CONFIGURE=3D yes > CONFIGURE_ARGS=3D --enable-remotepath=3D${PREFIX}/libexec >=20 > MAN1=3D secftp.1 >=20 > PLIST=3D ${WRKDIR}/.PLIST >=20 > do-install: > ${INSTALL_PROGRAM} ${WRKSRC}/sftp ${PREFIX}/bin/secftp > ${LN} -s ${PREFIX}/bin/secftp ${PREFIX}/bin/rsftp > ${INSTALL_PROGRAM} ${WRKSRC}/sftpserv ${PREFIX}/libexec/sftpserv > ${INSTALL_MAN} ${WRKSRC}/sftp.1 ${PREFIX}/man/man1/secftp.1 > ${CP} ${PKGDIR}/pkg-plist.in ${PLIST}.unsorted > @if [ ! -f ${PREFIX}/bin/sftp ]; then \ > ${ECHO} "No other sftp found, linking sftp to secftp"; \ > ${LN} -s ${PREFIX}/bin/secftp ${PREFIX}/bin/sftp; \ > ${LN} -s ${PREFIX}/man/man1/secftp.1.gz > ${PREFIX}/man/man1/sftp.1.gz; \ > ${ECHO} bin/sftp >> ${PLIST}.unsorted; \ > ${ECHO} man/man1/sftp.1.gz >> ${PLIST}.unsorted; \ > else \ > ${ECHO} "Other sftp found, not linking sftp to secftp"; \ > fi > @sort -u ${PLIST}.unsorted > ${PLIST} >=20 > .include <bsd.port.post.mk> >=20 >=20 > What is a brother to do? >=20 > Hellaenergy >=20 >=20 >=20 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0101051439550.62020-100000>