ikariiin / connectbot

Automatically exported from code.google.com/p/connectbot
Apache License 2.0
0 stars 0 forks source link

Can't import ssh key at all #451

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Start connectbot
2. Menu-->Key management
3. Menu-->Import

What is the expected output? What do you see instead?
i should be able to navigate to my key-file instead nothing happens, it just 
stays at the key management screen when i click on the "import-button"

What version of the product are you using (you can see this by using Menu
-> About in the Host List)?
Latest as of 21.April.2011 which is v.1.7.1 2010.10.08

What type of system are you trying to connect to?
some debian servers

If you are able to connect, what is the output of "echo $TERM", "uname -a",
and any other relevant information on the host?
the ssh server on the servers just run fine

Please provide any additional information below.
nv

Original issue reported on code.google.com by term...@gmail.com on 21 Apr 2011 at 6:15

GoogleCodeExporter commented 9 years ago
Its looking for something in your /sdcard directory is pure text. 
Put your private key there.  Then erase it after you import.

IMHO, its safer to generate a key, (and use a password incase your device is 
stolen) and then long press that key and select copy public key.  Move that to 
the server.

Remember, to connect to a server you need a Private key on the local device and 
a corresponding public key on the remote device.
You don't want to be sending private keys around, much safer to send public 
keys. The only time you should be moving private keys to the device is if you 
are not authorized to manager your own "authorized_keys" file on the target 
server.

Original comment by scree...@gmail.com on 10 Sep 2011 at 7:11

GoogleCodeExporter commented 9 years ago
connectbot failed to import my openssh key. No reason given why. Failed to 
parse.

msoulier@anton:~$ cat .ssh/id_rsa.pub 
ssh-rsa 
AAAAB3NzaC1yc2EAAAABIwAAAIEAz6qDFXMyfrcd2akEN1pzl+CCLuLsX2XLbdLbl/gc6gRPO5/chUq+
JZJx+pcRSpIQUK98WoOzH+bCugcPOsYk80ygq4YdL688DzEksYP3mTaCTclmp819W+7x+OYKZZ3rhMWk
sgyhxoON6hDIskft8fMG/Uzeea2soFk0jiV5/jE= msoulier@tigger

Original comment by msoul...@gmail.com on 2 May 2012 at 1:38

GoogleCodeExporter commented 9 years ago
It gives "failed to parse" to me too on v.1.7.1 2010.10.08
I'm trying to re-import on a tablet the private key I used on my old phone 
(exported via cut-and-paste and reimported via bluetooth) so it's a key 
generated by Connectbot itself. 

BTW, when you have to change device, migrating keys via cleartext cut-and-paste 
is very annoying to say the least and a useless risk too: if I could just move 
the file it would at least be protected by the passphrase. But I have to remove 
the passphrase to cut-and-paste the key. Ugly! :(

Original comment by and...@nucleus.it on 12 Oct 2012 at 10:36

GoogleCodeExporter commented 9 years ago
I too received "failed to parse" error.

Original comment by koka...@gmail.com on 17 Jun 2014 at 5:12