[PATCH] Fix segfault with restricted authorized_key files without forced command.

2015-06-22 Thread Guilhem Moulin
S $ sed -n '/ ssh-.*/{s///p; q}' ~/.ssh/authorized_keys no-port-forwarding S $ /usr/sbin/dropbear -r /tmp/dropbear.key -svEF -p 127.0.0.1: […] [6773] Jun 22 01:56:38 Port forwarding disabled. […] [6773] Jun 22 01:56:38 Port forwarding disabled. […] [6773]

scp of sysfs file repeats data

2015-06-22 Thread Craig McQueen
I tried doing scp of a sysfs attribute. I found that it duplicated the data, as well as adding extra NUL bytes. E.g.: # scp /sys/class/net/eth0/address localhost: # cat ~/address d0:39:72:53:ef:0e d0:39:72:53:ef:0e # hexdump -C ~/address 64 30 3a 33 39 3a 37 32 3a 35 33 3a 65 66 3a 30

RE: scp of sysfs file repeats data

2015-06-22 Thread Craig McQueen
Subject: scp of sysfs file repeats data I tried doing scp of a sysfs attribute. I found that it duplicated the data, as well as adding extra NUL bytes. E.g.: # scp /sys/class/net/eth0/address localhost: # cat ~/address d0:39:72:53:ef:0e d0:39:72:53:ef:0e # hexdump -C ~/address

[PATCH] Fix typo in dropbear(8)'s manpage.

2015-06-22 Thread Guilhem Moulin
--- dropbear.8 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/dropbear.8 b/dropbear.8 index 42f8ddb..3e05b08 100644 --- a/dropbear.8 +++ b/dropbear.8 @@ -100,8 +100,8 @@ Print the version .TP Authorized Keys -~/.ssh/authorized_keys can be set up to allow remote