smallperson / connectbot

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

Add a "drop public key" option #398

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
This report is intended as a proposed enhancement.

The idea is to assist users who generate their keys on an Android phone to 
distribute the public key to the machines they log in to.  If the machine they 
are accessing supports the nc program, ConnectBot can:

1. Send the command "nc -l <port-number> >> ~.ssh/authorized-keys",
2. Temporarily forward a local port to that port number,
3. Send the public key corresponding to the private key that the user selected 
in SSH format over the local port.

If ConnectBot could just send the public key information to the remote port 
without actually setting up a fully forwarded port, that would be even more 
secure.

I imagine that the destination file should be user-selectable.

Original issue reported on code.google.com by rtweeks21 on 4 Dec 2010 at 3:02