The .netrc file is a text file residing in your home directory that contains remote user names and passwords for use by the rexec command.
The format for each line is as follows:
machine remote_machine_name login remote_username password string
This method of storing remote user names and passwords is very insecure. To minimize the risk of other user reading the plain text passwords in the file, you should limit the access permissions on the file to only the user it contains passwords for.
A ~/.netrc containing the line
machine colossus login guest password guess
allows the command
rexec colossus ls
to run the ls on the remote machine colossus as the user guest with the password guess.
This product includes software developed by the University of California, Berkeley and its contributors.
Windows Vista. Windows 7. Windows Server 2008. Windows 8. Windows Server 2012. Windows 10.
PTC MKS Toolkit for System Administrators
PTC MKS Toolkit for Developers
PTC MKS Toolkit for Interoperability
PTC MKS Toolkit for Professional Developers
PTC MKS Toolkit for Enterprise Developers
PTC MKS Toolkit for Enterprise Developers 64-Bit Edition
MKS Toolkit Connectivity Solutions Guide
PTC MKS Toolkit 10.0 Documentation Build 6.