SFTP on I-Series V5.4 with a different port than 22

80 pts.
Tags:
SFTP
Dear team, We are connecting our I-Series machine V5.4 with a Linux server using SFTP but the port enabled in the Linux server is 586, non the port 22. Please can you tell us what is the format for the instruction in a batch mode in order to use the port 586 instead the port 22? We are using: CALL PGM(QP2SHELL) PARM('/QOpenSys/QIBM/ProdData/SC1/OpenSSH/openssh-3.5p1/bin/sftp' '-b' '/home/cltran/sftp204I.txt' 'ftpenex@64.76.163.87') Thanks in advance, Best regards, Carlos Leiva

Software/Hardware used:
I-Series V5.4
ASKED: August 29, 2012  4:55 PM

Answer Wiki

Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Discuss This Question: 2  Replies

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
  • TomLiotta
    If you're going to use functions for security, you should obtain documentation first. Then read it and understand it. Improper use of security functions can open vulnerabilities that are too easily missed because of a belief that "things are now secure".   You're using OpenSSH, so the documentation for sftp is found through the OpenSSH web site. On the sftp statement, use the -o ssh_option to specify the remote port.   Tom 
    125,585 pointsBadges:
    report
  • hmsolrac77
    Tom, Many thanks for you soon answer. It was very helpfull. Best regards, Carlos Leiva
    80 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following