作者: strongalex 時間: 2009-2-5 15:56 標題: about sftp
anybody know how to change the port of sftp ?
作者: corvus 時間: 2009-2-5 16:12
SFTP server?
Just change the listening port of your SSH server.
作者: strongalex 時間: 2009-2-5 16:14
can i have different ports with ssh and sftp?
作者: little_keung 時間: 2009-2-5 16:25
sftp is a sub-system under ssh.
So, you cannot seperate sftp from ssh.
BTW, what is your purpose ? Would you tell us your story ?
作者: strongalex 時間: 2009-2-5 16:37
咁ssh 可以開放2個port的嗎?
開左後, sftp 都可以用到2個port, 對嗎?
作者: corvus 時間: 2009-2-5 17:21 標題: 回覆 5# 的帖子
Simply run 2 instances of ssh server on different ports.
作者: howdy 時間: 2009-2-5 17:30
The "Port" directive would be what you need. Listening to more than one port is possible and easy.
作者: little_keung 時間: 2009-2-5 17:31
You can have single copy of SSHD listen on 2 seperate port or 2 different copy of software listen on their own port seperately.
作者: corvus 時間: 2009-2-5 17:35
原帖由 little_keung 於 2009-2-5 17:31 發表
You can have single copy of SSHD listen on 2 seperate port or 2 different copy of software listen on their own port seperately.


