FTP access disable in AIX


 
Thread Tools Search this Thread
Operating Systems AIX FTP access disable in AIX
# 1  
Old 03-30-2009
FTP access disable in AIX

Hello,

I have AIX machine communication to mainframe machine. From AIX machine, i have to use always SSH communication. For this, i have created SSH tunnel in AIX machine and using FTP with SSH.

Now both connections are working:
1) only FTP to mainframe machine
2) create SSH and do FTP with SSH.

The problem i have is, i do not want FTP alone working. At any case, FTP alone should not be possible. It should support only SSH connection.

How to restrict FTP communication ?
# 2  
Old 03-30-2009
FTP needs to commented in /etc/inetd.conf and then execute 'refresh -s inetd'.
# 3  
Old 03-30-2009
Quote:
Originally Posted by amitranjansahu
FTP needs to commented in /etc/inetd.conf and then execute 'refresh -s inetd'.
Sorry. My question does not include full details..

From my AIX machine, I have to disable FTP to only one mainframe machine. Because, there are several machines which are communicating to my AIX machine with FTP.
# 4  
Old 03-30-2009
see the man page of man ftphosts

you can deny ftp from hosts

allow ftp 10.0.0.*
deny ftp 10.*.*.*
allow ftp *
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Solaris

Disable create subdirectory Solaris 8 ftp

Running Solaris 10. For FTP users or groups, I want to prevent them from creating new subdirectories, but I still want to allow them to create, upload, download files from the subdirs. I understand how to set the general file/directory permissions -- read, write, execute. So for a directory,... (0 Replies)
Discussion started by: themonman
0 Replies

2. HP-UX

Disable GSSAPI when using an FTP client?

We have two HP-UX machines, both are B.11.31. When I FTP from the HP-UX boxes to a remote IBM server,- HP-UX 1: Connected to xxxx. 220-FTPD1 IBM FTP CS V1R12 at R2, 12:24:39 on 2013-08-30. 220 Connection will close if idle for more than 15 minutes. Name (xxxx:user): HP-UX 2:... (2 Replies)
Discussion started by: CaptNemo
2 Replies

3. UNIX for Dummies Questions & Answers

Disable multimedia access in Linux

is there a way on how to disable multimedia access in linux like ubuntu? in this way user will not be able to play media files. (via command line or grapical tool) (1 Reply)
Discussion started by: lhareigh890
1 Replies

4. HP-UX

FTP service Enable/Disable

hi everybody, I can easily enable /disable the FTP service from SAM, how can I do this via command line? using inetd? how? cheers, messi (1 Reply)
Discussion started by: messi777
1 Replies

5. AIX

ftp access without shell access

Hi all, I'm using AIX v 5.3 I want to create system users to access through ftp or sftp and restrict those users into specific directory and don't traverse the whole file system just to be restricted within a directory and don't get shell access . i don't want to use any other third party... (7 Replies)
Discussion started by: h@foorsa.biz
7 Replies

6. Solaris

Disable ftp

HI all, I am using Solaris 10 and would like to know if it possible to disable ftp use for a single entry in my /etc/hosts file. Thanks (5 Replies)
Discussion started by: pxy2d1
5 Replies

7. Solaris

How do I disable Remote Access ?

During the Solaris 10 installation, I answered "Yes" at the "Activate Remote Access" screen - or something like that. I know this is a security issue and I want it disabled now. How can I disable remote access ? Thanks. (4 Replies)
Discussion started by: chinezu'
4 Replies

8. UNIX for Advanced & Expert Users

Disable ftp on web browser

Hi there, how can i disable the possibility of accessing hp-ux with ftp in the web browser? is there any way to do this? thanks (2 Replies)
Discussion started by: vascobrito
2 Replies

9. UNIX for Dummies Questions & Answers

Disable anonymous ftp????

How do i disable anonymous ftp on a unix system?????? Please help!!!!!!!1 (2 Replies)
Discussion started by: rrivas
2 Replies
Login or Register to Ask a Question