Operating System - HP-UX
1754325 Members
2450 Online
108813 Solutions
New Discussion юеВ

What is the port used for SFTP.

 
SOLVED
Go to solution
Silver_1
Regular Advisor

What is the port used for SFTP.

All,

Any idea what is the port used for SFTP in HPUX. The port may be same for all Operating systems.

Thanks,
Nair
5 REPLIES 5
HGN
Honored Contributor

Re: What is the port used for SFTP.

Hi

The detail is here

sftp 115/tcp #Simple File Transfer Protocol

Hope this helps

Rgds

HGN
Silver_1
Regular Advisor

Re: What is the port used for SFTP.

Yes i have seen it inthe /etc/services. But is confused with Secure FTP.

Do it use the same port as 115 or being it is part of SSH it uses the 22 port.?

Tx,
Nair
Denver Osborn
Honored Contributor

Re: What is the port used for SFTP.

OpenSSH's sftp will connect to port 22 by default. This can be changed with the "-p" option or in the ssh_config file. This is the target port# it will connect to, it's not a listner. The listner will be port 22 (default) for sshd. That can be changed in the sshd_config.

hope this helps,
-denver
Gerhard Roets
Esteemed Contributor
Solution

Re: What is the port used for SFTP.

Hi Nair

If this is secure ftp ... the initial connection setup port will be 22 as per ssh protcol spec.

The connection afterwards will be then move to a port in the "dynamic" port allocation range.

HTH
Gerhard
Silver_1
Regular Advisor

Re: What is the port used for SFTP.

SFTP works with SSH.