Make sure you have set the permissions on ~/.netrc so that only
your user account can read the file. If your home directory is on a
network filesystem, consider moving it to a local disk and making
~/.netrc a symbolic link to the local version.
Staying Authenticated - Windows:
To stay authenticated by saving the password, append the following line to the %HOME%\_netrc configuration file:
Ensure %HOME% is configured in the environment to be the same
location as %USERPROFILE%. Note that by default, Windows systems willnot define the environment variable %HOME%; you must explicitly add it:
Start menu -> Computer -> (right click) -> Properties -> Advanced System Settings -> Environment Variables
Make sure you have set the permissions on %HOME%\_netrc so that only your user account can read the file.