Find the answer to your Linux question:
Results 1 to 5 of 5
Hello to all the gurus, i am new to linux. i have some questions regarding to ssh and vsftp servers. i have fedora core 5 running in my machine. when ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Jan 2007
    Location
    Canada
    Posts
    3

    Unhappy help for SSH and VSFTP


    Hello to all the gurus, i am new to linux. i have some questions regarding to ssh and vsftp servers.

    i have fedora core 5 running in my machine. when i finished install fedora core 5, ssh and vsftp are already with the system. Currently i want get vsftp server running, and at the same time i want to get the logging file in the vsftp. but no matter how i edit the vsftp.conf file accoring to the information from internet, the logging file still doesn't exist in the default directory(var/log/vsftp.log).
    i tried all kind of way to debug the problem, but still it is not working.
    here is some weird thing that happen in my computer. i tried use ps aux, it shows me all the process is happening in my computer. it showed that ssh and vsftp are running. i am able to access, download and upload to/from my server using winscp at the remove computer with the username and password that i have assigned to. i tried stop the vsftp service, then i am still able to do accessing, dowloading and uploading. But when i stoped ssh service, i can't access the server anymore. i was wondering am i actuall not using vsftp. can you guys explain to me the relation between SSH and vsftp? and how can i get a logging file?
    i appricate your help!!!

  2. #2
    Just Joined!
    Join Date
    Jan 2007
    Posts
    44
    SCP, secure copy does not use VSFTPD, it uses sshd, so if you stop sshd the scp won't be able to work.

  3. #3
    Linux Guru anomie's Avatar
    Join Date
    Mar 2005
    Location
    Texas
    Posts
    1,692
    You normally have to create log files (if they do not exist) and give them proper permissions before the daemon can write to them.
    e.g. touch /var/log/vsftp.log -- then make the owner of the log file the same as the user that runs the daemon, and give him write access.

    As mentioned, vsftpd has nothing to do with sshd.

    Client tools / daemons:
    • ssh - secure shell, connects to listening sshd.
    • scp - secure copy, connects to listening sshd.
    • sftp - ssh ftp, connects to listening sshd with sftp subsystem running; this is not using the ftp protocol.
    • ftp - file transfer protocol, connects to listening ftp server (such as vsftpd).

  4. $spacer_open
    $spacer_close
  5. #4
    Just Joined!
    Join Date
    Jan 2007
    Location
    Canada
    Posts
    3
    Thanks !! k_amisi

  6. #5
    Just Joined!
    Join Date
    Jan 2007
    Location
    Canada
    Posts
    3
    Thanks !!! Anomie

Posting Permissions

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