I tried to set the loginshell to /usr/bin/false but then the ftp account didn't seem to work that well either. I suppose it depends on what ftp server you are using. On my Linux box with proftpd you could set so that you don't require a valid login shelll for the ftp-account. I think this would be the solution (after checking )
There are many FTP clients for Mac, paid, and free. I tested 7 most popular FTP clients with GUI and provided their descriptions below. I also provided upload and download speeds. And here's what I have found. Captain FTP is the fastest client on Mac with an upload speed of 14.24 MB/s. It is also in the top three when it comes to downloading data. FileZilla is the quickest FTP client to download with a speed. Dec 03, 2020 WinSCP Alternatives for Mac. WinSCP is not available for Mac but there are plenty of alternatives that runs on macOS with similar functionality. The most popular Mac alternative is FileZilla, which is both free and Open Source. If that doesn't suit you, our users have ranked more than 50 alternatives to WinSCP and many of them are available for.
NOTE: Please read the whole message before beginning to change your system.
1. Instead of using /usr/bin/false as a login shell for the ftp-user use /sbin/nologin instead. So open up the NetInfo manager, go to the ftp user and set the login-shell to /sbin/nologin instead.
2. Then we must tell the ftp-server that /sbin/nologin is a valid shell for the ftp-server. Open the file /etc/shells file with your favourite editor and put /sbin/nologin on an empty row (you could see how the other valid shells are written in the file). Now if users are logging in via ssh they will get a message that they are not allowed to log in (the /etc/shells file only seems to apply to the ftp server, and not other login processes).
Here's some additional tips to make the ftp server a bit more secure.
3. chroot users to their home directory. What this means in plain english is that, what appears to be the root directory for users that logs in via ftp - is their home directory. In other words they can't go outside of their home directory and download other files in the system.
You configure this chrooting thing, by creating the file /etc/ftpchroot (if it doesn't already exist). There you put one username on each row for users you want to be 'caught' in their home directory.
NOTE: If you have created links or aliases that points to directories outside of the chrooted environment they will probably not work. So if you have done that you probably should skip this step even though it might make your system more secure.
NOTE2: In Linux I know a way of making virtual mounts so you could mount one directory into another, and even mount them with a read-only option, this should be very secure. Haven't got it to work correctly in OS X though, I will investigate this and reply to my message with an update if I find a solution.
FINALLY a completely optional step for users that would like to make their ftp configuration even nicer.
4. If you want the users of your ftp-server to recieve a welcome message when they are accessing your ftp you could easily accomplish that by creating the file /etc/ftpwelcome and then write some nice message that would be displayed to users before they log in.
A tip what to write would probably be your e-mail and name, and some rules for the ftp server for instance
5. If you want information displayed to users after they login you should edit the /etc/motd (message of the day) file. I don't think that this only applies for users connecting to your ftp server, but also for users logging in via ssh.
Ok I think that was all my tips I could give concerning the ftp server. For additional information you should check out the manual page for ftpd.
And remember, if you're not that used to working with a *nix system, be careful what you write in the terminal, you could render your system unusable if you are not careful. Don't want to scare people off, just a warning :-)
Oh and one more thing. If the terminal says that you don't have permission to do a certain action you could always type the command sudo before the actual command like this: and then write in the password for the user you logged in as (assuming that you are an administrator of the OS X system)
CrossFTP/Pro/Enterprise 1.99.6
Download CrossFTP/Pro/Enterprise for Windows, Mac, and Linux. CrossFTP Pro/Enterprise's evaluation will turn back to the Free CrossFTP after 30 days.
Windows | Mac OS X |
Debian | Web Start Download (jnlp) run CrossFTP from web. |
Portable Download (Require JDK 7+) for Win, Mac, Linux, and Solaris. CrossFTP Commander is included. | Others |
Installation Troubleshooting
- Mac Installation Issue:
'CrossFTP.app' is damaged and can't be opened. You should move it to the Trash.
Solution: Please choose 'Allow apps downloaded from: Anywhere' in your System Preferences -> Security & Privacy.
- Linux Installation Issue:
How to install on non-debian linux?
Please download the portable package, extract the content to a folder, and go into that folder. After that,
1. Add the execution permission for run_client.sh by:
chmod +x ./run_client.sh
2. execute run_client.sh to start CrossFTP client by:
./run_client.sh
If you met any issues, please check if Java is properly installed on your system and available in the path; you are running CrossFTP in GUI.
- Debian based Linux installation guide:
System requirement: JDK 7+.
Use the following commands to install CrossFTP on Debian based Linux, such as Ubuntu. (Background context: Sometimes Ubuntu Software Center alerts me: 'Bad quality packet'):
1. Download the deb package, e.g., crossftp_deb_package.deb
2. Go to the downloaded deb file's folder, and execute:
sudo dpkg -i ./crossftp_deb_package.deb
For uninstall, you can use the following command:
sudo dpkg --remove corssftp
- JNLP web start issue:
If you met one of the following issues:
- Java applications are blocked by your security settings.
- Missing Application-Name manifest attribute
- Missing required Permissions manifest attribute in main jar
On Windows, you can go to Java Control Center.
Or on Mac/Linux/Win, you can use 'javaws -viewer' command to open the Java Control Center
After that, follow this link to solve the blocked issue.
Mac Ftp Upload
Cannot edit/open file on Mac
On Mac, if you met issues to edit or open file, such as 'Cannot run program '/usr/bin/open': error=2, No such file or directory', please:
Download and install non-AppStore version CrossFTP from this page. See this page for details.
Archived version:
Mac Ftp Gui Linux
Mac OS X 10.3 or JDK 1.4 users can download CrossFTP 1.53 here.
2. execute run_client.sh to start CrossFTP client by:
./run_client.sh
If you met any issues, please check if Java is properly installed on your system and available in the path; you are running CrossFTP in GUI.
- Debian based Linux installation guide:
System requirement: JDK 7+.
Use the following commands to install CrossFTP on Debian based Linux, such as Ubuntu. (Background context: Sometimes Ubuntu Software Center alerts me: 'Bad quality packet'):
1. Download the deb package, e.g., crossftp_deb_package.deb
2. Go to the downloaded deb file's folder, and execute:
sudo dpkg -i ./crossftp_deb_package.deb
For uninstall, you can use the following command:
sudo dpkg --remove corssftp
- JNLP web start issue:
If you met one of the following issues:
- Java applications are blocked by your security settings.
- Missing Application-Name manifest attribute
- Missing required Permissions manifest attribute in main jar
On Windows, you can go to Java Control Center.
Or on Mac/Linux/Win, you can use 'javaws -viewer' command to open the Java Control Center
After that, follow this link to solve the blocked issue.
Mac Ftp Upload
Cannot edit/open file on Mac
On Mac, if you met issues to edit or open file, such as 'Cannot run program '/usr/bin/open': error=2, No such file or directory', please:
Download and install non-AppStore version CrossFTP from this page. See this page for details.
Archived version:
Mac Ftp Gui Linux
Mac OS X 10.3 or JDK 1.4 users can download CrossFTP 1.53 here.
Mac Ftp Gui Plugin
Documents
- Blog - Our product news and intro.
- Manual - CrossFTP User Manual.
- Knowledge Base - Here you may find the answer for your question.
- Tutorials - CrossFTP tutorials.
- Privacy Policy - CrossFTP privacy policies.
- PAD file - PAD file of CrossFTP.
- Reseller Program - Become our affiliate partner.