hi Scott,

Try specifying it with the -o switch. The 'Port' option should do what you're asking. For example:

sftp -oPort=10022 user@xxxxxxxxxxx


Also, FWIW... in my copy of the manual pages, -P is 'server path', not port...
http://www.scottklement.com/cgi-bin/man2web?program=sftp&section=1


On 8/9/2011 3:34 PM, Scott Schollenberger wrote:
I have a client that needs to download a file daily from their bank.
The bank wants us to connection on port 10022 for SFTP.

The MAN page for SFTP on the OpenSSH web site indicates that the -P
command can be used to set a different port, but that doesn't work
from our V5R4 server. SFTP still tries to connection on port 22 and
eventually the connection times out.


This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2026 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.