Skip to main content

Allow user to use FTP command in SSH?

Comments

4 comments

  • quanin
    Where does "whereis ftp" tell you it's located? That might go a ways towards identifying your problem. You may need to run that command as root.
    0
  • AlexCl
    It's a standard Cpanel + Cloudlinux installation, so: # whereis ftp ftp: /usr/bin/ftp /usr/share/man/man1/ftp.1.gz
    0
  • quanin
    I can't reproduce your issue. As a non-root user, I can hit FTP from the command line. $ ftp ftp> exit Jailshell is enabled, so I don't think that's the source of your problem if you're doing the same. Could be the user's $path variable's messed up. Can you create another user to test with?
    0
  • cPanelLauren
    I've tried this on CloudLinux with the user in Jailshell and caged by CageFS with no issues - I'd lean more toward @quanin's suggestion being correct, there is something non-standard about the configuration that would cause this not to function.
    0

Please sign in to leave a comment.