[Bug 1814] scp get file prepends -- before filename

bugzilla-daemon at bugzilla.mindrot.org bugzilla-daemon at bugzilla.mindrot.org
Tue Jul 12 06:19:54 EST 2011


https://bugzilla.mindrot.org/show_bug.cgi?id=1814

markbowen at targusinfo.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |markbowen at targusinfo.com

--- Comment #8 from markbowen at targusinfo.com 2011-07-12 06:19:54 EST ---
This is my first post, so please ALSO bear with me.

I've been working with APC PDU's that don't seem to understand the --
either ...

The  first example below using Sun_SSH DOES work.
The second example below using Open_SSH does NOT work ...

Unfortunately the PDU's do not produce very verbose logs.

AM I just grasping at straws here??

If indeed this is an Open_SSH bug, is there a work around until it gets
fixed?

Thanks!

--- First Example ---
mfb750 at vista$ /bin/scp -v ticadmin at 192.168.33.193:/config.ini 193.ini
Executing: program /usr/bin/ssh host 192.168.33.193, user ticadmin,
command scp -v -f /config.ini
Sun_SSH_1.1, SSH protocols 1.5/2.0, OpenSSL 0x0090704f
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: Rhosts Authentication disabled, originating port will not be
trusted.
debug1: ssh_connect: needpriv 0
debug1: Connecting to 192.168.33.193 [192.168.33.193] port 22.
debug1: Connection established.
debug1: identity file /export/home/mfb750/.ssh/id_rsa type 1
debug1: identity file /export/home/mfb750/.ssh/id_dsa type -1
debug1: Remote protocol version 1.99, remote software version cryptlib
debug1: no match: cryptlib
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-Sun_SSH_1.1
debug1: Failed to acquire GSS-API credentials for any mechanisms (No
credentials were supplied, or the credentials were unavailable or
inaccessible
Unknown code 0
)
debug1: SSH2_MSG_KEXINIT sent
debug1: SSH2_MSG_KEXINIT received
debug1: kex: server->client 3des-cbc hmac-md5 none
debug1: kex: client->server 3des-cbc hmac-md5 none
debug1: Peer sent proposed langtags, ctos:
debug1: Peer sent proposed langtags, stoc:
debug1: We proposed langtags, ctos: i-default
debug1: We proposed langtags, stoc: i-default
debug1: dh_gen_key: priv key bits set: 195/384
debug1: bits set: 489/1024
debug1: sending SSH2_MSG_KEXDH_INIT
debug1: expecting SSH2_MSG_KEXDH_REPLY
debug1: Host '192.168.33.193' is known and matches the RSA host key.
debug1: Found key in /export/home/mfb750/.ssh/known_hosts:25
debug1: bits set: 482/1024
debug1: ssh_rsa_verify: signature correct
debug1: newkeys: mode 1
debug1: SSH2_MSG_NEWKEYS sent
debug1: expecting SSH2_MSG_NEWKEYS
debug1: newkeys: mode 0
debug1: SSH2_MSG_NEWKEYS received
debug1: done: ssh_kex2.
debug1: send SSH2_MSG_SERVICE_REQUEST
debug1: got SSH2_MSG_SERVICE_ACCEPT
Authenticated with partial success.
debug1: Authentications that can continue: password
debug1: Next authentication method: password
ticadmin at 192.168.33.193's password:
debug1: Authentication succeeded (password)
debug1: fd 6 setting O_NONBLOCK
debug1: fd 7 setting O_NONBLOCK
debug1: channel 0: new [client-session]
debug1: send channel open 0
debug1: Entering interactive session.
debug1: ssh_session2_setup: id 0
debug1: Sending command: scp -v -f /config.ini
debug1: channel request 0: exec
debug1: channel 0: open confirm rwindow 8192 rmax 1024
config.ini           100% |*****************************| 24605      
00:13
debug1: client_input_channel_req: channel 0 rtype exit-status reply 0
debug1: channel 0: rcvd eof
debug1: channel 0: output open -> drain
debug1: channel 0: obuf empty
debug1: channel 0: close_write
debug1: channel 0: output drain -> closed
debug1: channel 0: rcvd close
debug1: channel 0: close_read
debug1: channel 0: input open -> closed
debug1: channel 0: almost dead
debug1: channel 0: gc: notify user
debug1: channel 0: gc: user detached
debug1: channel 0: send close
debug1: channel 0: is dead
debug1: channel 0: garbage collecting
debug1: channel_free: channel 0: client-session, nchannels 1
debug1: fd 0 clearing O_NONBLOCK
debug1: fd 1 clearing O_NONBLOCK
debug1: Transferred: stdin 0, stdout 0, stderr 0 bytes in 17.5 seconds
debug1: Bytes per second: stdin 0.0, stdout 0.0, stderr 0.0
debug1: Exit status 0
mfb750 at vista$

--- Second Example ---
mfb750 at vista$ scp -v ticadmin at 192.168.33.193:/config.ini 193.ini
Executing: program /usr/local/openssh/5.6/bin/ssh host 192.168.33.193,
user ticadmin, command scp -v -f -- /config.ini
OpenSSH_5.6p1, OpenSSL 1.0.0a 1 Jun 2010
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: Connecting to 192.168.33.193 [192.168.33.193] port 22.
debug1: Connection established.
debug1: identity file /export/home/mfb750/.ssh/id_rsa type 1
debug1: identity file /export/home/mfb750/.ssh/id_rsa-cert type -1
debug1: identity file /export/home/mfb750/.ssh/id_dsa type -1
debug1: identity file /export/home/mfb750/.ssh/id_dsa-cert type -1
debug1: Remote protocol version 1.99, remote software version cryptlib
debug1: no match: cryptlib
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_5.6
debug1: SSH2_MSG_KEXINIT sent
debug1: SSH2_MSG_KEXINIT received
debug1: kex: server->client 3des-cbc hmac-md5 none
debug1: kex: client->server 3des-cbc hmac-md5 none
debug1: sending SSH2_MSG_KEXDH_INIT
debug1: expecting SSH2_MSG_KEXDH_REPLY
debug1: Host '192.168.33.193' is known and matches the RSA host key.
debug1: Found key in /export/home/mfb750/.ssh/known_hosts:25
debug1: ssh_rsa_verify: signature correct
debug1: SSH2_MSG_NEWKEYS sent
debug1: expecting SSH2_MSG_NEWKEYS
debug1: SSH2_MSG_NEWKEYS received
debug1: Roaming not allowed by server
debug1: SSH2_MSG_SERVICE_REQUEST sent
debug1: SSH2_MSG_SERVICE_ACCEPT received
Authenticated with partial success.
debug1: Authentications that can continue: password
debug1: Next authentication method: password
ticadmin at 192.168.33.193's password:
debug1: Authentication succeeded (password).
Authenticated to 192.168.33.193 ([192.168.33.193]:22).
debug1: channel 0: new [client-session]
debug1: Entering interactive session.
debug1: Sending command: scp -v -f -- /config.ini
debug1: client_input_channel_req: channel 0 rtype exit-status reply 0
debug1: channel 0: free: client-session, nchannels 1
debug1: fd 0 clearing O_NONBLOCK
debug1: fd 1 clearing O_NONBLOCK
Transferred: sent 1456, received 872 bytes, in 0.3 seconds
Bytes per second: sent 5807.1, received 3477.9
debug1: Exit status 1
mfb750 at vista$

-- 
Configure bugmail: https://bugzilla.mindrot.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.
You are watching someone on the CC list of the bug.


More information about the openssh-bugs mailing list