BlackBerry Forums Support Community               

Closed Thread
 
LinkBack Thread Tools
Old 09-27-2008, 08:27 PM   #1 (permalink)
Thumbs Must Hurt
 
Join Date: May 2007
Model: 9000
PIN: N/A
Carrier: Telcel
Posts: 58
Post Thanks: 0
Thanked 0 Times in 0 Posts
Smile Custom Build MidpSSH for Blackberries

Please Login to Remove!

I've done my custom build of MidpSSH that is intended to work on blackberries.
All props go to Karl @ XK72 for providing this open source project. I'll continue to work on it to see if I can change some display settings (ie fonts).

Heres what I added apart from his latest released src (1.7.3)

* BIS-B support (depends on carrier on which ports you might be able to work, IE on mine they block port 22, but I just changed my sshd port of linux box to a higher port,). When configuring the host, just add :PORT (so it would be IP.OF.SERVER:PORT
* WIFI support
* Application is signed in order to gain access to some RIM protected APIs

Heres the OTA link for it

Latest: 1.7.4 beta2
http://ota.deltatech.com.mx/

Last edited by Asskick : 11-11-2008 at 01:56 AM.
Offline  
Old 09-27-2008, 08:32 PM   #2 (permalink)
BlackBerry Extraordinaire
 
rivviepop's Avatar
 
Join Date: Dec 2006
Location: san francisco
Model: 8320
PIN: n/a
Carrier: t-mobile
Posts: 2,166
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

Sweet, thanks! I'll check it out soon.
__________________
[ Linux & BlackBerry ] http://www.blackberryforums.com/linux-users-corner/
Offline  
Old 09-27-2008, 09:18 PM   #3 (permalink)
Thumbs Must Hurt
 
Join Date: May 2007
Model: 9000
PIN: N/A
Carrier: Telcel
Posts: 58
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by rivviepop View Post
Sweet, thanks! I'll check it out soon.
Great! Post feedbacks once you tried it.. I just tested it on my Bold.. not quite sure how it will work on other devices
Offline  
Old 09-27-2008, 10:31 PM   #4 (permalink)
BlackBerry Extraordinaire
 
rivviepop's Avatar
 
Join Date: Dec 2006
Location: san francisco
Model: 8320
PIN: n/a
Carrier: t-mobile
Posts: 2,166
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quick 5 second feedback:

OK:
- works on 8320 w/ 4.5.0.81 (only tried TCP so far)

Oops:

- doesn't upgrade 1.7.3, installs alongside it; it appears 1.7.3 uses "midpssh2" as the module name and you're using "midpssh" -- this causes it not to upgrade, and any previous settings are not carried over (to my knowledge the RMS store is based on the specific module name)

- when entering a new session config, the Caps is on for the first letter; this should not be (even though it's normal for BB in general) since your hostname and username are 99.9% of the time lowercase

- it's 2008, SSH2 should be the default not SSH1

I'd love if somehow we could now put a private RSA/DSA key on the device and use ssh keys for logging in.... one for the feature list.

A minor UI enhancement would be to get rid of the menu that pops up when you click on things with the trackball and go directly to the Select action. (i.e. Sessions -> menu -> select -> (session) -> menu -> select). What a royal pain - the click of trackball should always do the usual Select action like most BB apps, if the user wants a menu they click the Menu key.

Thanks!
__________________
[ Linux & BlackBerry ] http://www.blackberryforums.com/linux-users-corner/
Offline  
Old 09-27-2008, 10:40 PM   #5 (permalink)
Thumbs Must Hurt
 
Join Date: May 2007
Model: 9000
PIN: N/A
Carrier: Telcel
Posts: 58
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

Well basiclly I didnt touch most of the code for now.. I just wanted to first get the networking part working, via all possible methods/way of connecting... and the TCP method is exactly the same as Karl had (via APN). The current UI implementation was designed for all cell phones.

But I'll see what I can do for the other improvements you mentioned. The hardest one I see is the one to make it log on using ssh keys, since I would have to see first how ssh works and see if the classes that karl has on his code supports it, if not it will be a bit difficult for me to add a feature like that (i just started developing bberry apps :P)
Offline  
Old 09-28-2008, 06:56 AM   #6 (permalink)
New Member
 
Join Date: Jul 2008
Location: Indiana (for now)
Model: 8520
OS: 4.6.xxx
PIN: N/A
Carrier: Tmobile
Posts: 11
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

sweet
I have an 8100 on T-mobile Bis and it worked. I need a magnifying glass to read the remote screen. My eyes are bad enough. However this has wonderful potential.
First pass it turned the first letter of my login caps. Although it did connect and was properly refused.

Any hope of adjusting screen size of remote connection?
Offline  
Old 10-01-2008, 06:22 PM   #7 (permalink)
Thumbs Must Hurt
 
Join Date: May 2007
Model: 9000
PIN: N/A
Carrier: Telcel
Posts: 58
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

I just compiled a newer version that has a bit bigger font. I know its still a bit small, but else it will break the terminal use (some app requires like >50 columns to display (like 'w'ho)

http://ota.deltatech.com.mx/

I'll try to now make improvements on the GUI deparment

Last edited by Asskick : 11-11-2008 at 01:56 AM.
Offline  
Old 10-02-2008, 08:11 AM   #8 (permalink)
New Member
 
Join Date: Jun 2008
Model: 9000
PIN: N/A
Carrier: Rogers
Posts: 8
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thank you! I was hoping someone would update midpssh, I was originally looking to purchase from Rove, but with their descions lately is nice to see a freeware alternative updated.
Offline  
Old 10-03-2008, 01:12 AM   #9 (permalink)
Knows Where the Search Button Is
 
Join Date: May 2005
Model: 8830
Carrier: Verizon Wireless
Posts: 18
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

Is there a debug/log ? I am trying to connect to my internal Cisco routers using SSH2, and keep getting disconnected right after I connect.
Offline  
Old 10-03-2008, 06:52 PM   #10 (permalink)
Thumbs Must Hurt
 
Join Date: May 2007
Model: 9000
PIN: N/A
Carrier: Telcel
Posts: 58
Post Thanks: 0
Thanked 0 Times in 0 Posts
Smile

Heres a newer build.. now it lets you choose between the size of the LCD font size, and menus are a bit better..

Please consider this as its still a work in progress to tweak it for our berries

http://www.deltatech.com.mx/midpssh/...ssh-bb-ota.jad
Offline  
Old 10-03-2008, 06:54 PM   #11 (permalink)
Thumbs Must Hurt
 
Join Date: May 2007
Model: 9000
PIN: N/A
Carrier: Telcel
Posts: 58
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by spatton View Post
Is there a debug/log ? I am trying to connect to my internal Cisco routers using SSH2, and keep getting disconnected right after I connect.
Try the the beta2 I just posted.. let me know if you still have issues...
Offline  
Old 10-04-2008, 10:27 PM   #12 (permalink)
Knows Where the Search Button Is
 
Join Date: Sep 2008
Model: 8900
PIN: 867-5309
Carrier: Att
Posts: 27
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

hum. i'm not quite sure what this is, anyone care to explain?
Offline  
Old 10-05-2008, 06:36 AM   #13 (permalink)
Thumbs Must Hurt
 
Join Date: May 2007
Model: 9000
PIN: N/A
Carrier: Telcel
Posts: 58
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

This is a free SSH/telnet client.. mainly used to connect to linux boxes/routers. The build offered by midpssh directly doesnt support wifi neither bisb, which the build I did offers (a great plus since some ppl just have access to bisb service and not thru APN).
Offline  
Old 10-06-2008, 03:58 AM   #14 (permalink)
Thumbs Must Hurt
 
WillJitsu's Avatar
 
Join Date: Mar 2008
Location: Memphis, TN
Model: 8130
OS: 4.5.0.138
PIN: 318B717B
Carrier: Sprint
Posts: 196
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

Wirelessly posted

Is there a way to enable Multitap with this application?
Offline  
Old 10-09-2008, 01:55 PM   #15 (permalink)
Talking BlackBerry Encyclopedia
 
luc-mobile's Avatar
 
Join Date: Sep 2007
Location: Brazil
Model: 8900
Carrier: Claro
Posts: 221
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

It works fine on my Berry with BIS-B. I am impressed.

Like rivviepop, I hate these annoying menus. Also the caps get in the way a little.

But unlike him, I don't want to put RSA/DSA keys on the device. We can save the password in the profile section, isn't that enough? Besides, key files could be copied to other machines. That's even more insecure than a saved password. In fact, I didn't save my password. Security is the whole point of SSH.

Great job!
__________________
Ubuntu Linux and Curve 8900.
http://www.BerryReview.com
Offline  
Old 10-09-2008, 02:58 PM   #16 (permalink)
BlackBerry Extraordinaire
 
rivviepop's Avatar
 
Join Date: Dec 2006
Location: san francisco
Model: 8320
PIN: n/a
Carrier: t-mobile
Posts: 2,166
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by luc-mobile View Post
But unlike him, I don't want to put RSA/DSA keys on the device. We can save the password in the profile section, isn't that enough? Besides, key files could be copied to other machines. That's even more insecure than a saved password. In fact, I didn't save my password. Security is the whole point of SSH.
Actually, it's not the same as a saved password when you think it through. A key on a device still must be unlocked with a passphrase, so in the event of a physical breech (device is stolen) you have 3 scenarios: no password saved or key (safest), a key still requiring a passphrase (next safest), and a password saved into device memory (least safe). By necessity the ability to somehow decrypt the password within the software must be present, as the password must be sent to the remote server at connection time. Even if you were able to encrypt the password with the same level of encryption as a keyfile, you necessarily would have to leave the means to decrypt it inside. Unless of course you built in a password to the software to unlock the password(s) (a possiblity for sure!).

Having a private keypart on a device is more secure than having a password saved in the application, but of course saving neither one of the two is the most secure from the device side standpoint in case of a physical attack. As you can imagine I don't save any passwords on the device.
__________________
[ Linux & BlackBerry ] http://www.blackberryforums.com/linux-users-corner/
Offline  
Old 10-09-2008, 08:29 PM   #17 (permalink)
New Member
 
Lex Reis's Avatar
 
Join Date: Oct 2008
Location: Brasil
Model: 9000
OS: 4.6.0.237
PIN: 207ABBCE
Carrier: Vivo
Posts: 13
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

Works even with BOld?
Offline  
Old 10-09-2008, 11:08 PM   #18 (permalink)
Thumbs Must Hurt
 
Join Date: May 2007
Model: 9000
PIN: N/A
Carrier: Telcel
Posts: 58
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by Lex Reis View Post
Works even with BOld?
Actually my test unit is a Bold So expect it to work on it...
Offline  
Old 10-10-2008, 09:03 AM   #19 (permalink)
New Member
 
Join Date: Sep 2008
Location: Toronto
Model: 8800
OS: v4.2.1101
PIN: 205E242A
Carrier: Rogers
Posts: 1
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

Just installed it on my 8800.
Works like a charm.

Now just need to figure out why I'm on BES but don't have access into my work network - then I can do my job from my BB.
Offline  
Old 10-30-2008, 05:25 PM   #20 (permalink)
Knows Where the Search Button Is
 
Join Date: Oct 2008
Model: 8330
PIN: N/A
Carrier: Verizon Wireless
Posts: 19
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

I installed the "beta 2" build on my 8330, and I am also having issues connecting to a Cisco device. Here is what the Cisco's log is telling me:

Quote:
Oct 30 21:43:21 UTC: SSH2 0: hostkey algo not supported: client ssh-dss, server ssh-rsa
I was reading somewhere that this issue may have something to do with needing to use an RSA key instead of a DSA key... I haven't found a way to make it connect yet.

On a side note, I'd love to be able to import a private key from putty or something. Most of our SSH2-enabled devices require me to use my private key. This one happens to not require a key, but it doesn't like the client. Just my luck.

Last edited by Tempest_Prime : 10-30-2008 at 05:27 PM.
Offline  
Closed Thread


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On





Copyright 2004-2014 BlackBerryForums.com.
The names RIM and BlackBerry are registered Trademarks of BlackBerry Inc.