Home arrow Latest Tutorials arrow Configure Midnight Commander FTP client
Configure Midnight Commander FTP client PDF
Wednesday, 14 October 2009

This tutorial shows you how to configure Midnight Commander FTP client to connect to a server using username/password stored on local drive. It is useful when you use many FTP accounts and you do not want to enter username/password every time but just hostname. Also it is usefull when your username is in form of: "username@hostname" and Midnight Commander will not let you enter username@hostname@hostname to login, and if you enter only hostname it will try to connect to that hostname anonimously.

Step 1
-------
Create a file .netrc in the root of your user account.


Step 2
-------
Set permissions 600 and set the user as the owner of .netrc file.


Step 3
-------
Enter for each FTP host a line like the following (in .netrc file):

machine yourdomain.com login john password yourpasshere

For a .netrc line you will only modify:
  yourdomain.com
  john (put your username instead)
  yourpasshere (put your password instead)

Keywords: machine, login, password will remain unchanged.

That's all.

Last Updated ( Wednesday, 11 January 2012 )
 
< Prev   Next >

Other BSD Systems

OpenBSD

Misc

Solaris

Polls

Best BSD firewall?