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 Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

SFTP not working on RedHat7.2

Status
Not open for further replies.

bmulvey

IS-IT--Management
Sep 25, 2002
20
US
Hi,

I have an Internet FTP server running on RH 7.2 (Enigma) with all the updates.

I need now to allow SFTP for some users. I have checked sshd_config and all looks ok to call the sftp-server sybsystem. THe sshd was already running.

Another box I have with RH 7.1 works for SFTP straight off with no extra config.

I modified the 7.2 box config files to allow the same as the 7.1 files and ran "kill -HUP" on the pid of sshd, but still no joy.

I am currently using Up2date to patch the machine bang up to date, but I was wondering if anyone had any ideas?

Thanks
 
Check logs. Check connectivity (telnet to port 22). Try to connect with ssh and -vvv. Restart sshd (/etc/init.d/sshd restart).
 
Hi pupu,

Thanks for this, I have finally go to the bottom of my problem. THe ipchains (RedHats Firewall) was blocking the port 22 access.

I had to add the line:

-A input -s 0/0 -d 0/0 22 -p tcp -y -j ACCEPT

to /etc/sysconfig/ipchains

Thanks for your input.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top