Board logo

標題: about sftp [打印本頁]

作者: 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

原帖由 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?
作者: little_keung    時間: 2009-2-5 16:25

原帖由 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 ?
作者: 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

原帖由 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.
作者: little_keung    時間: 2009-2-5 17:31

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


  又學到野





歡迎光臨 電腦領域 HKEPC Hardware (https://h2.hkepc.com/forum/) Powered by Discuz! 7.2