02-15-2012 12:39 PM
I've followed the instructions here http://wiki.qt-project.org/QNX
but I cannot connect with ssh.
This is what I get:
andrea@centurion:~/.ssh$ blackberry-connect 192.168.72.128 -sshPublicKey id_rsa.pub
Info: Connecting to target 192.168.72.128:4455
Info: Authenticating with target 192.168.72.128:4455
Info: Encryption parameters verified
Info: Sending ssh key to target 192.168.72.128:4455
Info: ssh key successfully transferred.
Error: Connection refused: Unexpected command
andrea@centurion:~/.ssh$ ssh -i id_rsa email@example.com
ssh: connect to host 192.168.72.128 port 22: Connection refused
how can I fix it? Thanks.
02-15-2012 01:15 PM
I already have ssh keys and I use them for many things (GitHub, Gitorious, Launchpad Ubuntu ecc...) I just would not want to overwrite them and loose them. How can I generate new keys without loosing my old one? Thanks.
p.s: I'm using Ubuntu Linux
02-15-2012 01:22 PM
Correct. It needs to be at least 4096-bits.
You can use ssh-keygen to generate a new key and provide a location for it so that it doesn't override your existing key.
ssh-keygen -b 4096 -t RSA -f <creation_path>
For more info, ssh-keygen has a detailed man page.