<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Unable to get SFTP working to remote server in Operating System - OpenVMS</title>
    <link>https://community.hpe.com/t5/operating-system-openvms/unable-to-get-sftp-working-to-remote-server/m-p/6975652#M46455</link>
    <description>&lt;P&gt;We installed the TCPIP Services ECO5 patches last night including the ECO5J remedial patch.&lt;/P&gt;&lt;P&gt;After installing the patches we re-ran our test file transfer and our contact at the remote server indicated that the SFTP file transfer was successfully received.&lt;/P&gt;&lt;P&gt;So it looks like the patches worked!&lt;/P&gt;</description>
    <pubDate>Tue, 05 Sep 2017 14:58:45 GMT</pubDate>
    <dc:creator>Dennis Piepel</dc:creator>
    <dc:date>2017-09-05T14:58:45Z</dc:date>
    <item>
      <title>Unable to get SFTP working to remote server</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/unable-to-get-sftp-working-to-remote-server/m-p/6975038#M46437</link>
      <description>&lt;P&gt;I am a longtime OpenVMS software developer and have been trying to get SFTP working for one of our customers but have been unsuccessful.&lt;/P&gt;&lt;P&gt;I have read in several forum posts that the SFTP utility in OpenVMS actually expects "Unix" style syntax, but I am not sure how to interpret that. &amp;nbsp;Normally, if I were trying to PUT a file from the DKA0:[MYDIR.SUB1] directory, I would enter a command like:&lt;/P&gt;&lt;P&gt;sftp&amp;gt; put [MYDIR.SUB1]TESTFILE.TXT&lt;/P&gt;&lt;P&gt;However, some of the forum posts indicate that the directory syntax should read like:&lt;/P&gt;&lt;P&gt;sftp&amp;gt; put \mydir\sub1\testfile.txt&lt;/P&gt;&lt;P&gt;Is that correct?&lt;/P&gt;&lt;P&gt;Do I need to worry about case sensitivity with SFTP commands?&lt;/P&gt;&lt;P&gt;If so, do I need to enclose arguments in quotes to preserve case?&lt;/P&gt;&lt;P&gt;I have also seen references that indicate that any files sent via SFTP on OpenVMS need to have Stream_LF record format rather than the default OpenVMS text format of "Variable length".&lt;/P&gt;&lt;P&gt;Is that true?&lt;/P&gt;&lt;P&gt;Here is a sample script that I tried using the "-v" option:&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;$ sftp -v "KTE@integration-test.gtnexus.com#18222"&lt;BR /&gt;Sftp2/SFTP2.C:5258: CRTL version (SYS$SHARE:DECC$SHARE ident) is: &amp;#127;ELF&lt;/P&gt;&lt;P&gt;SshFileCopy/SSHFILECOPY.C:1358: Making local connection.&lt;BR /&gt;Ssh2SftpServer/SSHFILEXFERS.C:2145: Received SSH_FXP_INIT&lt;BR /&gt;Ssh2SftpServer/SSHFILEXFERS.C:2190: version is 999&lt;BR /&gt;Ssh2SftpServer/SSHFILEXFERS.C:2252: Sending SSH_FXP_VERSION with sftp-version@openvms.hp.com as 3&lt;BR /&gt;SshFileXferClient/SSHFILEXFERC.C:1440: ssh_file_client_receive_proc: coming in with extension data, OpenVMS host&lt;BR /&gt;SshFileXferClient/SSHFILEXFERC.C:1491: vms_plus_sftp_version = 3&lt;BR /&gt;SshFileCopy/SSHFILECOPY.C:1297: Connection to local, ready to serve requests.&lt;BR /&gt;Sftp2/SFTP2.C:840: Connection ready.&lt;BR /&gt;SshReadLine/SSHREADLINE.C:3662: Initializing ReadLine...&lt;BR /&gt;SshFileCopy/SSHFILECOPY.C:1369: Connecting to remote host. (host = KTE@integration-test.gtnexus.com#18222, user = NULL, port = NULL)&lt;BR /&gt;argv[0] = /sys$system/tcpip$ssh_ssh2&lt;BR /&gt;argv[1] = -v&lt;BR /&gt;argv[2] = -x&lt;BR /&gt;argv[3] = -a&lt;BR /&gt;argv[4] = -o&lt;BR /&gt;argv[5] = passwordprompt %U@%H's password:&lt;BR /&gt;argv[6] = -o&lt;BR /&gt;argv[7] = authenticationnotify yes&lt;BR /&gt;argv[8] = KTE@integration-test.gtnexus.com#18222&lt;BR /&gt;argv[9] = -s&lt;BR /&gt;argv[10] = sftp&lt;BR /&gt;Sftp2/SFTP2.C:4442: notification: 0&lt;BR /&gt;Sftp2/SFTP2.C:4442: notification: 1&lt;/P&gt;&lt;P&gt;debug(28-AUG-2017 15:35:52.42): Ssh2/SSH2.C:1896: CRTL version (SYS$SHARE:DECC$SHR.EXE ident) is &amp;#127;ELF&lt;BR /&gt;debug(28-AUG-2017 15:35:52.44): SshAppCommon/SSHAPPCOMMON.C:313: Allocating global SshRegex context.&lt;BR /&gt;debug(28-AUG-2017 15:35:52.45): SshConfig/SSHCONFIG.C:3461: Metaconfig parsing stopped at line 4.&lt;BR /&gt;debug(28-AUG-2017 15:35:52.45): SshConfig/SSHCONFIG.C:887: Setting variable 'VerboseMode' to 'FALSE'.&lt;BR /&gt;debug(28-AUG-2017 15:35:52.47): SshConfig/SSHCONFIG.C:3369: Unable to open ssh2/ssh2_config&lt;BR /&gt;debug(28-AUG-2017 15:35:52.47): Connecting to integration-test.gtnexus.com, port 18222... (SOCKS not used)&lt;BR /&gt;debug(28-AUG-2017 15:35:52.47): Ssh2/SSH2.C:2881: Entering event loop.&lt;BR /&gt;debug(28-AUG-2017 15:35:52.54): Ssh2Client/SSHCLIENT.C:1609: Creating transport protocol.&lt;BR /&gt;debug(28-AUG-2017 15:35:52.54): SshAuthMethodClient/SSHAUTHMETHODC.C:104: Added "publickey" to usable methods.&lt;BR /&gt;debug(28-AUG-2017 15:35:52.54): Ssh2Client/SSHCLIENT.C:1650: Creating userauth protocol.&lt;BR /&gt;debug(28-AUG-2017 15:35:52.54): client supports 1 auth methods: 'publickey'&lt;BR /&gt;debug(28-AUG-2017 15:35:52.55): SshUnixTcp/SSHUNIXTCP.C:1750: using local hostname ktes01.KNAPHEIDE.COM&lt;BR /&gt;debug(28-AUG-2017 15:35:52.55): Ssh2Common/SSHCOMMON.C:541: local ip = 192.168.100.33, local port = 60700&lt;BR /&gt;debug(28-AUG-2017 15:35:52.55): Ssh2Common/SSHCOMMON.C:543: remote ip = 198.186.189.242, remote port = 18222&lt;BR /&gt;debug(28-AUG-2017 15:35:52.55): SshConnection/SSHCONN.C:2578: Wrapping...&lt;BR /&gt;debug(28-AUG-2017 15:35:52.55): SshReadLine/SSHREADLINE.C:3662: Initializing ReadLine...&lt;BR /&gt;debug(28-AUG-2017 15:35:52.63): Remote version: SSH-2.0-TradeCard 1.00 [SERVER]&lt;BR /&gt;debug(28-AUG-2017 15:35:52.64): Ssh2Transport/TRCOMMON.C:1113: Sending packet with type 2 to connection&lt;BR /&gt;debug(28-AUG-2017 15:35:52.64): Ssh2Transport/TRCOMMON.C:1113: Sending packet with type 20 to connection&lt;BR /&gt;debug(28-AUG-2017 15:35:52.64): Ssh2Transport/TRCOMMON.C:1113: Sending packet with type 2 to connection&lt;BR /&gt;debug(28-AUG-2017 15:35:52.64): Ssh2Transport/TRCOMMON.C:1113: Sending packet with type 30 to connection&lt;BR /&gt;debug(28-AUG-2017 15:35:52.69): Ssh2Transport/TRCOMMON.C:2756: &amp;gt;TR packet_type=20&lt;BR /&gt;debug(28-AUG-2017 15:35:52.69): Ssh2Transport/TRCOMMON.C:2318: lang s to c: `', lang c to s: `'&lt;BR /&gt;debug(28-AUG-2017 15:35:52.69): Ssh2Transport/TRCOMMON.C:2383: c_to_s: cipher 3des-cbc, mac hmac-sha1, compression none&lt;BR /&gt;debug(28-AUG-2017 15:35:52.69): Ssh2Transport/TRCOMMON.C:2386: s_to_c: cipher 3des-cbc, mac hmac-sha1, compression none&lt;BR /&gt;debug(28-AUG-2017 15:35:52.75): Ssh2Transport/TRCOMMON.C:2756: &amp;gt;TR packet_type=31&lt;BR /&gt;debug(28-AUG-2017 15:35:52.76): Remote host key found from database.&lt;BR /&gt;debug(28-AUG-2017 15:35:52.77): Ssh2Transport/TRCOMMON.C:1113: Sending packet with type 2 to connection&lt;BR /&gt;debug(28-AUG-2017 15:35:52.77): Ssh2Transport/TRCOMMON.C:1113: Sending packet with type 21 to connection&lt;BR /&gt;debug(28-AUG-2017 15:35:52.77): Ssh2Transport/TRCOMMON.C:1113: Sending packet with type 2 to connection&lt;BR /&gt;debug(28-AUG-2017 15:35:52.77): Ssh2Transport/TRCOMMON.C:1113: Sending packet with type 5 to connection&lt;BR /&gt;debug(28-AUG-2017 15:35:52.77): Ssh2Transport/TRCOMMON.C:2756: &amp;gt;TR packet_type=21&lt;BR /&gt;debug(28-AUG-2017 15:35:52.88): Ssh2Transport/TRCOMMON.C:2756: &amp;gt;TR packet_type=6&lt;BR /&gt;debug(28-AUG-2017 15:35:52.88): Ssh2Transport/TRCOMMON.C:1113: Sending packet with type 2 to connection&lt;BR /&gt;debug(28-AUG-2017 15:35:52.88): Ssh2Transport/TRCOMMON.C:1113: Sending packet with type 50 to connection&lt;BR /&gt;debug(28-AUG-2017 15:35:52.89): Ssh2Common/SSHCOMMON.C:342: Received SSH_CROSS_STARTUP packet from connection protocol.&lt;BR /&gt;debug(28-AUG-2017 15:35:52.89): Ssh2Common/SSHCOMMON.C:392: Received SSH_CROSS_ALGORITHMS packet from connection protocol.&lt;BR /&gt;debug(28-AUG-2017 15:35:52.95): Ssh2Transport/TRCOMMON.C:2756: &amp;gt;TR packet_type=51&lt;BR /&gt;debug(28-AUG-2017 15:35:52.95): server offers auth methods 'keyboard-interactive,publickey,password'.&lt;BR /&gt;debug(28-AUG-2017 15:35:52.95): Ssh2AuthPubKeyClient/AUTHC-PUBKEY.C:1677: adding keyfile "/DKA0/NIGHT/ssh2/hostkey" to candidates&lt;BR /&gt;debug(28-AUG-2017 15:35:52.95): Ssh2Transport/TRCOMMON.C:1113: Sending packet with type 2 to connection&lt;BR /&gt;debug(28-AUG-2017 15:35:52.95): Ssh2Transport/TRCOMMON.C:1113: Sending packet with type 50 to connection&lt;BR /&gt;debug(28-AUG-2017 15:35:53.02): Ssh2Transport/TRCOMMON.C:2756: &amp;gt;TR packet_type=60&lt;BR /&gt;debug(28-AUG-2017 15:35:53.02): Constructing and sending signature in publickey authentication.&lt;BR /&gt;debug(28-AUG-2017 15:35:53.02): Ssh2AuthPubKeyClient/AUTHC-PUBKEY.C:869: ssh_client_auth_pubkey_send_signature: reading /DKA0/NIGHT/&lt;BR /&gt;ssh2/hostkey&lt;BR /&gt;debug(28-AUG-2017 15:35:53.04): Ssh2Transport/TRCOMMON.C:1113: Sending packet with type 2 to connection&lt;BR /&gt;debug(28-AUG-2017 15:35:53.04): Ssh2Transport/TRCOMMON.C:1113: Sending packet with type 50 to connection&lt;BR /&gt;debug(28-AUG-2017 15:35:53.18): Ssh2Transport/TRCOMMON.C:2756: &amp;gt;TR packet_type=52&lt;BR /&gt;debug(28-AUG-2017 15:35:53.18): Ssh2AuthPubKeyClient/AUTHC-PUBKEY.C:1915: Public key authentication was successful.&lt;BR /&gt;debug(28-AUG-2017 15:35:53.18): Ssh2Common/SSHCOMMON.C:310: Received SSH_CROSS_AUTHENTICATED packet from connection protocol.&lt;BR /&gt;Sftp2/SFTP2.C:4442: notification: 0ReadLine/SSHREADLINE.C:3728: Uninitializing ReadLine...&lt;/P&gt;&lt;P&gt;Sftp2/SFTP2.C:4459: read char: ASsh2Common/SSHCOMMON.C:852: num_channels now 1&lt;BR /&gt;Sftp2/SFTP2.C:4461: read_bytes: 1, buffer len: 1&lt;BR /&gt;Sftp2/SFTP2.C:4463: received message:&lt;/P&gt;&lt;P&gt;00000000: 41 AON.C:1113: Sending packet with type 2 to connection&lt;BR /&gt;Sftp2/SFTP2.C:4459: read char: U&lt;/P&gt;&lt;P&gt;Sftp2/SFTP2.C:4461: read_bytes: 2, buffer len: 2COMMON.C:1113: Sending packet with type 90 to connection&lt;BR /&gt;Sftp2/SFTP2.C:4463: received message:&lt;BR /&gt;00000000: 4155 AU&lt;BR /&gt;Sftp2/SFTP2.C:4459: read char: T&lt;BR /&gt;Sftp2/SFTP2.C:4461: read_bytes: 3, buffer len: 3&lt;BR /&gt;Sftp2/SFTP2.C:4463: received message:&lt;BR /&gt;00000000: 4155 54 AUT&lt;BR /&gt;Sftp2/SFTP2.C:4459: read char: H&lt;BR /&gt;Sftp2/SFTP2.C:4461: read_bytes: 4, buffer len: 4&lt;BR /&gt;Sftp2/SFTP2.C:4463: received message:&lt;BR /&gt;00000000: 4155 5448 AUTH&lt;BR /&gt;Sftp2/SFTP2.C:4459: read char: E&lt;BR /&gt;Sftp2/SFTP2.C:4461: read_bytes: 5, buffer len: 5&lt;BR /&gt;Sftp2/SFTP2.C:4463: received message:&lt;BR /&gt;00000000: 4155 5448 45 AUTHE&lt;BR /&gt;Sftp2/SFTP2.C:4459: read char: N&lt;BR /&gt;Sftp2/SFTP2.C:4461: read_bytes: 6, buffer len: 6&lt;BR /&gt;Sftp2/SFTP2.C:4463: received message:&lt;BR /&gt;00000000: 4155 5448 454e AUTHEN&lt;BR /&gt;Sftp2/SFTP2.C:4459: read char: T&lt;/P&gt;&lt;P&gt;Sftp2/SFTP2.C:4461: read_bytes: 7, buffer len: 7COMMON.C:2756: &amp;gt;TR packet_type=91&lt;/P&gt;&lt;P&gt;Sftp2/SFTP2.C:4463: received message:nnection/SSHCONN.C:2306: &amp;gt;CXN packet_type=91&lt;BR /&gt;00000000: 4155 5448 454e 54 AUTHENT&lt;BR /&gt;Sftp2/SFTP2.C:4459: read char: I&lt;BR /&gt;Sftp2/SFTP2.C:4461: read_bytes: 8, buffer len: 8&lt;BR /&gt;Sftp2/SFTP2.C:4463: received message:&lt;/P&gt;&lt;P&gt;00000000: 4155 5448 454e 5449 AUTHENTI13: Sending packet with type 2 to connection&lt;/P&gt;&lt;P&gt;Sftp2/SFTP2.C:4459: read char: CSsh2Transport/TRCOMMON.C:1113: Sending packet with type 98 to connection&lt;BR /&gt;Sftp2/SFTP2.C:4461: read_bytes: 9, buffer len: 9&lt;BR /&gt;Sftp2/SFTP2.C:4463: received message:&lt;BR /&gt;00000000: 4155 5448 454e 5449 43 AUTHENTIC&lt;BR /&gt;Sftp2/SFTP2.C:4459: read char: A&lt;BR /&gt;Sftp2/SFTP2.C:4461: read_bytes: 10, buffer len: 10&lt;BR /&gt;Sftp2/SFTP2.C:4463: received message:&lt;BR /&gt;00000000: 4155 5448 454e 5449 4341 AUTHENTICA&lt;BR /&gt;Sftp2/SFTP2.C:4459: read char: T&lt;BR /&gt;Sftp2/SFTP2.C:4461: read_bytes: 11, buffer len: 11&lt;BR /&gt;Sftp2/SFTP2.C:4463: received message:&lt;BR /&gt;00000000: 4155 5448 454e 5449 4341 54 AUTHENTICAT&lt;BR /&gt;Sftp2/SFTP2.C:4459: read char: E&lt;BR /&gt;Sftp2/SFTP2.C:4461: read_bytes: 12, buffer len: 12&lt;BR /&gt;Sftp2/SFTP2.C:4463: received message:&lt;BR /&gt;00000000: 4155 5448 454e 5449 4341 5445 AUTHENTICATE&lt;BR /&gt;Sftp2/SFTP2.C:4459: read char: D&lt;BR /&gt;Sftp2/SFTP2.C:4461: read_bytes: 13, buffer len: 13&lt;BR /&gt;Sftp2/SFTP2.C:4463: received message:&lt;BR /&gt;00000000: 4155 5448 454e 5449 4341 5445 44 AUTHENTICATED&lt;BR /&gt;Sftp2/SFTP2.C:4459: read char:&lt;BR /&gt;Sftp2/SFTP2.C:4461: read_bytes: 14, buffer len: 14&lt;BR /&gt;Sftp2/SFTP2.C:4463: received message:&lt;BR /&gt;00000000: 4155 5448 454e 5449 4341 5445 4420 AUTHENTICATED&lt;BR /&gt;Sftp2/SFTP2.C:4459: read char: Y&lt;BR /&gt;Sftp2/SFTP2.C:4461: read_bytes: 15, buffer len: 15&lt;BR /&gt;Sftp2/SFTP2.C:4463: received message:&lt;BR /&gt;00000000: 4155 5448 454e 5449 4341 5445 4420 59 AUTHENTICATED Y&lt;BR /&gt;Sftp2/SFTP2.C:4459: read char: E&lt;BR /&gt;Sftp2/SFTP2.C:4461: read_bytes: 16, buffer len: 16&lt;BR /&gt;Sftp2/SFTP2.C:4463: received message:&lt;BR /&gt;00000000: 4155 5448 454e 5449 4341 5445 4420 5945 AUTHENTICATED YE&lt;BR /&gt;Sftp2/SFTP2.C:4459: read char: S&lt;BR /&gt;Sftp2/SFTP2.C:4461: read_bytes: 17, buffer len: 17&lt;BR /&gt;Sftp2/SFTP2.C:4463: received message:&lt;BR /&gt;00000000: 4155 5448 454e 5449 4341 5445 4420 5945 AUTHENTICATED YE&lt;BR /&gt;00000010: 53 S&lt;BR /&gt;Sftp2/SFTP2.C:4459: read char:&lt;/P&gt;&lt;P&gt;Sftp2/SFTP2.C:4461: read_bytes: 18, buffer len: 18&lt;BR /&gt;Sftp2/SFTP2.C:4463: received message:&lt;BR /&gt;00000000: 4155 5448 454e 5449 4341 5445 4420 5945 AUTHENTICATED YE&lt;BR /&gt;00000010: 530a S.&lt;BR /&gt;Sftp2/SFTP2.C:4468: buffer: 'AUTHENTICATED YES&lt;BR /&gt;'&lt;/P&gt;&lt;P&gt;debug(28-AUG-2017 15:35:53.25): Ssh2Transport/TRCOMMON.C:1113: Sending packet with type 2 to connection&lt;BR /&gt;debug(28-AUG-2017 15:35:53.25): Ssh2Transport/TRCOMMON.C:1113: Sending packet with type 94 to connection&lt;BR /&gt;debug(28-AUG-2017 15:35:53.29): Ssh2Transport/TRCOMMON.C:2756: &amp;gt;TR packet_type=99&lt;BR /&gt;debug(28-AUG-2017 15:35:53.29): SshConnection/SSHCONN.C:2306: &amp;gt;CXN packet_type=99&lt;BR /&gt;debug(28-AUG-2017 15:35:53.35): Ssh2Transport/TRCOMMON.C:2756: &amp;gt;TR packet_type=94&lt;BR /&gt;SshFileCopy/SSHFILECOPY.C:1297: Connection to remote host 'KTE@integration-test.gtnexus.com#18222', ready to serve requests.&lt;BR /&gt;Sftp2/SFTP2.C:2364: get pwd&lt;/P&gt;&lt;P&gt;debug(28-AUG-2017 15:35:53.35): Ssh2Transport/TRCOMMON.C:1113: Sending packet with type 2 to connection&lt;BR /&gt;debug(28-AUG-2017 15:35:53.35): Ssh2Transport/TRCOMMON.C:1113: Sending packet with type 94 to connection&lt;BR /&gt;debug(28-AUG-2017 15:35:53.40): Ssh2Transport/TRCOMMON.C:2756: &amp;gt;TR packet_type=94&lt;BR /&gt;sftp&amp;gt; 28-AUG-2017 15:35:53.40): SshConnection/SSHCONN.C:2306: &amp;gt;CXN packet_type=94&lt;BR /&gt;sftp&amp;gt;&lt;BR /&gt;sftp&amp;gt;&lt;BR /&gt;sftp&amp;gt; put "KNAPH_FORDIT_QM_000046302_170810T12514254.X12"&lt;/P&gt;&lt;P&gt;SshFCRecurse/SSHFC_RECURSE.C:410: File is "raw", and it needs to be parsed.&lt;BR /&gt;Ssh2SftpServer/SSHFILEXFERS.C:3260: Received SSH_FXP_STAT&lt;BR /&gt;Ssh2SftpServer/SSHFILEXFERS.C:3335: Statting file `KNAPH_FORDIT_QM_000046302_170810T12514254.X12'&lt;BR /&gt;SshFCTransfer/SSHFC_TRANSFER.C:2480: File list has 2 files.&lt;BR /&gt;SshFCTransfer/SSHFC_TRANSFER.C:576: Next source file is /KNAPH_FORDIT_QM_000046302_170810T12514254.X12 .&lt;BR /&gt;Ssh2SftpServer/SSHFILEXFERS.C:3260: Received SSH_FXP_STAT&lt;BR /&gt;Ssh2SftpServer/SSHFILEXFERS.C:3335: Statting file `KNAPH_FORDIT_QM_000046302_170810T12514254.X12'&lt;/P&gt;&lt;P&gt;debug(28-AUG-2017 15:37:33.05): Ssh2Transport/TRCOMMON.C:1113: Sending packet with type 2 to connection&lt;BR /&gt;debug(28-AUG-2017 15:37:33.05): Ssh2Transport/TRCOMMON.C:1113: Sending packet with type 94 to connection&lt;BR /&gt;debug(28-AUG-2017 15:37:39.13): Ssh2Transport/TRCOMMON.C:2756: &amp;gt;TR packet_type=94&lt;BR /&gt;debug(28-AUG-2017 15:37:39.13): SshConnection/SSHCONN.C:2306: &amp;gt;CXN packet_type=94&lt;BR /&gt;debug(28-AUG-2017 15:37:39.13): Ssh2Transport/TRCOMMON.C:1113: Sending packet with type 2 to connection&lt;BR /&gt;debug(28-AUG-2017 15:37:39.13): Ssh2Transport/TRCOMMON.C:1113: Sending packet with type 94 to connection&lt;BR /&gt;debug(28-AUG-2017 15:37:39.19): Ssh2Transport/TRCOMMON.C:2756: &amp;gt;TR packet_type=94&lt;BR /&gt;SshFCTransfer/SSHFC_TRANSFER.C:227: Received error `./KNAPH_FORDIT_QM_000046302_170810T12514254.X12 is not a valid file path' (2).&lt;/P&gt;&lt;P&gt;debug(28-AUG-2017 15:37:39.19): Ssh2Transport/TRCOMMON.C:1113: Sending packet with type 2 to connection&lt;BR /&gt;debug(28-AUG-2017 15:37:39.19): Ssh2Transport/TRCOMMON.C:1113: Sending packet with type 94 to connection&lt;BR /&gt;debug(28-AUG-2017 15:37:39.24): Ssh2Transport/TRCOMMON.C:2756: &amp;gt;TR packet_type=94&lt;BR /&gt;Ssh2SftpServer/SSHFILEXFERS.C:2306: Received SSH_FXP_OPEN306: &amp;gt;CXN packet_type=94&lt;BR /&gt;Ssh2SftpServer/SSHFILEXFERS.C:2400: Downloading `KNAPH_FORDIT_QM_000046302_170810T12514254.X12'&lt;/P&gt;&lt;P&gt;debug(28-AUG-2017 15:37:39.25): Ssh2Transport/TRCOMMON.C:1113: Sending packet with type 2 to connection&lt;BR /&gt;debug(28-AUG-2017 15:37:39.25): Ssh2Transport/TRCOMMON.C:1113: Sending packet with type 94 to connection&lt;BR /&gt;debug(28-AUG-2017 15:37:39.30): Ssh2Transport/TRCOMMON.C:2756: &amp;gt;TR packet_type=94&lt;BR /&gt;SshFCTransfer/SSHFC_TRANSFER.C:227: Received error `./KNAPH_FORDIT_QM_000046302_170810T12514254.X12 is not a valid file path' (2).&lt;BR /&gt;SshReadLine/SSHREADLINE.C:3728: Uninitializing ReadLine...&lt;BR /&gt;FATAL: BUILD26$:[TCPIP_V57_BLECO2.SRC.SSH2]SSHFC_TRANSFER.C;1:1849 SshFCTransfer (function name unavailable) Assertion failed: tdat)&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;%TCPIP-F-SSH_FATAL, non-specific fatal error condition&lt;BR /&gt;$&lt;/P&gt;&lt;P&gt;The&amp;nbsp;&lt;SPAN&gt;KNAPH_FORDIT_QM_000046302_170810T12514254.X12 file that I was trying to "put" was in my current directory, so I don't know why it thinks the default directory is not a valid file path.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;All this is very cryptic.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Any help would be appreciated.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Dennis&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 28 Aug 2017 21:44:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/unable-to-get-sftp-working-to-remote-server/m-p/6975038#M46437</guid>
      <dc:creator>Dennis Piepel</dc:creator>
      <dc:date>2017-08-28T21:44:01Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to get SFTP working to remote server</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/unable-to-get-sftp-working-to-remote-server/m-p/6975048#M46438</link>
      <description>&lt;P&gt;&amp;nbsp;&amp;nbsp; First:&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; tcpip show version&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; sftp "-V"&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; And, do we know anything about the software at the other end?&lt;BR /&gt;&lt;BR /&gt;&amp;gt; However, some of the forum posts indicate that the directory syntax&lt;BR /&gt;&amp;gt; should read like:&lt;BR /&gt;&amp;gt;&lt;BR /&gt;&amp;gt; sftp&amp;gt; put \mydir\sub1\testfile.txt&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; That would be Windows format.&amp;nbsp; UNIX format on VMS might look more&lt;BR /&gt;like:&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /DKA0/MYDIR/SUB1/TESTFILE.TXT&lt;BR /&gt;&lt;BR /&gt;And, for file specifications, case seldom matters on VMS.&lt;BR /&gt;&lt;BR /&gt;&amp;gt; Do I need to worry about case sensitivity with SFTP commands?&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; Trusting no one, I'd run the experiment.&amp;nbsp; For example:&lt;BR /&gt;&lt;BR /&gt;alp $ sftp "-V"&lt;BR /&gt;alp$dkc0:[sys0.syscommon.][sysexe]tcpip$ssh_sftp2.exe: SSH Secure Shell OpenVMS&lt;BR /&gt;(V5.5) 3.2.0 on COMPAQ Professional Workstation&amp;nbsp; - VMS V8.4&lt;BR /&gt;&lt;BR /&gt;alp $ sftp -V&lt;BR /&gt;Sftp2/SFTP2.C:5585: CRTL version (SYS$SHARE:DECC$SHARE ident) is: V8.4-00&lt;BR /&gt;&lt;BR /&gt;SshFileCopy/SSHFILECOPY.C:1362: Making local connection.&lt;BR /&gt;Ssh2SftpServer/SSHFILEXFERS.C:2333: Received SSH_FXP_INIT&lt;BR /&gt;[...]&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; Looks different to me.&lt;BR /&gt;&lt;BR /&gt;&amp;gt; If so, do I need to enclose arguments in quotes to preserve case?&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; The usual quotation should do what the usual quotation does.&amp;nbsp; (As&lt;BR /&gt;shown above.)&lt;BR /&gt;&lt;BR /&gt;&amp;gt; SshFCTransfer/SSHFC_TRANSFER.C:227: Received error&lt;BR /&gt;&amp;gt; `./KNAPH_FORDIT_QM_000046302_170810T12514254.X12 is not a valid file&lt;BR /&gt;&amp;gt; path' (2).&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; This looks bad.&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; I try never to use SFTP, so I know nothing, but when I tried it from&lt;BR /&gt;my system to itself, "-v" spewed similar (but different) stuff:&lt;BR /&gt;&lt;BR /&gt;ALP $ sftp -v sms@alp-l&lt;BR /&gt;Sftp2/SFTP2.C:5585: CRTL version (SYS$SHARE:DECC$SHARE ident) is: V8.4-00&lt;BR /&gt;[...]&lt;BR /&gt;sftp&amp;gt; cd itrc&lt;BR /&gt;[...]&lt;BR /&gt;sftp&amp;gt; put login.com&lt;BR /&gt;SshFCTransfer/SSHFC_TRANSFER.C:311: convert_path in:login.com full:login.com raw&lt;BR /&gt;:login.com&lt;BR /&gt;SshFCRecurse/SSHFC_RECURSE.C:434: File is "raw", and it needs to be parsed.&lt;BR /&gt;Ssh2SftpServer/SSHFILEXFERS.C:3481: Received SSH_FXP_STAT&lt;BR /&gt;Ssh2SftpServer/SSHFILEXFERS.C:3501: home directory: SYS$SYSROOT:[SYSMGR]&lt;BR /&gt;Ssh2SftpServer/SSHFILEXFERS.C:3568: Statting file 'login.com'&lt;BR /&gt;SshFCTransfer/SSHFC_TRANSFER.C:2617: File list has 2 files.&lt;BR /&gt;SshFCTransfer/SSHFC_TRANSFER.C:663: Next source file is /login.com .&lt;BR /&gt;[...]&lt;BR /&gt;SshFCTransfer/SSHFC_TRANSFER.C:261: Received error `syserr: no such file or dire&lt;BR /&gt;ctory, or no privilege for attempted operation, file: itrc/./login.com' (2).&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [But...]&lt;BR /&gt;Ssh2SftpServer/SSHFILEXFERS.C:2512: Received SSH_FXP_OPEN&lt;BR /&gt;Ssh2SftpServer/SSHFILEXFERS.C:2607: Open 'login.com' flags read&lt;BR /&gt;Ssh2SftpServer/SSHFILEXFERS.C:2608: Downloading 'login.com'&lt;BR /&gt;[...]&lt;BR /&gt;SshFCTransferCore/SSHFC_TRCORE.C:860: transfer_write_out entered&lt;BR /&gt;login.com&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; |&amp;nbsp; 6.9kB |&amp;nbsp;&amp;nbsp; 6.9 kB/s | TOC: 00:00:01 | 100%&lt;BR /&gt;SshFCTransferCore/SSHFC_TRCORE.C:891: Writer finished.&lt;BR /&gt;SshFCTransfer/SSHFC_TRANSFER.C:2096: Destination file attributes not available o&lt;BR /&gt;r that file is not a regular file; not changing attributes.&lt;BR /&gt;SshFCTransfer/SSHFC_TRANSFER.C:2190: Finished with file itrc/./login.com.&lt;BR /&gt;[...]&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; So, despite the quirky messages, the file transfer actually seemed to&lt;BR /&gt;work.&lt;BR /&gt;&lt;BR /&gt;ALP $ diff login.com home_sms:[sms.itrc]login.com&lt;BR /&gt;Number of difference sections found: 0&lt;BR /&gt;Number of difference records found: 0&lt;BR /&gt;&lt;BR /&gt;DIFFERENCES /MERGED=1-&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; SYS$SYSROOT:[SYSMGR]LOGIN.COM;128-&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ALP$DKC0:[SMS.itrc]login.com;1&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; So, knowing what I do, I'd say that that complaint:&lt;BR /&gt;&lt;BR /&gt;SshFCTransfer/SSHFC_TRANSFER.C:227: Received error&lt;BR /&gt;&amp;nbsp;`./KNAPH_FORDIT_QM_000046302_170810T12514254.X12 is not a valid file&lt;BR /&gt;&amp;nbsp;path' (2).&lt;BR /&gt;&lt;BR /&gt;came from the other end, where someone didn't like what it saw.&amp;nbsp; Have&lt;BR /&gt;you tried a file named, say, "a.b"?&lt;BR /&gt;&lt;BR /&gt;&amp;gt; All this is very cryptic.&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; It may help to ignore the parts where something simple is shown as&lt;BR /&gt;it's formed, one character at a time.&lt;/P&gt;</description>
      <pubDate>Tue, 29 Aug 2017 00:49:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/unable-to-get-sftp-working-to-remote-server/m-p/6975048#M46438</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2017-08-29T00:49:43Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to get SFTP working to remote server</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/unable-to-get-sftp-working-to-remote-server/m-p/6975065#M46439</link>
      <description>&lt;P&gt;I'm not sure how this works on "OpenVMS", but by default in linux (RHEL or CentOS etc.,), I've seen that the sftp login would land on users home directory unless modified. So, to get upload a file which is not in user home directory, need to specify the file with absolute path and check if that works.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 29 Aug 2017 08:05:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/unable-to-get-sftp-working-to-remote-server/m-p/6975065#M46439</guid>
      <dc:creator>simplylinuxfaq</dc:creator>
      <dc:date>2017-08-29T08:05:30Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to get SFTP working to remote server</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/unable-to-get-sftp-working-to-remote-server/m-p/6975101#M46440</link>
      <description>&lt;P&gt;&amp;gt; I'm not sure how this works on "OpenVMS", but by default in linux&lt;BR /&gt;&amp;gt; (RHEL or CentOS etc.,), I've seen that the sftp login would land on&lt;BR /&gt;&amp;gt; users home directory unless modified.&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; That's a server decision, not a client decision, and this question&lt;BR /&gt;involved a VMS client with an unspecified server.&amp;nbsp; And this behavior has&lt;BR /&gt;been the norm for FTP servers since approximately the beginning of time.&lt;BR /&gt;&lt;BR /&gt;&amp;gt; So, to get upload a file which is not in user home directory, need to&lt;BR /&gt;&amp;gt; specify the file with absolute path and check if that works.&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; Or, use "cd", as with approximately every [S]FTP server on the&lt;BR /&gt;planet.&amp;nbsp; "cd" to a home-directory subdirectory was shown above; whether&lt;BR /&gt;you're allowed to specify some (UNIX-format?) absolute directory depends&lt;BR /&gt;on the [S]FTP server.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&amp;gt; [...] UNIX format on VMS might look more like:&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; Or, as the program itself suggests:&lt;BR /&gt;&lt;BR /&gt;debug(28-AUG-2017 15:35:52.95): Ssh2AuthPubKeyClient/AUTHC-PUBKEY.C:1677: adding&lt;BR /&gt;&amp;nbsp;keyfile "/DKA0/NIGHT/ssh2/hostkey" to candidates&lt;/P&gt;</description>
      <pubDate>Tue, 29 Aug 2017 12:48:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/unable-to-get-sftp-working-to-remote-server/m-p/6975101#M46440</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2017-08-29T12:48:03Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to get SFTP working to remote server</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/unable-to-get-sftp-working-to-remote-server/m-p/6975122#M46441</link>
      <description>&lt;P&gt;Steven,&lt;/P&gt;&lt;P&gt;Some feedback per your comments:&lt;/P&gt;&lt;P&gt;$&lt;BR /&gt;$ tcpip show version&lt;/P&gt;&lt;P&gt;HP TCP/IP Services for OpenVMS Industry Standard 64 Version V5.7 - ECO 2&lt;BR /&gt;on an HP Integrity rx2800 i2 (1.33GHz/4.0MB) running OpenVMS V8.4&lt;/P&gt;&lt;P&gt;$ sftp "-V"&lt;BR /&gt;ktes01$dka0:[sys0.syscommon.][sysexe]tcpip$ssh_sftp2.exe: SSH Secure Shell OpenVMS (V5.5) 3.2.0 on HP Integrity rx2800 i2 (1.33GHz&lt;BR /&gt;- VMS V8.4&lt;BR /&gt;$&lt;BR /&gt;$&lt;/P&gt;&lt;P&gt;And, I know very little about the software at the other end. &amp;nbsp;This project is being driven by my customer who in turn is being tasked with implementing SFTP connectivity to send EDI files to their server.&lt;/P&gt;&lt;P&gt;&amp;nbsp;Also, I had my "slashes" and "backslashes" confused. &amp;nbsp;The "Unix" syntax does use the forward slash (/).&lt;/P&gt;&lt;P&gt;Regarding case sensitivity, my concern was not about the actual SFTP options (which I am pretty sure are case sensitive and therefore need to be "quoted" to preserve the uppercase option (since option -v and option "-V" might be two unique options.&lt;/P&gt;&lt;P&gt;Rather, my concern was whether the file specification needed to be in quotes to insure that SFTP found the filename using UPPERCASE characters.&lt;/P&gt;&lt;P&gt;Your comment that the following message "looks bad" is exactly why I am wondering why SFTP appears to not like this file path:&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;EM&gt;&amp;gt; SshFCTransfer/SSHFC_TRANSFER.C:227: Received error&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&amp;gt; `./KNAPH_FORDIT_QM_000046302_170810T12514254.X12 is not a valid file&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&amp;gt; path' (2).&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;That filename &lt;U&gt;definitely&lt;/U&gt; was in my default directory.&lt;/P&gt;&lt;P&gt;Therefore I can only assume that either the "Unix" style path (i.e. dot then slash) is not being parsed correctly.&lt;/P&gt;&lt;P&gt;So I am puzzled how I can provide SFTP with a file path that it "likes".&lt;/P&gt;&lt;P&gt;Your "Unix" syntax example seems to indicate that I must include the device name (i.e. DKA0) in my Unix style path.&lt;/P&gt;&lt;P&gt;So for a file named A.TXT in my default directory, I tried various SFTP commands like:&lt;/P&gt;&lt;P&gt;sftp&amp;gt; put a.txt&lt;/P&gt;&lt;P&gt;sftp&amp;gt; put "A.TXT"&lt;/P&gt;&lt;P&gt;sftp&amp;gt; put /DKA0/NIGHT/A.TXT&lt;/P&gt;&lt;P&gt;sftp&amp;gt; put "/DKA0/NIGHT/A.TXT"&lt;/P&gt;&lt;P&gt;All of the above failed with errors like:&lt;/P&gt;&lt;P&gt;&lt;EM&gt;SshFCTransfer/SSHFC_TRANSFER.C:227: Received error `./a.txt is not a valid file path' (2).&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;Finally, your example of doing a successfull SFTP file transfer gives rise to several questions:&lt;/P&gt;&lt;P&gt;1. I see "alp" and "ALP" in your prompts. &amp;nbsp;Does this mean you are running SFTP on an Alphaserver rather than an Integrity server?&lt;/P&gt;&lt;P&gt;2. You did not indicate what your TCPIP version was nor what your SFTP version was either.&lt;/P&gt;&lt;P&gt;3. I don't know anything about the server you did the "put" to.&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you were transferring to another OpenVMS server then perhaps your environment is enough different than mine to skew what you see vs. what I see.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 29 Aug 2017 19:33:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/unable-to-get-sftp-working-to-remote-server/m-p/6975122#M46441</guid>
      <dc:creator>Dennis Piepel</dc:creator>
      <dc:date>2017-08-29T19:33:39Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to get SFTP working to remote server</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/unable-to-get-sftp-working-to-remote-server/m-p/6975139#M46442</link>
      <description>&lt;P&gt;&amp;gt; And, I know very little about the software at the other end.&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; That's unfortunate, and may need to change.&lt;BR /&gt;&lt;BR /&gt;&amp;gt; Therefore I can only assume that either the "Unix" style path (i.e. dot&lt;BR /&gt;&amp;gt; then slash) is not being parsed correctly.&lt;BR /&gt;&amp;gt;&lt;BR /&gt;&amp;gt; So I am puzzled how I can provide SFTP with a file path that it "likes".&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; To me (knowing what I know), that message looks as if it comes from&lt;BR /&gt;the (remote, mystery) server, not from the (local, VMS) client.&amp;nbsp; I would&lt;BR /&gt;not be amazed if the client was adding the leading "./" (just to cause&lt;BR /&gt;trouble?), and the (mystery, non-UNIX?) server didn't like it.&lt;BR /&gt;&lt;BR /&gt;&amp;gt; 1. I see "alp" and "ALP" in your prompts.&amp;nbsp; Does this mean you are&lt;BR /&gt;&amp;gt; running SFTP on an Alphaserver rather than an Integrity server?&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; Yes.&amp;nbsp; It was handier.&lt;BR /&gt;&lt;BR /&gt;&amp;gt; 2. You did not indicate what your TCPIP version was nor what your SFTP&lt;BR /&gt;&amp;gt; version was either.&lt;BR /&gt;&amp;gt; version was either.&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; Annoying, isn't it?&amp;nbsp; On the Alpha:&lt;BR /&gt;&lt;BR /&gt;ALP $ tcpip show version&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp; HP TCP/IP Services for OpenVMS Alpha Version V5.7 - ECO 5&lt;BR /&gt;&amp;nbsp; on a COMPAQ Professional Workstation XP1000 running OpenVMS V8.4&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;ALP $ sftp "-V"&lt;BR /&gt;alp$dkc0:[sys0.syscommon.][sysexe]tcpip$ssh_sftp2.exe: SSH Secure Shell OpenVMS&lt;BR /&gt;(V5.5) 3.2.0 on COMPAQ Professional Workstation&amp;nbsp; - VMS V8.4&lt;BR /&gt;&lt;BR /&gt;&amp;gt; 3. I don't know anything about the server you did the "put" to.&lt;BR /&gt;&lt;BR /&gt;&amp;gt; [...] from my system to itself, [...]&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; So, the same Alpha system.&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; I have a recently acquired IA64 system, with what looks like the same&lt;BR /&gt;stuff as yours:&lt;BR /&gt;&lt;BR /&gt;ITS $ tcpip show version&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp; HP TCP/IP Services for OpenVMS Industry Standard 64 Version V5.7 - ECO 2&lt;BR /&gt;&amp;nbsp; on an HP rx2660&amp;nbsp; (1.59GHz/9.0MB) running OpenVMS V8.4&lt;BR /&gt;&lt;BR /&gt;ITS $ sftp "-V"&lt;BR /&gt;&amp;nbsp;its$dka1:[sys0.syscommon.][sysexe]tcpip$ssh_sftp2.exe: SSH Secure Shell OpenVMS&lt;BR /&gt;&amp;nbsp;(V5.5) 3.2.0 on HP rx2660&amp;nbsp; (1.59GHz/9.0MB) - VMS V8.4&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; Interestingly, as user SYSTEM, I get little beside trouble from the&lt;BR /&gt;SFTP server on that system -- mostly permissions complaints, like:&lt;BR /&gt;&lt;BR /&gt;ALP $ sftp its&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;Welcome to HP OpenVMS Industry Standard 64 Operating System, Version V8.4&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;BR /&gt;sftp&amp;gt; cd sms&lt;BR /&gt;SYS$SYSROOT:[SYSMGR.SMS]&lt;BR /&gt;sftp&amp;gt; put login.com&lt;BR /&gt;open: sms/./login.com (dst): unspecified failure (server msg: 'syserr: bad file&lt;BR /&gt;number, or no privilege for attempted operation, file: sms/./login.com')&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; As the client (with the Alpha as the server), it does better:&lt;BR /&gt;&lt;BR /&gt;ITS $ sftp alp-l&lt;BR /&gt;&lt;BR /&gt;@ SYS$MANAGER:ANNOUNCE.TXT&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [That's a known-cause annoyance.]&lt;BR /&gt;sftp&amp;gt; cd sms&lt;BR /&gt;alp$dkc0:[SYS0.SYSMGR.SMS]&lt;BR /&gt;sftp&amp;gt; put login.com&lt;BR /&gt;login.com&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; |&amp;nbsp; 6.9kB |&amp;nbsp;&amp;nbsp; 6.9 kB/s | TOC: 00:00:01 | 100%&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&amp;gt; If you were transferring to another OpenVMS server then perhaps your&lt;BR /&gt;&amp;gt; environment is enough different than mine to skew what you see vs. what&lt;BR /&gt;&amp;gt; I see.&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; Doubtless.&amp;nbsp; If I get a chance, I'll try to run a test to a non-VMS&lt;BR /&gt;server.&amp;nbsp; It'll need to be something other than a normally configured&lt;BR /&gt;Mac, however, because of the retarded SSH software on these things:&lt;BR /&gt;&lt;BR /&gt;ALP $ sftp sms@pro3&lt;BR /&gt;FATAL: ssh2 client failed to authenticate. (or you have too old ssh2 installed,&lt;BR /&gt;check with ssh2 "-V")&lt;BR /&gt;warning: Authentication failed.&lt;BR /&gt;&lt;BR /&gt;%TCPIP-F-SSH_FATAL, non-specific fatal error condition&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; Speaking of retarded, I see that the TCPIP kit on my Alpha says "V5.7&lt;BR /&gt;- ECO 5", whereas, on the IA64, it's "V5.7 - ECO 2".&amp;nbsp; As a lowly&lt;BR /&gt;Hobbyist, my patch access is poor, so I know nothing, but if there's a&lt;BR /&gt;more advanced TCPIP ECO on IA64, then you might give that a try.&amp;nbsp; The&lt;BR /&gt;TCPIP57ECO05.RELEASE_NOTES content on Alpha is pretty scary regarding&lt;BR /&gt;SFTP, but it wasn't clear (to me) that the ECO numbers for Alpha and&lt;BR /&gt;IA64 are comparable, nor how much (if any) of the scary stuff came after&lt;BR /&gt;ECO 2, but newer is bound to be better, right?&lt;/P&gt;</description>
      <pubDate>Tue, 29 Aug 2017 22:13:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/unable-to-get-sftp-working-to-remote-server/m-p/6975139#M46442</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2017-08-29T22:13:54Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to get SFTP working to remote server</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/unable-to-get-sftp-working-to-remote-server/m-p/6975148#M46443</link>
      <description>&lt;P&gt;&amp;gt; [...]&amp;nbsp; If I get a chance, I'll try to run a test to a non-VMS&lt;BR /&gt;&amp;gt; server.&amp;nbsp; [...]&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; Using a handy HP-UX server:&lt;BR /&gt;&lt;BR /&gt;rux$ uname -a&lt;BR /&gt;HP-UX rux B.11.31 U ia64 1678555272 unlimited-user license&lt;BR /&gt;&lt;BR /&gt;ITS $ sftp -v sms@rux&lt;BR /&gt;&amp;nbsp; Sftp2/SFTP2.C:5258: CRTL version (SYS$SHARE:DECC$SHARE ident) is: ELF&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Hmmm.&amp;nbsp; On Alpha, that "CRTL version" is more informative.]&lt;BR /&gt;[...]&lt;BR /&gt;sftp&amp;gt; cd itrc&lt;BR /&gt;[...]&lt;BR /&gt;sftp&amp;gt; put login.com&lt;BR /&gt;[...]&lt;BR /&gt;SshFCTransferCore/SSHFC_TRCORE.C:369: Starting transfer for file login.com, dest&lt;BR /&gt;ination itrc/./login.com&lt;BR /&gt;[...]&lt;BR /&gt;SshFCTransferCore/SSHFC_TRCORE.C:846: transfer_write_out entered&lt;BR /&gt;login.com&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; |&amp;nbsp; 6.6kB |&amp;nbsp;&amp;nbsp; 6.6 kB/s | TOC: 00:00:01 | 100%&lt;BR /&gt;SshFCTransferCore/SSHFC_TRCORE.C:877: Writer finished.&lt;BR /&gt;SshFCTransfer/SSHFC_TRANSFER.C:1960: Destination file attributes not available o&lt;BR /&gt;r that file is not a regular file; not changing attributes.&lt;BR /&gt;SshFCTransfer/SSHFC_TRANSFER.C:2053: Finished with file itrc/./login.com.&lt;BR /&gt;[...]&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; Again with the unmotivated "./" in the path.&amp;nbsp; I think that we can&lt;BR /&gt;blame the (VMS/TCPIP) client for this quirk.&amp;nbsp; With a UNIX system like&lt;BR /&gt;this HP-UX system as a server, "itrc/./login.com" is equivalent to&lt;BR /&gt;"itrc/login.com", and the transfer works with no problems.&amp;nbsp; If, however,&lt;BR /&gt;you're dealing with an IBM z/OS server (or some such non-UNIX system),&lt;BR /&gt;then a "./" in the path might cause trouble, possibly of the "is not a&lt;BR /&gt;valid file path" variety.&amp;nbsp; I didn't see a way to stop the SFTP client&lt;BR /&gt;from adding that "./" to the destination path.&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; How wedded are you to SFTP?&amp;nbsp; A quick test using (what should be) an&lt;BR /&gt;equivalent SCP command seems to show no such fiddling with the&lt;BR /&gt;destination path:&lt;BR /&gt;&lt;BR /&gt;ITS $ scp -v login.com sms@rux:itrc/login.com&lt;BR /&gt;&amp;nbsp; tcpip$ssh_scp2.exe:Scp2/SCP2.C:1993: CRTL version (SYS$SHARE:DECC$SHARE ident)&lt;BR /&gt;&amp;nbsp;is: ELF&lt;BR /&gt;[...]&lt;BR /&gt;tcpip$ssh_scp2.exe:SshFCTransferCore/SSHFC_TRCORE.C:369: Starting transfer for f&lt;BR /&gt;ile login.com, destination itrc/login.com&lt;BR /&gt;[...]&lt;BR /&gt;tcpip$ssh_scp2.exe:SshFCTransfer/SSHFC_TRANSFER.C:2053: Finished with file itrc/&lt;BR /&gt;login.com.&lt;BR /&gt;[...]&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; That was with an explicit destination directory, however.&amp;nbsp; It does&lt;BR /&gt;seem to mutilate a bare file name in the same old way, so this may be&lt;BR /&gt;less of an improvement that I had first thought:&lt;BR /&gt;&lt;BR /&gt;ITS $ scp -v login.com sms@rux:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;BR /&gt;[...]&lt;BR /&gt;tcpip$ssh_scp2.exe:SshFCTransferCore/SSHFC_TRCORE.C:369: Starting transfer for f&lt;BR /&gt;ile login.com, destination ./login.com&lt;BR /&gt;[...]&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; Ever helpful, this stuff.&amp;nbsp; So, if the leading "./" is actually the&lt;BR /&gt;source of the problem, and if you can't use SCP and specify some other&lt;BR /&gt;destination directory, then I see no hope, other than getting this&lt;BR /&gt;software straightened out.&amp;nbsp; I wouldn't care to guess how easy that would&lt;BR /&gt;be.&lt;/P&gt;</description>
      <pubDate>Wed, 30 Aug 2017 04:41:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/unable-to-get-sftp-working-to-remote-server/m-p/6975148#M46443</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2017-08-30T04:41:42Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to get SFTP working to remote server</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/unable-to-get-sftp-working-to-remote-server/m-p/6975188#M46444</link>
      <description>&lt;P&gt;Thanks Steven for your advice,&lt;/P&gt;&lt;P&gt;After much testing it appears to me that OpenVMS is not a viable platform for SFTP file transfers for my customer's application.&amp;nbsp;&lt;/P&gt;&lt;P&gt;For whatever reason, the SFTP process appears to expect filenames and directory syntax to be "Unix" format and I believe that OpenVMS is unable to parse that syntax in such a way as to locate the document to transfer.&lt;/P&gt;&lt;P&gt;Therefore, I will be recommending to my customer that they use some protocol other than SFTP for this project.&lt;/P&gt;&lt;P&gt;FYI, the company that has the remote server is GT Nexus and they also offer AS2 as an EDI file transfer method.&lt;/P&gt;&lt;P&gt;I know nothing about AS2 and have no idea if that is a viable protocol for file transfers to/from an OpenVMS server.&lt;/P&gt;&lt;P&gt;Any chance you know anything about programming an AS2 file transfer?&lt;/P&gt;&lt;P&gt;Regardless, thanks giving me some feedback on this!&lt;/P&gt;</description>
      <pubDate>Wed, 30 Aug 2017 15:57:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/unable-to-get-sftp-working-to-remote-server/m-p/6975188#M46444</guid>
      <dc:creator>Dennis Piepel</dc:creator>
      <dc:date>2017-08-30T15:57:20Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to get SFTP working to remote server</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/unable-to-get-sftp-working-to-remote-server/m-p/6975189#M46445</link>
      <description>&lt;P&gt;&amp;gt; After much testing it appears to me that OpenVMS is not a viable&lt;BR /&gt;&amp;gt; platform for SFTP file transfers for my customer's application.&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; Perhaps.&amp;nbsp; I'd check for a newer TCPIP ECO before condemning the whole&lt;BR /&gt;lot, however.&amp;nbsp; A formal complaint to HPE couldn't hurt, either.&lt;BR /&gt;&lt;BR /&gt;&amp;gt; For whatever reason, the SFTP process appears to expect filenames and&lt;BR /&gt;&amp;gt;directory syntax to be "Unix" format and I believe that OpenVMS is&lt;BR /&gt;&amp;gt;unable to parse that syntax in such a way as to locate the document to&lt;BR /&gt;&amp;gt;transfer.&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; I think that the problem is different.&amp;nbsp; As I read it, the VMS client&lt;BR /&gt;can find the local file well enough, but it forms a UNIX-like&lt;BR /&gt;destination path ("./whatever" instead of (plain) "whatever"), and the&lt;BR /&gt;destination server (whatever that might be) can't cope with that&lt;BR /&gt;unexpected, unnecessary, undesired "./" which was inserted by the VMS&lt;BR /&gt;client.&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; So, the problem (as I see it) is that the VMS client forms a&lt;BR /&gt;too-complex UNIX-like destination path, and the destination server hates&lt;BR /&gt;it.&amp;nbsp; I'd still blame the VMS client, but, as the test with an HP-UX&lt;BR /&gt;server shows, a more competent server could work around the apparent&lt;BR /&gt;defect in the VMS client.&lt;BR /&gt;&lt;BR /&gt;&amp;gt; FYI, the company that has the remote server is GT Nexus and they also&lt;BR /&gt;&amp;gt; offer AS2 as an EDI file transfer method.&lt;BR /&gt;&amp;gt;&lt;BR /&gt;&amp;gt; I know nothing about AS2 [...]&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; I can beat that.&amp;nbsp; I know nothing about both GT Nexus and AS2.&amp;nbsp; I may&lt;BR /&gt;try to do some reading if/when I get bored.&lt;/P&gt;</description>
      <pubDate>Wed, 30 Aug 2017 16:20:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/unable-to-get-sftp-working-to-remote-server/m-p/6975189#M46445</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2017-08-30T16:20:33Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to get SFTP working to remote server</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/unable-to-get-sftp-working-to-remote-server/m-p/6975194#M46446</link>
      <description>&lt;P&gt;Dennis,&lt;/P&gt;&lt;P&gt;please consider to install a more recent ECO than TCPIP V5.7 ECO 2.&lt;/P&gt;&lt;P&gt;There are a couple of SFTP fixes in ECO 3 - one of them might look related:&lt;/P&gt;&lt;P&gt;&lt;EM&gt;28-July-2011&amp;nbsp;&amp;nbsp;&amp;nbsp; Integrity servers and Alpha&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Problem:&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SFTP/SCP PUT command to an SSH maverick server fails because of&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; the following assertion failure:&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SshFCTransfer (function name unavailable) Assertion failed:&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; tdata-&amp;gt;current_dest_file-&amp;gt;attributes !=&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ((void *) 0)&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;We had a customer project with various SFTP servers (Redhat Linux and a MOVEit DMZ server) and had no problems copying files from the TCPIP V5.7 ECO 3 OpenVMS SFTP clients to those servers.&lt;/P&gt;&lt;P&gt;And there are even more recent ECOs than TCPIP V5.7 ECO 3 - please log a call with HPE to obtain those.&lt;/P&gt;&lt;P&gt;Volker.&lt;/P&gt;</description>
      <pubDate>Wed, 30 Aug 2017 17:20:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/unable-to-get-sftp-working-to-remote-server/m-p/6975194#M46446</guid>
      <dc:creator>Volker Halle</dc:creator>
      <dc:date>2017-08-30T17:20:03Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to get SFTP working to remote server</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/unable-to-get-sftp-working-to-remote-server/m-p/6975202#M46447</link>
      <description>&lt;P&gt;&amp;gt; We had a customer project with various SFTP servers (Redhat Linux and&lt;BR /&gt;&amp;gt; a MOVEit DMZ server) and had no problems copying files from the TCPIP&lt;BR /&gt;&amp;gt; V5.7 ECO 3 OpenVMS SFTP clients to those servers.&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; How "various"?&amp;nbsp; UNIX(-like) servers seem not to mind the extra "./"&lt;BR /&gt;which the TCPIP client(s) seem to be adding to the destination paths.&lt;BR /&gt;The challenge is to find a non-UNIX(-like) server which hates it as much&lt;BR /&gt;as the one in this report.&lt;/P&gt;</description>
      <pubDate>Wed, 30 Aug 2017 18:29:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/unable-to-get-sftp-working-to-remote-server/m-p/6975202#M46447</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2017-08-30T18:29:15Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to get SFTP working to remote server</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/unable-to-get-sftp-working-to-remote-server/m-p/6975277#M46448</link>
      <description>&lt;P&gt;Dennis,&lt;/P&gt;&lt;P&gt;this is what you should have.&lt;/P&gt;&lt;P&gt;Secure Shell:&lt;BR /&gt;TCPIP$SSH_SCP2;2 "V5.7-ECO5G" 26-NOV-2015 SYS$COMMON:[SYSEXE]&lt;BR /&gt;TCPIP$SSH_SFTP-SERVER2;2 "V5.7-ECO5G" 26-NOV-2015 SYS$COMMON:[SYSEXE]&lt;BR /&gt;TCPIP$SSH_SFTP2;2 "V5.7-ECO5G" 26-NOV-2015 SYS$COMMON:[SYSEXE]&lt;BR /&gt;TCPIP$SSH_SSH-ADD2;2 "V5.7-ECO5G" 26-NOV-2015 SYS$COMMON:[SYSEXE]&lt;BR /&gt;TCPIP$SSH_SSH-AGENT2;2 "V5.7-ECO5G" 26-NOV-2015 SYS$COMMON:[SYSEXE]&lt;BR /&gt;TCPIP$SSH_SSH-KEYGEN2;2 "V5.7-ECO5G" 26-NOV-2015 SYS$COMMON:[SYSEXE]&lt;BR /&gt;TCPIP$SSH_SSH-SIGNER2;2 "V5.7-ECO5G" 26-NOV-2015 SYS$COMMON:[SYSEXE]&lt;BR /&gt;TCPIP$SSH_SSH2;2 "V5.7-ECO5G" 26-NOV-2015 SYS$COMMON:[SYSEXE]&lt;BR /&gt;TCPIP$SSH_SSHD2;2 "V5.7-ECO5G" 26-NOV-2015 SYS$COMMON:[SYSEXE]&lt;/P&gt;&lt;P&gt;In case you're interested in AS2 we also have an offering that is available on OpenVMS.&lt;/P&gt;&lt;P&gt;John&lt;/P&gt;</description>
      <pubDate>Thu, 31 Aug 2017 11:27:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/unable-to-get-sftp-working-to-remote-server/m-p/6975277#M46448</guid>
      <dc:creator>john Dite</dc:creator>
      <dc:date>2017-08-31T11:27:32Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to get SFTP working to remote server</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/unable-to-get-sftp-working-to-remote-server/m-p/6975282#M46449</link>
      <description>&lt;P&gt;We've been stuck at older versions of VMS on Alpha and VAX so we went with the Process Multinet SSH/SCP2/SFTP2 add in to TCP/IP Services.&lt;BR /&gt;&lt;BR /&gt;We use both SCP and SFTP extensively as we have shut down DECnet and are in the process of disabling ftp, telnet, the "r" commands and all other insecure protocols under a mandate from our security folks (we handle a lot of PII and PCI data). &amp;nbsp;We also do not use any ODS5 volumes, so from the VMS side all filenames are uppercase.&lt;BR /&gt;&lt;BR /&gt;SFTP works well for most of our transfers (mostly to/from other VMS systems, RHEL systems, and a few Solaris systems) - we use it mostly in batch and take care to use the LCD and CD commands to set the default locations for both sides of the link. &amp;nbsp;SFTP doesn't allow us to specifiy the filename on the remote side, however, so for some of our transfers we use SCP which is a bit more restrictive, but does allow us to fully specify the Unix-format mixed case and symbols file names and the input and output filenames can be different.&lt;BR /&gt;&lt;BR /&gt;We had a pretty sizable learning curve &amp;nbsp;(still ongoing) and there are a lot of Logical Names that Process Multinet uses the can have a big impact on how things are performed, but overall we've been able to accomplish just about everything we set out to do. &amp;nbsp;You do have to keep in mind that SFTP is NOT regular old FTP with security - it has many differences from FTP.&lt;/P&gt;</description>
      <pubDate>Thu, 31 Aug 2017 12:05:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/unable-to-get-sftp-working-to-remote-server/m-p/6975282#M46449</guid>
      <dc:creator>Mike Kier</dc:creator>
      <dc:date>2017-08-31T12:05:25Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to get SFTP working to remote server</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/unable-to-get-sftp-working-to-remote-server/m-p/6975297#M46450</link>
      <description>&lt;P&gt;Thanks, but I don't think the Process Multinet add-in would be an option at my customer's site.&amp;nbsp; Our customers tend to stay with standard, native OpenVMS applications.&lt;/P&gt;</description>
      <pubDate>Thu, 31 Aug 2017 14:47:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/unable-to-get-sftp-working-to-remote-server/m-p/6975297#M46450</guid>
      <dc:creator>Dennis Piepel</dc:creator>
      <dc:date>2017-08-31T14:47:27Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to get SFTP working to remote server</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/unable-to-get-sftp-working-to-remote-server/m-p/6975298#M46451</link>
      <description>&lt;P&gt;I talked with HP Support and was able to download the Integrity&amp;nbsp;OpenVMS&amp;nbsp;TCPIP Services v5.7 ECO5 including the ECO 5J patches.&lt;/P&gt;&lt;P&gt;We&amp;nbsp;will see if that makes any difference.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 31 Aug 2017 14:49:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/unable-to-get-sftp-working-to-remote-server/m-p/6975298#M46451</guid>
      <dc:creator>Dennis Piepel</dc:creator>
      <dc:date>2017-08-31T14:49:38Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to get SFTP working to remote server</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/unable-to-get-sftp-working-to-remote-server/m-p/6975299#M46452</link>
      <description>&lt;P&gt;HP Support helped me download the TCPIP Services ECO 5 including the ECO5J patches.&amp;nbsp; I will try those and see if it helps.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 31 Aug 2017 14:50:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/unable-to-get-sftp-working-to-remote-server/m-p/6975299#M46452</guid>
      <dc:creator>Dennis Piepel</dc:creator>
      <dc:date>2017-08-31T14:50:58Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to get SFTP working to remote server</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/unable-to-get-sftp-working-to-remote-server/m-p/6975525#M46453</link>
      <description>&lt;P&gt;Dennis,&lt;/P&gt;&lt;P&gt;TCPIP Services ECO 5 including the ECO5J patches ?&lt;BR /&gt;Not heard of Version ECO5J before can you do a&lt;BR /&gt;$ pipe tcpip sho vers/all | sea sys$pipe ssh&lt;BR /&gt;and post the result.&lt;/P&gt;&lt;P&gt;Please look in the release notes and give us a clue what ECO5J included&lt;/P&gt;&lt;P&gt;Many thanks.&lt;BR /&gt;John&lt;/P&gt;</description>
      <pubDate>Mon, 04 Sep 2017 09:49:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/unable-to-get-sftp-working-to-remote-server/m-p/6975525#M46453</guid>
      <dc:creator>john Dite</dc:creator>
      <dc:date>2017-09-04T09:49:45Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to get SFTP working to remote server</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/unable-to-get-sftp-working-to-remote-server/m-p/6975642#M46454</link>
      <description>&lt;P&gt;John,&lt;/P&gt;&lt;P&gt;The so-called ECO5J patch kit was just an OpenVMS backup set provided to me by HP Technical Support.&lt;/P&gt;&lt;P&gt;The backup set name was "qxcm1001500217_eco5j_ia64.bck"&lt;/P&gt;&lt;P&gt;Here are the installation instructions that I received for this remedial patch:&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier" size="2"&gt;Remedial fix:&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier" size="2"&gt;IA64 Saveset: &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;&amp;nbsp;QXCM1001500217_1001500217_2016-08-30.BCK;1&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier" size="2"&gt;Image Identifier: &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;&amp;nbsp;V5.7-ECO5J&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier" size="2"&gt;Link Date: &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;&amp;nbsp;26-AUG-2016&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier" size="2"&gt;Files (IA64): &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;&amp;nbsp;TCPIP$SSH_SCP2.EXE;1&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;&amp;nbsp;TCPIP$SSH_SFTP-SERVER2.EXE;1&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;&amp;nbsp;TCPIP$SSH_SFTP2.EXE;1&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;&amp;nbsp;TCPIP$SSH_SSH-ADD2.EXE;1&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;&amp;nbsp;TCPIP$SSH_SSH-AGENT2.EXE;1&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;&amp;nbsp;TCPIP$SSH_SSH-KEYGEN2.EXE;1&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;&amp;nbsp;TCPIP$SSH_SSH-SIGNER2.EXE;1&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;&amp;nbsp;TCPIP$SSH_SSH2.EXE;1&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;&amp;nbsp;TCPIP$SSH_SSHD2.EXE;1&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier" size="2"&gt;Installation Instructions:&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier" size="2"&gt;(1) On target system, stop SSH client and server using shutdown scripts:&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier" size="2"&gt;$ &lt;a href="https://community.hpe.com/t5/user/viewprofilepage/user-id/535023"&gt;@sys&lt;/a&gt;$STARTUP:TCPIP$SSH_CLIENT_SHUTDOWN.COM&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;$ &lt;a href="https://community.hpe.com/t5/user/viewprofilepage/user-id/535023"&gt;@sys&lt;/a&gt;$STARTUP:TCPIP$SSH_SHUTDOWN.COM&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier" size="2"&gt;(2) Copy the images&amp;nbsp; to respective locations:&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier" size="2"&gt;$ COPY TCPIP$SSH_SCP2.EXE SYS$COMMON:[SYSEXE]TCPIP$SSH_SCP2.EXE;0&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;$ COPY TCPIP$SSH_SFTP-SERVER2.EXE SYS$COMMON:[SYSEXE]TCPIP$SSH_SFTP-SERVER2.EXE;0&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;$ COPY TCPIP$SSH_SFTP2.EXE SYS$COMMON:[SYSEXE]TCPIP$SSH_SFTP2.EXE;0&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;$ COPY TCPIP$SSH_SSH-ADD2.EXE SYS$COMMON:[SYSEXE]TCPIP$SSH_SSH-ADD2.EXE;0&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;$ COPY TCPIP$SSH_SSH-AGENT2.EXE SYS$COMMON:[SYSEXE]TCPIP$SSH_SSH-AGENT2.EXE;0&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;$ COPY TCPIP$SSH_SSH-KEYGEN2.EXE SYS$COMMON:[SYSEXE]TCPIP$SSH_SSH-KEYGEN2.EXE;0&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;$ COPY TCPIP$SSH_SSH-SIGNER2.EXE SYS$COMMON:[SYSEXE]TCPIP$SSH_SSH-SIGNER2.EXE;0&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;$ COPY TCPIP$SSH_SSH2.EXE SYS$COMMON:[SYSEXE]TCPIP$SSH_SSH2.EXE;0&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;$ COPY TCPIP$SSH_SSHD2.EXE SYS$COMMON:[SYSEXE]TCPIP$SSH_SSHD2.EXE;0&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier" size="2"&gt;(3) Start SSH client and server:&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier" size="2"&gt;$ &lt;a href="https://community.hpe.com/t5/user/viewprofilepage/user-id/535023"&gt;@sys&lt;/a&gt;$STARTUP:TCPIP$SSH_CLIENT_STARTUP.COM&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;$ &lt;a href="https://community.hpe.com/t5/user/viewprofilepage/user-id/535023"&gt;@sys&lt;/a&gt;$STARTUP:TCPIP$SSH_STARTUP.COM&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;Here is the results of the pipe you wanted:&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier" size="2"&gt;$ pipe tcpip sho vers/all | sea sys$pipe ssh&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;&amp;nbsp; tcpip$ssh_scp2;1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "V5.7-ECO5J"&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 26-AUG-2016&amp;nbsp; SYS$SYSROOT:[SYSEXE&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;&amp;nbsp; tcpip$ssh_sftp-server2;1&amp;nbsp; "V5.7-ECO5J"&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 26-AUG-2016&amp;nbsp; SYS$SYSROOT:[SYSEXE&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;&amp;nbsp; tcpip$ssh_sftp2;1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "V5.7-ECO5J"&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 26-AUG-2016&amp;nbsp; SYS$SYSROOT:[SYSEXE&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;&amp;nbsp; tcpip$ssh_ssh-add2;1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "V5.7-ECO5J"&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 26-AUG-2016&amp;nbsp; SYS$SYSROOT:[SYSEXE&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;&amp;nbsp; tcpip$ssh_ssh-agent2;1&amp;nbsp;&amp;nbsp;&amp;nbsp; "V5.7-ECO5J"&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 26-AUG-2016&amp;nbsp; SYS$SYSROOT:[SYSEXE&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;&amp;nbsp; tcpip$ssh_ssh-keygen2;1&amp;nbsp;&amp;nbsp; "V5.7-ECO5J"&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 26-AUG-2016&amp;nbsp; SYS$SYSROOT:[SYSEXE&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;&amp;nbsp; tcpip$ssh_ssh-signer2;1&amp;nbsp;&amp;nbsp; "V5.7-ECO5J"&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 26-AUG-2016&amp;nbsp; SYS$SYSROOT:[SYSEXE&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;&amp;nbsp; tcpip$ssh_ssh2;1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "V5.7-ECO5J"&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 26-AUG-2016&amp;nbsp; SYS$SYSROOT:[SYSEXE&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;&amp;nbsp; tcpip$ssh_sshd2;1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "V5.7-ECO5J"&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 26-AUG-2016&amp;nbsp; SYS$SYSROOT:[SYSEXE&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;$&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 05 Sep 2017 14:33:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/unable-to-get-sftp-working-to-remote-server/m-p/6975642#M46454</guid>
      <dc:creator>Dennis Piepel</dc:creator>
      <dc:date>2017-09-05T14:33:07Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to get SFTP working to remote server</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/unable-to-get-sftp-working-to-remote-server/m-p/6975652#M46455</link>
      <description>&lt;P&gt;We installed the TCPIP Services ECO5 patches last night including the ECO5J remedial patch.&lt;/P&gt;&lt;P&gt;After installing the patches we re-ran our test file transfer and our contact at the remote server indicated that the SFTP file transfer was successfully received.&lt;/P&gt;&lt;P&gt;So it looks like the patches worked!&lt;/P&gt;</description>
      <pubDate>Tue, 05 Sep 2017 14:58:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/unable-to-get-sftp-working-to-remote-server/m-p/6975652#M46455</guid>
      <dc:creator>Dennis Piepel</dc:creator>
      <dc:date>2017-09-05T14:58:45Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to get SFTP working to remote server</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/unable-to-get-sftp-working-to-remote-server/m-p/6975769#M46456</link>
      <description>&lt;P&gt;Dennis,&lt;/P&gt;&lt;P&gt;thanks for the update. I realise now that it was a Backup kit with installation instructions. I've asked my friendly HPE support to inquire what issues this kit resolved and whether this included any new ciphers etc. compared to ECO5G.&lt;/P&gt;&lt;P&gt;John&lt;/P&gt;</description>
      <pubDate>Wed, 06 Sep 2017 13:41:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/unable-to-get-sftp-working-to-remote-server/m-p/6975769#M46456</guid>
      <dc:creator>john Dite</dc:creator>
      <dc:date>2017-09-06T13:41:28Z</dc:date>
    </item>
  </channel>
</rss>

