![]() Just in case you are still working with passwords, you can simply connect to the remote system by clicking the Left or Right menu or, alternatively, pressing F9+L (or F9+R) and then selecting Shell link. I hope you have disabled password authentication for SSH on all your Linux machines. Connect to the remote host with SSH in Midnight Commander The main advantage over SCP on the command line is that you can also list the contents of the remote system, and the advantage over SFTP is that you don't have leave your shell and work on the SFTP console. When transferring files via SSH in Midnight Commander, you have to keep in mind that Midnight Commander uses FISH for remote shell connections, which does not require SCP to be installed on the remote system. On your local system, you just have to install Midnight Commander once with a simple one-liner (for instance, on Ubuntu): sudo apt install mcįiles transferred over shell protocol (FISH) If you have to copy files to another server, you don't have to install anything on the remote system. The file manager also allows you to remotely edit files using nano.īecause you can run Midnight Commander in a SSH terminal window, you can work with it on any Linux machine without a desktop environment, such as GNOME or KDE. In Midnight Commander, you can just select each file with CTRL+T and then copy or move it.Īnother very useful feature is that if you want to view the contents of a file, you can simply hit F3. My guess is that the tool's name stems from the fact that you can use it in the middle of the night without worrying about moving the wrong files due to a lack of concentration. While it is certainly a matter of taste, it is also often a matter of speed.Ĭopying or moving files with Midnight Commander is usually faster than the CLI if you have to skim a large number of files to decide which files you want to copy. ![]() ![]() If you are a Linux admin, you are used to working on a command line and might wonder why you would need a file manager with a GUI. ![]() Midnight Commander has an almost identical user interface because there was really not much to improve about Norton Commander. Midnight Commander is a clone of Norton Commander, a file manager for MS-DOS that I have been using since long before Windows existed. ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |