- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- sftp port 22
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-11-2009 06:19 PM
тАО12-11-2009 06:19 PM
Is there a way of finding out the default sftp port (i.e. 22) that's used in a UX 11v2.3 server?
Is it in the ssh_config file?
In /etc/services file, there's a "sftp 115" entry. Does this mean that the default port of 22 is not being used but 115 instead?
I am confused about these entries. Are they referring to the same thing?
Thanks in advance.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-11-2009 06:29 PM
тАО12-11-2009 06:29 PM
Solution115 SFTP
http://www.iana.org/assignments/port-numbers
...is correct. This is used for batch encrypted file transfers. Not the same as logging in on port 22 SSH. Just a different network service.
Don't be confused. You recognize that one is a login while the other is not, right? The other port 115 is just a different network service. That's all.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-11-2009 09:30 PM
тАО12-11-2009 09:30 PM
Re: sftp port 22
Noted and thanks for your reply.
Is there a need for me to explicitly set anything to tell the server to use port 22 or by default it is already using port 22.
On the other hand, if I specifically do not want to use port 22, where should I define this "alternate" port?
Sorry if I am asking silly questions. I am trying to troubleshoot some sftp issues.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-11-2009 10:40 PM
тАО12-11-2009 10:40 PM
Re: sftp port 22
> sftp port (i.e. 22) that's used in a UX
> 11v2.3 server?
The answer to this depends on some (missing)
context. Do you mean the port on which the
SFTP server is listening, or the port which
SFTP client program will try to use by
default?
> http://www.iana.org/assignments/port-numbers
You mean where it says this?:
sftp 115/tcp Simple File Transfer Protocol
sftp 115/udp Simple File Transfer Protocol
Compare:
dy # man sftp
SFTP(1) SFTP(1)
NAME
sftp - secure file transfer program
[...]
"Secure" and "Simple" are spelled differently
for a reason.
> Are they referring to the same thing?
No. Very different.
"man ssh" explains how to specify a different
port, but the default is 22, and that holds
for SSH, and SCP, and SFTP, too.
> Is it in the ssh_config file?
That's yet another place where you could
specify a different port (for the client).
man ssh_config
Adding "-v" to an ssh or sftp command should
enable enough diagnostics to reveal which
port it's trying to use. For example:
dy # sftp -v dy
Connecting to dy...
OpenSSH_4.3p2-hpn, OpenSSL 0.9.7i 14 Oct 2005
HP-UX Secure Shell-A.04.30.006, HP-UX Secure Shell version
debug1: Reading configuration data /opt/ssh/etc/ssh_config
debug1: Connecting to dy [10.0.0.39] port 22.
[...]
The port on which the SSH (SCP, SFTP, ...)
_server_ listens is also normally 22, but
that default port number may be overridden by
a specification in the _server's_
configuration file.
man sshd
man sshd_config
> [...] UX 11v2.3 [...]
Huh? Actual "uname -a" output can be more
useful than defective interpretations.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-11-2009 11:24 PM
тАО12-11-2009 11:24 PM
Re: sftp port 22
You can't change it. If another box wants to login via ssh, he is expecting port 22.
Everybody has the same map, this is the map.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-12-2009 12:43 AM
тАО12-12-2009 12:43 AM
Re: sftp port 22
man ssh
man ssh_config
man sshd
man sshd_config
> Everybody has the same map, this is the map.
http://www.google.com/search?q=ssh+alternate+port
This must be some new meaning for
"everybody".
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-12-2009 03:16 AM
тАО12-12-2009 03:16 AM
Re: sftp port 22
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-13-2009 05:24 PM
тАО12-13-2009 05:24 PM