automatic login linux ftp without displaying password
- Angelo Schalley
- Aug, 29, 2010
- Linux, Networking, security
- No Comments
create file /root/.netrc
put in :
machine ftp.ftpserver.com
user testuser
password testpass
chmod 400 /root/.netrc
don’t forget to chmod, so you have to be root to be able to access the file.
test by just typing ftp ftp.ftpserver.com
et voila, your logged in without using a user or pass