multiple sshd on different ports
I am completely new to sshd and would to know how to separate sftp and ssh and run on different ports.
a) sftp on port x
b) ssh on port 22
I searched from the web and there are no detailed instructions. They suggested something like separating sshd_config into two files (file A and file B) and run two instances. Each instance points to its configuration file.
However, they didnt write down the detailed procedure of
a) how to modify file A and file B (i.e. which line should insert specific commands)?
b) how to run two instances?
c) how to point each instance to its config file.
I am using Linux CentOS and the latest open-ssh.
Thanks a lot for your help!!!
Last edited by chesschi; 05-17-2011 at 11:39 AM.