![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| AIX AIX is IBM's industry-leading UNIX operating system that meets the demands of applications that businesses rely upon in today's marketplace. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| .netrc and ftp | magikalpnoi | AIX | 4 | 07-07-2008 03:22 AM |
| using .netrc | sveera | UNIX for Advanced & Expert Users | 6 | 03-26-2008 04:58 PM |
| .netrc file | grandtheftander | UNIX for Dummies Questions & Answers | 2 | 07-26-2006 12:10 PM |
| .netrc limits in Aix 4.3 | lawadm1 | UNIX for Advanced & Expert Users | 0 | 03-23-2005 01:48 AM |
| Help in .netrc | edu_escandor | UNIX for Dummies Questions & Answers | 2 | 03-22-2005 07:12 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
.netrc and Automatic ftp problem
Guy's
We have two AIX servers Server1 and Server2 and we have created user1 in Server1 and Server2 ... and .netrc file was confiured under /home/user1 with the below line machine server2 login user1 password abc1234567 -rw------- 1 user1 staff 159 Sep 28 2004 .netrc When I try to do FTP to the belwo I'm getting the below message and its asking me user name and password ! ftp server2 Connected to server2 220 server2 FTP server (Version 4.2 Wed Apr 11 11:55:13 CDT 2007) ready. Name (server2 :user1): is there any missing or needed configuration need to be done on the server to let the FTP continuing to server2 without asking for password ? edit by bakunin: corrected spelling in the title to make it findable by the forum search Last edited by bakunin; 06-23-2009 at 07:07 AM.. |
|
||||
|
You might want to re-read what methyl told you: you have placed the ".netrc" file in /home/user1 and perhaps there is a user account "user1" you want to use.
It might be that you accidentally started the ftp process not while you are user1 but root (or some other user, root is just the most probable one) and therefore your .netrc is not being used. Probably you are writing a script to run the whole process. Insert an "id" command directly above the "ftp" command to find out. I hope this helps. bakunin |
|
||||
|
.netrc are configured under /home/user1 and I'm trying to do Automatic ftp from this directory and with user1 !
but still I'm getting this message and its asking me to login ftp server2 Connected to server2 220 server2 FTP server (Version 4.2 Wed Apr 11 11:55:13 CDT 2007) ready. Name (server2 :user1): I think system is not reading the contains of .netrc ! Last edited by ITHelper; 06-23-2009 at 09:05 AM.. |
|
||||
|
Quote:
These Configuration of .netrc should be done in server1 in this example. did you checked that? |
|
||||
|
Yes , it's already been done in the both but still not working !
Last edited by ITHelper; 06-24-2009 at 08:12 AM.. |
| Sponsored Links | ||
|
|