Problem: Remote AIX5.3 and local Windows XP Require the root permission and telnet function to transfer files to AIX. FTP problem in CMD: C: \ DocumentsandSettings \ dotaftp192.168.1.66ftp: connect: Unknown error code: ftpquit has an unknown error code. It is suspected that the FTP service on AIX is not started on AIX: # v
Problem:
Remote AIX 5.3, local Windows XP, file transfer to AIX
Currently, you have the root permission, teLnEt function.
FTP problems in CMD:
C: \ Documents ents and Settings \ dota>Ftp192.168.1.66
> Ftp: connect: Unknown error code
Ftp> quit
An unknown error code exists. It is suspected that the FTP service on AIX is not started.
On AIX:
# Vi/etc/inetd. conf
# Ftp sTrEam tCp6 nowait root/usr/sbin/ftpd
#TelnetStream tcp6 nowait root/usr/sbin/telnetd-
# Shell stream tcp6 nowait root/usr/sbin/rshd
# Kshell stream tcp nowait root/usr/sbin/krshd
# Login stream tcp6 nowait root/usr/sbin/rlogind
# Klogin stream tcp nowait root/usr/sbin/krlogind
Remove the FTP service # Number
Wq save and exit
# Refresh-s inetd
0513-095 The requestSuBsystem refresh was completEdSuccessfully.
Go back to CMD and try again.
No specific error code is reported. It is suspected that it is related to the firewall. The current situation is that the windows Firewall Service has stopped, but the driver-level kernel of the firewall still seems to be useful, so enable the firewall and try again, allow this access
C: \ Documents ents and Settings \ dota> ftp 192.168.1.66
Connected to 192.168.1.66.
220 shipf FTP server (Version 4.2 Sun Aug 8 08:57:21 CDT 2010) ready.
User (192.168.1.66 :( none): root
530 the User root access denied.
Login failed.
Ftp> quit
221 GoodBye.
C: \ Documents ents and Settings \ dota> ftp 192.168.1.66: 21
Unknown host 192.168.1.66: 21.
Ftp> quit
C: \ Documents ents and Settings \ dota> ftp 192.168.1.66
Connected to 192.168.1.66.
220 shipf FTP server (Version 4.2 Sun Aug 8 08:57:21 CDT 2010) ready.
User (192.168.1.66 :( none): root
530 the User root access denied.
Login failed.
Ftp> quit
221 Goodbye.
Error 530 reported. Continue to check the user
Suspected FTP user problems
#More/Etc/ftpusers
Root
#
# Vi/etc/ftpusers
Root
The original root was rejected, removed, and wq was saved and exited.
CMD try again
C: \ Documents ents and Settings \ dota> ftp 192.168.1.66
Connected to 192.168.1.66.
220 shipf FTP server (Version 4.2 Sun Aug 8 08:57:21 CDT 2010) ready.
User (192.168.1.66 :( none): root
331 Password required for root.
Password:
230-Last unsuccessful login: Tue May 3 22:26:42 BEIDT 2011 on/dev/pts/0 from 1
92.161.68
230-Last login: Tue Jul 26 13:18:08 BEIDT 2011 on/dev/pts/0 from 192.168.1.68
230 The User root logged in.
Ftp> quit
221 Goodbye.
Access successful. Try FTP software connection.
Status: Connecting 192.168.1.66: 21...
Status: Connection established, waiting for the welcome message...
Response: 220 shipf FTP server (Version 4.2 Sun Aug 8 08:57:21 CDT 2010) ready.
Command: USER root
Response: 331 Password required for root.
Command: PASS ****
Response: 230-Last unsuccessful login: Tue May 3 22:26:42 BEIDT 2011 on/dev/pts/0 from 192.168.1.68
Response: 230-Last login: Tue Jul 26 16:58:22 BEIDT 2011 on ftp from: ffff: 192.168.1.68
230 User root logged in.
Command: SYST
Response: 215 UNIX Type: L8 Version: BSD-44
Command: FEAT
Response: 500 'feat': command not understood.
Status: connected
Status: Read directory list...
Command: PWD
Response: 257 conflict /" is current directory.
Command: TYPE I
Response: 200 TypeSetTo I.
Command: PASV
Response: 227 Entering Passive Mode (192,168, 39)
Command: LIST
Response: 150 Opening data connection for/bin/Ls.
Response: 226 Transfer complete.
Status: the directory is successfully listed.
Successful! Next, upload the software Media