Chris --
-p doesn't work. Illegal option
sftp -vvv -p 10022 nameofbank.com
sftp: illegal option -- p
usage: sftp [-1Cv] [-B buffer_size] [-b batchfile] [-F ssh_config]
[-o ssh_option] [-P sftp_server_path] [-R num_requests]
[-S program] [-s subsystem | sftp_server] host
sftp [[user@]host[:file [file]]]
sftp [[user@]host[:dir[/]]]
sftp -b batchfile [user@]host
$
-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx [mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Chris Bipes
Sent: Tuesday, August 09, 2011 4:55 PM
To: 'Midrange Systems MIDRANGE List'
Subject: RE: How do I make SFTP attempt its connection to the server on a different port than port 22?
The -P must be lower case -p
--
Chris Bipes
Director of Information Services
CrossCheck, Inc.
-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx [mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Scott Schollenberger
Sent: Tuesday, August 09, 2011 1:34 PM
To: Midrange Systems MIDRANGE List
Subject: How do I make SFTP attempt its connection to the server on a different port than port 22?
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.
<html>
<body>
________________________________ Scott Schollenberger Vice President, Research & Development P: 610-239-9988 x305 F: 610-239-9995 E: SSchollenberger@xxxxxxxxxxxxxxxxxx [
http://www.harriscomputer.com/images/signatures/HarrisSchools.gif] [
http://www.harriscomputer.com/images/signatures/DivisionofHarris.gif]
100-2011 Renaissance Blvd. King of Prussia, PA 19406 www.harris-schoolsolutions.com This message is intended exclusively for the individual or entity to which it is addressed. This communication may contain information that is proprietary, privileged or confidential
or otherwise legally exempt from disclosure. If you are not the named addressee, you are not authorized to read, print, retain, copy or disseminate this message or any part of it. If you have received this message in error, please notify the sender immediately
by e-mail and delete all copies of the message.
</body>
</html>
As an Amazon Associate we earn from qualifying purchases.