Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Changing the FTP timeout setting 1

Status
Not open for further replies.

MCubitt

Programmer
Mar 14, 2002
1,081
0
0
GB
When I FTP to our AIX box, the connection times out after 900 seconds. This is the default.

Documentation says to use SMIT to change this default but fails to say where the option is or how to do it.

Any help?
 
As root edit the system file /etc/inetd.conf
ftp stream tcp nowait root /usr/sbin/ftpd ftpd -t 1800

After refresh of the inetd subsystem the timeout will be 1800 seconds. Refreshing is accomplished by the line command
refresh -s inetd

or by the smitty - Processes & Subsystems - Subsystems - Refresh a Subsystem menu selection.

--
| Mike Nixon
| Unix Admin
|
----------------------------
 
PS the above is a permenant change for temp change use

temporarily for an existing ftp session
As normal user the ftp subcommand
site idle 1800

will do the job. The currently valid timeout can be queried by the ftp subcommand
site idle



--
| Mike Nixon
| Unix Admin
|
----------------------------
 
Many thanks. This was my thought but I preferred to check with the guys who know!

Thanks again.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top