LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   ssh and sftp using different port in the same time (https://www.linuxquestions.org/questions/linux-server-73/ssh-and-sftp-using-different-port-in-the-same-time-4175418955/)

invincible 07-27-2012 09:52 AM

ssh and sftp using different port in the same time
 
hi there,

Is it possible that ssh and sftp are using defferent port in same time?

Eg, ssh using 22; sftp using 2222.

22 only accept ssh conneciont;
2222 only accept sftp connection ?

Kustom42 07-27-2012 12:20 PM

Short answer: no
http://en.wikipedia.org/wiki/SSH_File_Transfer_Protocol

invincible 07-29-2012 12:56 AM

Thank you Kustom42.

chrism01 07-29-2012 07:18 PM

Actually, you can https://www.linuxquestions.org/quest...on-rhel5-3495/

Kustom42 07-30-2012 11:34 AM

chrism01 is right, I had never thought about using another config file with a different port and just spawning another process sourcing that file. Sorry about the wrong answer here.


All times are GMT -5. The time now is 02:14 PM.