How to connect to your BB10 device or simulator?
Turn on Development Mode
Creating an RSA2 key
ssh-keygen -t rsa -b 4096
and choose a name as you like, here using rsa-bbx
Start Connect Service
blackberry-connect -targetHost 169.254.0.1 -devicePassword 1234 -sshPublicKey rsa-bbx.pub
keep this console there.
Make the SSH connection
start another console, make the ssh connection
ssh firstname.lastname@example.org -i rsa-bbx
If you are connecting to a simulator, find the IP at the bottom of simulator window.
NOTICE: Make sure the file rsa-bbx and rsa-bbx.pub is in current path, or you could use its full path.