Bagoro / connectbot

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

Feature request: Allow import of host info #155

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
It would save me a lot of typing if I could import a list of hosts, using a
text file structured like the standard /etc/hosts file:

ip address, name, type (ssh, telnet), port

Most common delimiter would be "whitespace" (tabs, spaces) and comma would
likely be useful to some people, too.

Minimum would be ip address and name. 99% of the hosts I connect to are
telnet so it would be helpful if I could choose a default connection type
at import time, since connectbot was mainly created as an ssh client.

If port is not present it would default to the value appropriate to the
connection type. To use a non-standard port would require the connection
type field to proceed it. Examples:

192.168.9.2 foohost
192.168.9.2 foohost telnet
192.168.9.2 foohost telnet 2023

Maybe type could be abbreviated t, s.

What version of the product are you using (you can see this by using Menu
-> About in the Host List)?
1.5.2

Original issue reported on code.google.com by starman617@gmail.com on 21 Jun 2009 at 3:00

GoogleCodeExporter commented 9 years ago
This should be doable once we get backup/restore functionality which is Issue 
125.
Then a program could be written to convert that format into the format suitable 
for
'restore' which would just act as a host import.

Original comment by kenny@the-b.org on 30 Jun 2009 at 9:29