maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   OS2008 / Maemo 4 / Chinook - Diablo (https://talk.maemo.org/forumdisplay.php?f=29)
-   -   SSH application? (Multiple saved profiles) (https://talk.maemo.org/showthread.php?t=15484)

BatPenguin 2008-01-21 19:19

SSH application? (Multiple saved profiles)
 
I was wondering if there's some sort of an SSH application / program for managing SSH connections available for OS2008. I tried looking for something like this here on the forums and from the software lists and didn't seem to find one.

So, what I'd like to find is pretty much Putty: an application that would allow you to save and re-use various SSH profiles for connecting to different servers. I have a few I connect to regularly, and using the command line is not very convenient (although of course works perfectly), it'd be nice to have the addresses and ports saved and easily reusable in a program instead of typing them on the command line (especially since the command line lacks the nice bash CTRL+R features for looking up previous commands). Thanks!

dogsbody 2008-01-21 19:36

Re: SSH application? (Multiple saved profiles)
 
Quote:

Originally Posted by BatPenguin (Post 131581)
(especially since the command line lacks the nice bash CTRL+R features for looking up previous commands)

It's not quite the same but you know you can use the directional pad to do arrow up and scroll through previous commands?

BatPenguin 2008-01-21 19:57

Re: SSH application? (Multiple saved profiles)
 
Thanks - and yes, I've used that before too but it only seems to hold a few commands. Actually, now that I think about this more, using the direction pad might be fine if the history was longer. I suppose I should look into making it hold 100 previous commands or something like that (please let me know if you know how to do that)...I'll go search this thing up, there's gotta be a setting for lenght of history somewhere.

BatPenguin 2008-01-21 21:07

Re: SSH application? (Multiple saved profiles)
 
actually I had no luck trying to find out how to make the history longer. If anybody has an idea, I'd be very interested. (Of course still interested in SSH programs as well).

Tahitibob 2008-01-21 21:20

Re: SSH application? (Multiple saved profiles)
 
I can use kerez to manage your ssh connections.
http://david.hautbois.free.fr/joomla...d=44&Itemid=43

Add one command for each ssh connection.

luca 2008-01-21 21:25

Re: SSH application? (Multiple saved profiles)
 
Not quite what you're looking for, but a good substitute is to store the options in .ssh/config, something like

Code:

Host host1
HostName some.host.org
User my_login_at_host_1
Port 6969
....
Host host2
User my_login_at_host_2
Port 6970
....

ie. the options for each host are after the Host keyword, then you simply type, e.g. "ssh host1" to connect to some.host.org at port 6969 logging in as user my_login_at_host_1.
If you have a desktop linux installed you can see the list of options with "man ssh_config", otherwise just google ssh_config.

cvmiller 2008-01-21 22:01

Re: SSH application? (Multiple saved profiles)
 
Quote:

Originally Posted by BatPenguin (Post 131622)
actually I had no luck trying to find out how to make the history longer. If anybody has an idea, I'd be very interested. (Of course still interested in SSH programs as well).

Or don't let youself be limited by ash. You can use a _real_ bash, and use ctrl-R all you like! You can find bash on my site at:
http://www.makikiweb.com/n800/downlo...1.17.armel.deb

I hope this helps,

Craig...

Benson 2008-01-21 22:02

Re: SSH application? (Multiple saved profiles)
 
The built-in shell is busybox's doing an ash impression, I think. Somewhere I think I saw a bash package for the ITs. That may help.
Edit: cvmiller beat me, and with a link, too. :o

But for ssh sessions to the 2 computers I access regularly, I just use the cpu-monitor with the dropdown command list, and a few scripts. Also lets me easily start ssh tunneling and VNCviewer.

djs_tx 2008-01-21 22:03

Re: SSH application? (Multiple saved profiles)
 
I'm not sure if it is supported under maemo but I used to use "alias" for the same thing. You just set up an alias for each frequent command.
David

BatPenguin 2008-01-22 07:08

Re: SSH application? (Multiple saved profiles)
 
Excellent suggestions, thanks! I'll probably end up following all of these once I get the chance =). I'll certainly install your bash package, cvmiller, thanks! That'll be very useful to have the same shell as my Ubuntu machine, should make my life a lot easier.

Also, Kerez sounds very handly for this and plenty of other stuff as well, thanks Tahitibob! And for customising my ssh's on my desktop, I'll no doubt do what Luca suggested....again, thank you everybody. Great advice.


All times are GMT. The time now is 21:37.

vBulletin® Version 3.8.8