Can't copy files using SCP on OpenVMS

From: Wild1Devil (rjlolli_at_sbcglobal.net)
Date: 02/22/05


Date: 22 Feb 2005 12:32:55 -0800

I have successfully setup SSH between 2 OpenVms nodes and can send
commands remotely with no problems. I'm using public-key
authentication between nodes. My problem is trying to copy files using
SCP. I get disconnected everytime and I'm not sure why. Is there some
setup I'm not doing correctly? Below is my verbose output of SCP.

_BUD$ scp -v test.txt
d_deva@lou:user01:[user.d_deva.ssh2]test_complete.txt

tcpip$ssh_scp2.exe:Scp2/SCP2.C:1560: CRTL version (SYS$SHARE:DECC$SHARE
ident) is: V7.3-2-00
tcpip$ssh_scp2.exe:Scp2/SCP2.C:1602: unable to get window size
parameters.
tcpip$ssh_scp2.exe:SshFileCopy/SSHFILECOPY.C:152: In
ssh_file_copy_file_regsiter_filename, name:
/USER01/user/d_deva/ssh2/test.txt
tcpip$ssh_scp2.exe:SshFileCopy/SSHFILECOPY.C:152: In
ssh_file_copy_file_regsiter_filename, name:
user01:[user.d_deva.ssh2]test_compl
ete.txt
tcpip$ssh_scp2.exe:SshFileCopy/SSHFILECOPY.C:152: In
ssh_file_copy_file_regsiter_filename, name:
/USER01/user/d_deva/ssh2/test.txt
tcpip$ssh_scp2.exe:Scp2/SCP2.C:713: Received error "SSH_FC_OK"., msg:
Globbing successful.
tcpip$ssh_scp2.exe:Scp2/SCP2.C:778: Starting transfer...
tcpip$ssh_scp2.exe:/USER01/user/d_deva/ssh2/test.txt
tcpip$ssh_scp2.exe:SshFCTransfer/SSHFC_TRANSFER.C:3223: File list has 2
files.
tcpip$ssh_scp2.exe:SshFCTransfer/SSHFC_TRANSFER.C:2772: Not yet
connected, or connection down, waiting...
tcpip$ssh_scp2.exe:SshFileCopy/SSHFILECOPY.C:938: Making local
connection.
tcpip$ssh_scp2.exe:SshFCTransfer/SSHFC_TRANSFER.C:200: Source file is
"raw", and it needs to be parsed.
tcpip$ssh_scp2.exe:SshFCTransfer/SSHFC_TRANSFER.C:1401: No connection
yet. Waiting...
tcpip$ssh_scp2.exe:SshFileCopy/SSHFILECOPY.C:152: In
ssh_file_copy_file_regsiter_filename, name: test.txt
tcpip$ssh_scp2.exe:SshFileCopy/SSHFILECOPY.C:152: In
ssh_file_copy_file_regsiter_filename, name: /USER01/user/d_deva/ssh2
tcpip$ssh_scp2.exe:SshFCTransfer/SSHFC_TRANSFER.C:339: Next source file
is /USER01/user/d_deva/ssh2/test.txt .
tcpip$ssh_scp2.exe:SshFileCopy/SSHFILECOPY.C:152: In
ssh_file_copy_file_regsiter_filename, name: test.txt
tcpip$ssh_scp2.exe:SshFCTransfer/SSHFC_TRANSFER.C:2772: Not yet
connected, or connection down, waiting...
tcpip$ssh_scp2.exe:SshFileCopy/SSHFILECOPY.C:956: Connecting to remote
host. (host = lou, user = d_deva, port = NULL)
tcpip$ssh_scp2.exe:Scp2/SCP2.C:2112: argv[0] =
/sys$system/tcpip$ssh_ssh2
tcpip$ssh_scp2.exe:Scp2/SCP2.C:2112: argv[1] = -l
tcpip$ssh_scp2.exe:Scp2/SCP2.C:2112: argv[2] = d_deva
tcpip$ssh_scp2.exe:Scp2/SCP2.C:2112: argv[3] = -v
tcpip$ssh_scp2.exe:Scp2/SCP2.C:2112: argv[4] = -x
tcpip$ssh_scp2.exe:Scp2/SCP2.C:2112: argv[5] = -a
tcpip$ssh_scp2.exe:Scp2/SCP2.C:2112: argv[6] = -o
tcpip$ssh_scp2.exe:Scp2/SCP2.C:2112: argv[7] = clearallforwardings yes
tcpip$ssh_scp2.exe:Scp2/SCP2.C:2112: argv[8] = -o
tcpip$ssh_scp2.exe:Scp2/SCP2.C:2112: argv[9] = passwordprompt %U@%H's
password:
tcpip$ssh_scp2.exe:Scp2/SCP2.C:2112: argv[10] = -o
tcpip$ssh_scp2.exe:Scp2/SCP2.C:2112: argv[11] = nodelay yes
tcpip$ssh_scp2.exe:Scp2/SCP2.C:2112: argv[12] = -o
tcpip$ssh_scp2.exe:Scp2/SCP2.C:2112: argv[13] = authenticationnotify
yes
tcpip$ssh_scp2.exe:Scp2/SCP2.C:2112: argv[14] = lou
tcpip$ssh_scp2.exe:Scp2/SCP2.C:2112: argv[15] = -s
tcpip$ssh_scp2.exe:Scp2/SCP2.C:2112: argv[16] = sftp
tcpip$ssh_scp2.exe:Scp2/SCP2.C:1881: notification: 0
tcpip$ssh_scp2.exe:Scp2/SCP2.C:1881: notification: 1
debug: connecting to lou, port 22...
debug: entering event loop
debug: ssh_client_wrap: creating transport protocol
debug: SshAuthMethodClient/SSHAUTHMETHODC.C:146: Added "publickey" to
usable methods.
debug: Ssh2Client/SSHCLIENT.C:1368: creating userauth protocol
debug: Ssh2Common/SSHCOMMON.C:518: local ip = 10.162.2.76, local port =
52848
debug: Ssh2Common/SSHCOMMON.C:520: remote ip = 10.162.2.77, remote port
= 22
debug: SshConnection/SSHCONN.C:2184: Wrapping...
debug: Ssh2Transport/TRCOMMON.C:666: Remote version: SSH-2.0-2.4.1 SSH
Secure Shell OpenVMS V1.0
debug: Ssh2Transport/TRCOMMON.C:1212: c_to_s: cipher 3des-cbc, mac
hmac-sha1, compression none
debug: Ssh2Transport/TRCOMMON.C:1215: s_to_c: cipher 3des-cbc, mac
hmac-sha1, compression none
debug: Ssh2Client/SSHCLIENT.C:530: Host key found from database.
debug: Ssh2Common/SSHCOMMON.C:322: Received SSH_CROSS_STARTUP packet
from connection protocol.
debug: Ssh2Common/SSHCOMMON.C:372: Received SSH_CROSS_ALGORITHMS packet
from connection protocol.
debug: Ssh2AuthPubKeyClient/AUTHC-PUBKEY.C:926: adding keyfile
"/USER01/user/d_deva/ssh2/d_deva-bud" to candidates
debug: Ssh2AuthPubKeyClient/AUTHC-PUBKEY.C:474: Constructing and
sending signature...
debug: Ssh2AuthPubKeyClient/AUTHC-PUBKEY.C:567:
ssh_client_auth_pubkey_send_signature: reading
/USER01/user/d_deva/ssh2/d_deva-bud
debug: Ssh2Common/SSHCOMMON.C:290: Received SSH_CROSS_AUTHENTICATED
packet from connection protocol.
tcpip$ssh_scp2.exe:Scp2/SCP2.C:1881: notification: 0
debug: Ssh2Common/SSHCOMMON.C:723: num_channels now 1
tcpip$ssh_scp2.exe:SshFCTransfer/SSHFC_TRANSFER.C:1688: No connection
yet. Waiting...
debug: Ssh2Common/SSHCOMMON.C:154: DISCONNECT received: Connection
closed.
debug: Ssh2/SSH2.C:248: locally_generated = TRUE
Disconnected; connection lost (Connection closed.).
debug: Ssh2Common/SSHCOMMON.C:697: num_channels now 0
debug: Got session close with exit_status=0
debug: destroying client struct...

tcpip$ssh_scp2.exe:ssh_sigchld_real_callback
tcpip$ssh_scp2.exe:ssh_sigchld_process_pid: calling handler pid
538969620 code 27
tcpip$ssh_scp2.exe: warning: child process (/sys$system/tcpip$ssh_ssh2)
exited with code 27.

%TCPIP-E-SSH_FC_ERROR, undetermined error within sshfilecopy



Relevant Pages

  • Re: Problem connecting to SSH, OpenVMS7.3-2, HP TCP/IP v5.4 patched
    ... debug: ... connection lost. ... client on the same node as the server. ... [No surprise, as I allow, but don't use, host-based authentication.] ...
    (comp.os.vms)
  • Re: Problem: I cant debug APP VS 2003 with ActiveSync 4.5
    ... Since you're using ActiveSync to make the connection, not the network, you ... install the Smart Device development components... ... In this machine I can work normaly (i can debug APP with VS2003), ...
    (microsoft.public.pocketpc.activesync)
  • RE: Sprint Novatel Ovation U720 USB phone very slow on Fedora
    ... IntelPRO/100 VE Network Connection - Packet Scheduler Miniport ... It is usually a matter of the 'correct' initialize/dial strings. ... With syslog set to debug you should be able to see the entire handshake ... This means that a dial up initialization string (AT command) needs to be ...
    (Fedora)
  • Re: SCP fails while ssh works...
    ... > hiss) inability to form a complete connection. ... > debug: server offers auth methods ... Waiting... ... > debug: destroying client struct... ...
    (freebsd-questions)
  • Re: doesnt boot after enable Kernel debugger
    ... after boot configure the debug port in Connectivity Options. ... Turn on KITL. ... > process will stop until it gets a KITL connection). ...
    (microsoft.public.windowsce.platbuilder)

Loading