Skip to content

@diorahman /ssh-to-bb10

Embed URL


Subversion checkout URL

You can clone with
Download ZIP
Connect to your BB10 device through ssh
Create session using blackberry-connect, this tool resides inside your SDK dirs, the host dir i.e
$ blackberry-connect -password <password> -sshPublicKey ~/.ssh/bb10/id_rsa
create a config file inside ~/.ssh folder
Host bb10
User devuser
IdentityFile ~/.ssh/bb10/id_rsa
$ ssh bb10

can you help me about my problem?

Rischans-MacBook:bin macintosh$ ./blackberry-connect -password rischan -sshPublicKey /Users/macintosh/.ssh/
Info: Connecting to target
Info: Authenticating with target
Info: Encryption parameters verified
Info: Authenticating with target credentials.
Info: Successfully authenticated with target credentials.
Info: Sending ssh key to target
Error: Connection refused: Provided ssh key is too small (4096-bit minimum).
Error: Unable to send ssh key to target


solved => use -b 4096
ex : ssh-keygen -t rsa -C "" -b 4096


You can generate the keys with putty as well, while keeping the same key length, that is 4096. A detailed guide is available here:
Just an alternative in case anyone needs it.


I think that the command should be:

blackberry-connect -password -sshPublicKey ~/.ssh/bb10/

And not:

blackberry-connect -password -sshPublicKey ~/.ssh/bb10/id_rsa

Since you need to send the public key to the device, but the local machine should use the private key

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.