13 May 2006 00:44
"premature exit: string too long"
Sebastian Haag <seven <at> 7labs.de>
2006-05-12 22:44:07 GMT
2006-05-12 22:44:07 GMT
Hi, I´m using dropbear 0.48.1 and have a little problem with the public/private keys. I generated the public and private keys with dropbearkey and copied the public key to "/etc/dropbear/dropbear_rsa_host_key" (on the SERVER, where 'dropbear' is running/should run). This file is readable and writeable only to user root. The content is: ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAAAgwChT3x47P43i1yc5KrUodYJYlKl7efDqt9x6fF/doazGT3t3hcC/rBpKzIqRUFFrER54rIMnt4ngPQ1J0NsOlpg4sRnIV5V4D4kFDinBZax5Fg4vUJQ2vh2LBioXTRDYr5gaDQfMS7X6pXJ5NiDTE5k8GddBiRPR/INm1scSo/q0qZz (without any linebreaks or anything else) Do I have to append username <at> host or anything else? When i want to start dropbear (with 'dropbear'), i get the following message: "premature exit: string too long". I think i missunderstood something essential in public-key-authentication. Is there a howto where to put which key when using dropbear? I found something like that: "To create a new RSA key to store in /.ssh/id_rsa.db, you can use the following command: dropbearkey -t rsa -f ~/.ssh/id\_rsa.db The public key part of the new key will be printed to the screen. You can put it into the /.ssh/authorized_keys file on all machines where you want to be able to login using your new private key stored in /.ssh/id_rsa.db"(Continue reading)
>
> So I checked my kernel config and found under "General setup" the option
> "Enable 16 bit UID calls", activated it and getuid() now works properly.
Upgrade your uClibc. I believe the current one (0.9.28) doesn't make obsolete
syscalls anymore.
Rob
RSS Feed