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]
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
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
---
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