Find the answer to your Linux question:
Results 1 to 5 of 5
Hello Guys, I've got a box running SSH which i connect to through putty and WinSCP to transfer files to the box using the sFTP protocol. I am now looking ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Jun 2006
    Posts
    49

    SFTP, FTP and SSH


    Hello Guys,

    I've got a box running SSH which i connect to through putty and WinSCP to transfer files to the box using the sFTP protocol.

    I am now looking to connect using my Coldfusion webserver, unfortunatly the CF webserver doesn't support sFTP and only supports FTP.

    Is there anyway to allow standard FTP connections through the SSH server or do i need to install a seperate application on my box to manage my FTP connections?

    I've been playing around all afternoon with other FTP software such as vsftpd and pure-ftp but not been able to get them running so i can connect.

    your thoughts would be appreciated.

    Thanks,

    Rob

  2. #2
    Linux Enthusiast
    Join Date
    Jun 2005
    Posts
    668
    hi,

    just install the ftpd package in n/ and enable it by uncommenting the ftp line in /etc/inetd.conf

    kernow@server:~$ grep ftp /etc/inetd.conf
    #ftp stream tcp nowait root /usr/sbin/tcpd vsftpd
    ftp stream tcp nowait root /usr/sbin/tcpd proftpd

  3. #3
    Just Joined!
    Join Date
    Jun 2006
    Posts
    49
    Thanks for getting back to me Kern,

    I had installed the svftpd app and couldn't figure out why it wasnt working, after poking around for an hour or two i found the inet.conf file, and as you have pointed out just uncommented it and everything works a charm now.

    Thanks,

    Rob

  4. $spacer_open
    $spacer_close
  5. #4
    Just Joined!
    Join Date
    Jun 2006
    Posts
    49
    Just out of interest, do you know anything about securing that FTP slightly?

    At the moment i'm just login as root from the ftp connection, i would MUCH rather have a special user for logging in to the FTP, and then only give them access to a small range of files.

    Thanks,

    Rob

  6. #5
    Linux Enthusiast
    Join Date
    Jun 2005
    Posts
    668
    Just create normal users and they will be able to ftp using their normal password and username, to their $HOME

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •