dont want sftp on OpenSSH
I have openssh on one of my conputers, but I want to run a real FTPD on it, 2 questions.
1) what port does sftp run on? 2) if it is indeed port 21, how to I tell openssh to disable sftp. |
sftp uses the ssh port, tcp port 22, so you can run both openssh and an ftp server on the same computer.
|
You could always comment out teh following line in /etc/ssh/sshd_config:
Subsystem sftp /usr/libexec/openssh/sftp-server Restart the sshd service and then it won't allow connections :) |
Quote:
#MaxStartups 10 # no default banner path #Banner /some/path #VerifyReverseMapping no # override default of no subsystems # Subsystem sftp /usr/libexec/openssh/sftp-server Any suggestions on what to do next? |
All times are GMT -5. The time now is 05:14 AM. |