about sftp

anybody know how to change the port of sftp ?

SFTP server?

Just change the listening port of your SSH server.

TOP

原帖由 corvus 於 2009-2-5 16:12 發表
SFTP server?

Just change the listening port of your SSH server.


can i have different ports with ssh and sftp?

TOP

原帖由 strongalex 於 2009-2-5 15:56 發表
anybody know how to change the port of sftp ?


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 ?

TOP

咁ssh 可以開放2個port的嗎?
開左後, sftp 都可以用到2個port, 對嗎?

TOP

回覆 5# 的帖子

Simply run 2 instances of ssh server on different ports.

TOP

原帖由 strongalex 於 2009-2-5 18:37 發表
咁ssh 可以開放2個port的嗎?
開左後, sftp 都可以用到2個port, 對嗎?


The "Port" directive would be what you need.  Listening to more than one port is possible and easy.

TOP

原帖由 strongalex 於 2009-2-5 16:37 發表
咁ssh 可以開放2個port的嗎?
開左後, sftp 都可以用到2個port, 對嗎?


You can have single copy of SSHD listen on 2 seperate port or 2 different copy of software listen on their own port seperately.

TOP

原帖由 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.


  又學到野

TOP