|
Configure Midnight Commander FTP client |
|
|
|
|
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 ovi password yourpasshere
That's all.
|