
If you are looking to connect to an SFTP server the default port is 22, but what if the provided port details that you have is not 22, you will need to use -P option to provide the custom port details,
Example Connect to SFTP Custom Port:# sftp -P 8020 user-name@sftp-server-host-name.com
(user-name@sftp-server-host-name.com) Password:
Connected to sftp-server-host-name.com.
sftp>
As you can see by using -P option followed by the port number you can connect to a specific port.
- FileZilla Connection time out Failed to retrieve directory listing
- How to switch between sftp and Terminal shell
- How to connect to the SFTP location using Terminal command
- [Solution] SFTP File 22 not found Connection closed
- How to Copy a remote file to local using SFTP command?
- List of 60 useful FTP Client Commands to access server
- Check help on commands while being on sftp> prompt
- 10 FTP SFTP Clients and Alternatives
- How to SFTP to port different than 22 (Custom port)
- Install Python on Alpine Linux - Docker - Docker
- Calculate Sum of List elements using Java Streams - Java
- [fix] URI is not registered (Settings | Languages & Frameworks | Schemas and DTDs) IntelliJ - Java
- Merge multiple zip files without unzipping (extracting) - HowTos
- 9 Ways to Loop Java Map (HashMap) with Code Examples - Java
- Cannot start Android Studio. No JDK found - Android-Studio
- How to turn off Stage Manager - macOS Ventura - MacOS
- How to enable line numbers in IntelliJ Android Studio for all files - Android-Studio