Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Why is 22 the default port number for SFTP? [closed]

Tags:

port

sftp

ftp

Why is 22 the default port number for SFTP? Is there any specific reason for this?

like image 268
trilawney Avatar asked Jun 07 '11 13:06

trilawney


People also ask

Is port 22 always SFTP?

SFTP (SSH file transfer protocol) uses port number 22 by default, but can be configured to listen on different ports.

How do I open SFTP port 22 on Windows server?

or go to Control Panel > System and Security > Windows Defender Firewall1 > Advanced Settings > Inbound Rules and add a new rule for port 22.

Is SFTP port 22 TCP or UDP?

SFTP runs over an SSH session, usually on TCP port 22. It has been around since late 1990s. The acronym actually stands for "SSH File Transfer Protocol".

What is port 22 usually used for?

By default, port 22 is open on all IBM StoredIQ hosts. The port is used for Secure Shell (SSH) communication and allows remote administration access to the VM. In general, traffic is encrypted using password authentication.


2 Answers

It's the default SSH port and SFTP is usually carried over an SSH tunnel.

like image 56
marto Avatar answered Oct 06 '22 01:10

marto


Why is 21 the default port for FTP? Or 80 the default for HTTP? It is a convention.

like image 43
CristiC Avatar answered Oct 06 '22 02:10

CristiC