12-28-2012 10:07 PM - edited 12-28-2012 10:30 PM
I've generated an SSH key specifically for blackberry-connect.
$ ssh-keygen -t rsa -b 4096 -C "test@example.com"
...
Enter file in which to save the key (/Users/chrisseaton/.ssh/id_rsa): /Users/chrisseaton/.ssh/test@example.com
...
When I try to use this with blackberry-connect I'm told it's not long enough.
$ blackberry-connect 192.168.1.74 -password whenthegatesfell -sshPublicKey ~/.ssh/test\@example.com.pub
Info: Connecting to target 192.168.1.74:4455
Info: Authenticating with target 192.168.1.74:4455
Info: Encryption parameters verified
Info: Authenticating with target credentials.
Info: Successfully authenticated with target credentials.
Info: Sending ssh key to target 192.168.1.74:4455
Error: Connection refused: Provided ssh key is too small (4096-bit minimum).
Error: Unable to send ssh key to target
Version 1.2.0, on OS X.
I'm using blackberry-connect because I want to use adb and logcat to debug a problem.
What am I doing wrong?
12-29-2012 07:57 AM
02-20-2013 04:09 AM
use parameter -b 4096
ex: ssh-keygen -t rsa -C "rischanlab@gmail.com" -b 4096
02-20-2013 04:12 AM
Not sure what you mean - in my post I said that I used that parameter when generating the key. What are you suggesting I do differently?
02-20-2013 04:48 AM
i got the same problem with you, but this solution worked. https://gist.github.com/diorahman/4334311
my device is BB10 dev alpha
maybe you can try again, backup your .ssh folder and generate new key :-D