Link to home
Start Free TrialLog in
Avatar of Williams225
Williams225

asked on

Urgent : How to disable sftp on AIX

Hi, I am having an issue. I activated sftp on aix servers and now, its creating lots of issues on the server.

How can i roll back without creating any risks.

to activate sftp i have used the procedure bellow


echo 'SSHD: ALL' >> /etc/hosts.allow

And then restart the sshd service:

stopsrc -s sshd ; startsrc -s sshd

Open in new window


ASKER CERTIFIED SOLUTION
Avatar of Brad Howe
Brad Howe
Flag of Canada image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Hi,

what you did with hosts.allow has nothing to do with sftp in particular, but with sshd in general.

If it's this what's causing your issues rather edit /etc/hosts.allow and remove the SSHD line.

Then restart sshd.

wmp