× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Reading that, you'd think I had no education.

I meant, I have one question, and I meant space not quote.

Dang it's earlier, haven't had my mountain dew yet.

-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx [mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Schutte, Michael D
Sent: Wednesday, August 10, 2011 7:51 AM
To: Midrange Systems Technical Discussion
Subject: RE: How do I make SFTP attempt its connection to the server on a different port than port 22?

Yes, we are on V5R4 and this option does work. But I one question, should there be a space between the "-o" and "Port"? That's how I coded my string with the quote, but I'm not too familiar with using sftp.



-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx [mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Scott Klement
Sent: Tuesday, August 09, 2011 5:09 PM
To: Midrange Systems Technical Discussion
Subject: Re: How do I make SFTP attempt its connection to the server on a different port than port 22?

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 is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.

________________________________

Notice from Bob Evans Farms, Inc: This e-mail message, including any attachments, may contain confidential information that is intended only for the person or entity to which it is addressed. Any unauthorized review, use, disclosure or distribution is strictly prohibited. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message and any attachments.

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

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

This mailing list archive is Copyright 1997-2024 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.