Modify

Opened 5 years ago

Closed 4 years ago

Last modified 2 years ago

#10497 closed defect (no_response)

can't scp files to router

Reported by: a.piesk@… Owned by: developers
Priority: response-needed Milestone: Barrier Breaker 14.07
Component: packages Version: Backfire 10.03.1 RC6
Keywords: Cc:

Description

with rc6 (dropbear 0.53.1) i can no longer transfer files from client to router:

$ scp -v a root@10.10.0.253:/root/
Executing: program /usr/bin/ssh host 10.10.0.253, user root, command scp -v -t /root/
OpenSSH_5.3p1, OpenSSL 1.0.0-fips 29 Mar 2010
debug1: Reading configuration data /home/pieska/.ssh/config
debug1: Applying options for *
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: Applying options for *
debug1: Connecting to 10.10.0.253 [10.10.0.253] port 22.
debug1: Connection established.
debug1: identity file /home/pieska/.ssh/identity type -1
debug1: identity file /home/pieska/.ssh/id_rsa type 1
debug1: identity file /home/pieska/.ssh/id_dsa type 2
debug1: Remote protocol version 2.0, remote software version dropbear_0.53.1
debug1: no match: dropbear_0.53.1
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_5.3
debug1: SSH2_MSG_KEXINIT sent
debug1: SSH2_MSG_KEXINIT received
debug1: kex: server->client aes128-ctr hmac-md5 none
debug1: kex: client->server aes128-ctr hmac-md5 none
debug1: sending SSH2_MSG_KEXDH_INIT
debug1: expecting SSH2_MSG_KEXDH_REPLY
debug1: Host '10.10.0.253' is known and matches the RSA host key.
debug1: Found key in /home/pieska/.ssh/known_hosts:214
debug1: ssh_rsa_verify: signature correct
debug1: SSH2_MSG_NEWKEYS sent
debug1: expecting SSH2_MSG_NEWKEYS
debug1: SSH2_MSG_NEWKEYS received
debug1: SSH2_MSG_SERVICE_REQUEST sent
debug1: SSH2_MSG_SERVICE_ACCEPT received
debug1: Authentications that can continue: publickey,password
debug1: Next authentication method: publickey
debug1: Offering public key: /home/pieska/.ssh/id_dsa
debug1: Authentications that can continue: publickey,password
debug1: Offering public key: /home/pieska/.ssh/id_rsa
debug1: Server accepts key: pkalg ssh-rsa blen 149
debug1: Authentication succeeded (publickey).
debug1: channel 0: new [client-session]
debug1: Entering interactive session.
debug1: Sending environment.
debug1: Sending env LANG = de_DE.utf8
debug1: Sending command: scp -v -t /root/

_

[pieska@bn1pcn135 ~]$ 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 2488, received 1880 bytes, in 0.0 seconds
Bytes per second: sent 58950.4, received 44544.5
debug1: Exit status 0

it seems dropbear has problems starting scp to receive the files, because the output should look like this:

..
debug1: Sending command: scp -v -t /tmp/
Sending file modes: C0644 450 a
Sink: C0644 450 a
a 100% 450 0.4KB/s 00:00
debug1: client_input_channel_req: channel 0 rtype exit-status reply 0
..

another test:

$ ssh workingserver /bin/date
So 27. Nov 10:04:20 CET 2011

$ ssh root@wlanrouter /bin/date

_

| |.-----.-----.-----.| | | |.----.| |_

| - |_
_ | -| | | _ _|
|_||| ||

|| W I R E L E S S F R E E D O M

Backfire (10.03.1-RC6, r28680) --------------------

  • 1/3 shot Kahlua In a shot glass, layer Kahlua
  • 1/3 shot Bailey's on the bottom, then Bailey's,
  • 1/3 shot Vodka then Vodka.

---------------------------------------------------

<session hangs>

regards,
-ap

Attachments (0)

Change History (4)

comment:1 in reply to: ↑ description Changed 5 years ago by anonymous

aarrgh, this time with correct formatting:

with rc6 (dropbear 0.53.1) i can no longer transfer files from client to router:

$ scp -v a root@10.10.0.253:/root/
Executing: program /usr/bin/ssh host 10.10.0.253, user root, command scp -v -t /root/
OpenSSH_5.3p1, OpenSSL 1.0.0-fips 29 Mar 2010
debug1: Reading configuration data /home/pieska/.ssh/config
debug1: Applying options for *
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: Applying options for *
debug1: Connecting to 10.10.0.253 [10.10.0.253] port 22.
debug1: Connection established.
debug1: identity file /home/pieska/.ssh/identity type -1
debug1: identity file /home/pieska/.ssh/id_rsa type 1
debug1: identity file /home/pieska/.ssh/id_dsa type 2
debug1: Remote protocol version 2.0, remote software version dropbear_0.53.1
debug1: no match: dropbear_0.53.1
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_5.3
debug1: SSH2_MSG_KEXINIT sent
debug1: SSH2_MSG_KEXINIT received
debug1: kex: server->client aes128-ctr hmac-md5 none
debug1: kex: client->server aes128-ctr hmac-md5 none
debug1: sending SSH2_MSG_KEXDH_INIT
debug1: expecting SSH2_MSG_KEXDH_REPLY
debug1: Host '10.10.0.253' is known and matches the RSA host key.
debug1: Found key in /home/pieska/.ssh/known_hosts:214
debug1: ssh_rsa_verify: signature correct
debug1: SSH2_MSG_NEWKEYS sent
debug1: expecting SSH2_MSG_NEWKEYS
debug1: SSH2_MSG_NEWKEYS received
debug1: SSH2_MSG_SERVICE_REQUEST sent
debug1: SSH2_MSG_SERVICE_ACCEPT received
debug1: Authentications that can continue: publickey,password
debug1: Next authentication method: publickey
debug1: Offering public key: /home/pieska/.ssh/id_dsa
debug1: Authentications that can continue: publickey,password
debug1: Offering public key: /home/pieska/.ssh/id_rsa
debug1: Server accepts key: pkalg ssh-rsa blen 149
debug1: Authentication succeeded (publickey).
debug1: channel 0: new [client-session]
debug1: Entering interactive session.
debug1: Sending environment.
debug1: Sending env LANG = de_DE.utf8
debug1: Sending command: scp -v -t /root/
  _______                     ________        __
[pieska@bn1pcn135 ~]$ 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 2488, received 1888 bytes, in 0.0 seconds
Bytes per second: sent 91012.4, received 69064.1
debug1: Exit status 0

it seems dropbear has problems starting remote commands like scp:

$ ssh -v root@wlanrouter /bin/date
OpenSSH_5.3p1, OpenSSL 1.0.0-fips 29 Mar 2010
debug1: Reading configuration data /home/pieska/.ssh/config
debug1: Applying options for wlanrouter
debug1: Applying options for *
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: Applying options for *
debug1: Connecting to wlanrouter [2001:470:1f15:1c40::1] port 22.
debug1: Connection established.
debug1: identity file /home/pieska/.ssh/identity type -1
debug1: identity file /home/pieska/.ssh/id_rsa type 1
debug1: identity file /home/pieska/.ssh/id_dsa type 2
debug1: Remote protocol version 2.0, remote software version dropbear_0.53.1
debug1: no match: dropbear_0.53.1
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_5.3
debug1: SSH2_MSG_KEXINIT sent
debug1: SSH2_MSG_KEXINIT received
debug1: kex: server->client aes128-ctr hmac-md5 none
debug1: kex: client->server aes128-ctr hmac-md5 none
debug1: sending SSH2_MSG_KEXDH_INIT
debug1: expecting SSH2_MSG_KEXDH_REPLY
debug1: Host 'wlanrouter' is known and matches the RSA host key.
debug1: Found key in /home/pieska/.ssh/known_hosts:214
debug1: ssh_rsa_verify: signature correct
debug1: SSH2_MSG_NEWKEYS sent
debug1: expecting SSH2_MSG_NEWKEYS
debug1: SSH2_MSG_NEWKEYS received
debug1: SSH2_MSG_SERVICE_REQUEST sent
debug1: SSH2_MSG_SERVICE_ACCEPT received
debug1: Authentications that can continue: publickey,password
debug1: Next authentication method: publickey
debug1: Offering public key: /home/pieska/.ssh/id_dsa
debug1: Authentications that can continue: publickey,password
debug1: Offering public key: /home/pieska/.ssh/id_rsa
debug1: Server accepts key: pkalg ssh-rsa blen 149
debug1: Authentication succeeded (publickey).
debug1: channel 0: new [client-session]
debug1: Entering interactive session.
debug1: Sending environment.
debug1: Sending env LANG = de_DE.utf8
debug1: Sending command: /bin/date
  _______                     ________        __
 |       |.-----.-----.-----.|  |  |  |.----.|  |_
 |   -   ||  _  |  -__|     ||  |  |  ||   _||   _|
 |_______||   __|_____|__|__||________||__|  |____|
          |__| W I R E L E S S   F R E E D O M
 Backfire (10.03.1-RC6, r28680) --------------------
  * 1/3 shot Kahlua    In a shot glass, layer Kahlua 
  * 1/3 shot Bailey's  on the bottom, then Bailey's, 
  * 1/3 shot Vodka     then Vodka.
 ---------------------------------------------------
<session hangs>

regards,
ap

comment:2 Changed 4 years ago by nbd

  • Priority changed from high to response-needed

Please try a trunk snapshot to see if the issue happens there as well.

comment:3 Changed 4 years ago by nbd

  • Resolution set to no_response
  • Status changed from new to closed

comment:4 Changed 2 years ago by jow

  • Milestone changed from Attitude Adjustment 12.09 to Barrier Breaker 14.07

Milestone Attitude Adjustment 12.09 deleted

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.