Welcome to the VanDyke Software Forums

Join the discussion today!


Go Back   VanDyke Software Forums > Secure Shell

Notices

Reply
 
Thread Tools Display Modes
  #1  
Old 10-20-2013, 05:21 PM
maxg maxg is offline
Registered User
 
Join Date: Dec 2009
Posts: 22
Feature Request: Mosh support

Hello again,

I just wanted to chime in and say I'd be very pleased to see SecureCRT add Mosh (http://mosh.mit.edu) support. I travel a lot and end up on cellular or generally slow connections with high latency. This makes even the most basic tasks on SSH incredibly tedious and difficult.

I've been using Mosh on the command-line, as it's an out-of-the-box replacement for ssh (it runs both client and server-side), and it makes my life a lot easier. Other SSH clients have added Mosh support (such as the iOS client "iSSH") so I'm assuming (and I may be wrong) that it isn't too difficult to add a Mosh protocol with a slightly changed version of the SSH protocol.

Technical information here: http://mosh.mit.edu/#techinfo

Thanks!
Reply With Quote
  #2  
Old 10-21-2013, 07:28 AM
rtb rtb is offline
VanDyke Technical Support
 
Join Date: Aug 2008
Posts: 4,305
Hi maxg,

Thanks for chiming in. We will post to this thread if support for MOSH is added to a future release of SecureCRT.

If you would like to be notified directly, please complete and submit the form at the following location:
Submit Feature Request
__________________
--Todd

VanDyke Software
Technical Support
support@vandyke.com
505-332-5730
Reply With Quote
  #3  
Old 02-25-2014, 04:37 PM
maxg maxg is offline
Registered User
 
Join Date: Dec 2009
Posts: 22
Hi again,

Has this been considered? I may be a minority I'm just curious if this has a remote chance of being added. It's such an amazingly useful protocol.

Thanks!
Reply With Quote
  #4  
Old 02-25-2014, 04:56 PM
Maureen's Avatar
Maureen Maureen is offline
VanDyke Product Director
 
Join Date: Feb 2004
Location: Albuquerque, NM
Posts: 1,612
Thanks for following up on this request. Support for mosh has been considered, but it's not currently on the product roadmap. I'll post a note here if it does get implemented.

Maureen
Reply With Quote
  #5  
Old 03-14-2014, 04:18 PM
dcornejo dcornejo is offline
Registered User
 
Join Date: Mar 2004
Location: Honolulu, HI USA
Posts: 1
I also would love to see mosh support incorporated

It doesn't appear that the Windows version has it (and I don't have a Mac), but in the Linux version there's a local shell option which must invoke bash somehow - I was thinking that to generalize this and allow an user selectable external program instead of bash to handle the connection would be useful and allow easy extension of the connection protocols to whatever I wanted and could get a program for.
Reply With Quote
  #6  
Old 04-09-2014, 07:29 AM
mattdey mattdey is offline
Registered User
 
Join Date: Feb 2008
Posts: 6
+1 for mosh support
Reply With Quote
  #7  
Old 04-16-2014, 10:58 AM
bsdam bsdam is offline
Registered User
 
Join Date: Apr 2014
Posts: 1
+1 for Mosh support as well.
Reply With Quote
  #8  
Old 04-17-2014, 03:51 PM
fnord fnord is offline
Registered User
 
Join Date: Apr 2014
Location: Sweden
Posts: 1
I, too, would love mosh support in SecureCRT. Being on the move and on the road a lot, using various connections of varying quality, it really is a lifesaver.
Reply With Quote
  #9  
Old 08-13-2014, 03:41 PM
inushi inushi is offline
Registered User
 
Join Date: Aug 2014
Posts: 2
+1 me too.

Mosh's ability to deal with lossy or interrupted connections is becoming a must-have killer feature for me. I've been using SecureCRT for 15 years, and I'm about to drop it in favor of a mosh-enabled client.

I've enjoyed the years with SecureCRT - at its core it is a solid terminal emulator, and added around the core are lots of nice features. But these days I spend most of my time on a laptop moving from room to room, and mosh's ability to transparently reconnect without losing state is awesome.
  • I used mosh for a day, and thought "that's cute, but is it really useful?"
  • I used mosh for a week, and thought "actually yes, it's very nice that I can sleep and wake the computer and my terminal connection just keeps on working."
  • I used mosh for a year, and thought "mosh is awesome, I love that it makes sleeping and waking my computer a zero-thought action. I love that it helps me deal with lossy wifi. It makes my life easier by making it so that I don't need to worry about things."

At this point I would give up SecureCRT with all its nice features in favor of a bare-bones emulator with a poor UI, just because the other one has Mosh support. (And today, I've done so.)

I love SecureCRT, but mosh support is more important to me.
Reply With Quote
  #10  
Old 08-14-2014, 09:36 AM
Maureen's Avatar
Maureen Maureen is offline
VanDyke Product Director
 
Join Date: Feb 2004
Location: Albuquerque, NM
Posts: 1,612
We would very much like to add mosh support to SecureCRT. Unfortunately, the license for it is GPL, which means that we would have to publicly release SecureCRT's source code. If MIT changes the licensing for mosh, we will definitely consider adding it.

Maureen
Reply With Quote
  #11  
Old 08-15-2014, 02:14 PM
inushi inushi is offline
Registered User
 
Join Date: Aug 2014
Posts: 2
Thanks for the reply. For some reason I thought their license an easier one to work with, but I was confused and you're right: the license is GPL.

I happen to know the Mosh team, and I asked if they have advice for using Mosh in commercial products. The reply leaves room for optimism. I'll ask support@vandyke.com if they can get me in touch with you.

(Also, to clarify a point of possible confusion: Mosh was developed by MIT students and alumni on their personal time. Think of it as a student project, which has graduated. It started at MIT, but it is not run by MIT.)

Cheers,
Reply With Quote
  #12  
Old 09-24-2014, 12:11 AM
swatspyder swatspyder is offline
Registered User
 
Join Date: Sep 2014
Posts: 2
Arrow

This is a method for getting Mosh (https://mosh.mit.edu/) to work with SecureCRT on Ubuntu Linux

For a "NEW" session, follow these steps...
  1. Select Protocol "Local Shell".
  2. Create a session name such as "mailserver - FreeBSD - Mosh".
  3. Right click on the new session and select "Properties".
  4. In the left column, select the category "Logon Options" under "Connection".
  5. Check the box that says "Automate Logon".
  6. Delete "ogin:" and "assword:" from the list.
  7. Click the "Add" button.
  8. In the "Send" field, enter the following (modified how you need it):
    Code:
    /usr/bin/mosh --server="mosh-server new -l LANG=en_US.UTF-8" --ssh="ssh -p [port #]" [username]@[IP ADDR]
  9. Click OK to save that send action.
  10. In the left column, select the category "Advanced" under "Terminal" > "Emulation".
  11. Check the box for "Ignore window title change requests". <<-- This will make the tab show the session name that you created in the 2nd step above.
    *Optional: In the left column, select the category "Window" under "Terminal" > "Appearance".
    *Optional: Check the box for "Title bar" and enter a custom title you would like to appear in the tab for the session, which is different than the session name from the 2nd step above.

Reply With Quote
  #13  
Old 09-24-2014, 03:09 PM
Casey Casey is offline
Registered User
 
Join Date: Oct 2011
Posts: 114
Quote:
Originally Posted by swatspyder View Post
[*]In the "Send" field, enter the following (modified how you need it):
Code:
/usr/bin/mosh --server="mosh-server new -l LANG=en_US.UTF-8" --ssh="ssh -p [port #]" [username]@[IP ADDR]
Interesting... it looks like your are just getting SecureCRT to execute the Mosh binary you previously installed.

So... where does one find themselves getting into the gray area when it comes to Licensing?

Could SecureCRT have a connection dialog that says 'Mosh' and within it, the users is asked for their Mosh directory (where they themselves previously installed Mosh) and all the other connection parameters? SecureCRT would then formulate the correct connection syntax behind the scenes and initiate a Mosh connection that way itself.

If the user is required to install Mosh themselves first, does that absolve SecureCRT of any licensing issues, or does adding hooks for it at all in your program put you into dangerous waters?

(Conveniently ignoring the possibility of Mosh changing syntax/code one day and completely breaking SecureCRT )
Reply With Quote
  #14  
Old 09-24-2014, 04:00 PM
swatspyder swatspyder is offline
Registered User
 
Join Date: Sep 2014
Posts: 2
The developers should be able to talk with the devs of the project "JuiceSSH" for Android, on how they implemented it and got around the GPL.


Quote:
Originally Posted by Casey View Post
Interesting... it looks like your are just getting SecureCRT to execute the Mosh binary you previously installed.

So... where does one find themselves getting into the gray area when it comes to Licensing?

Could SecureCRT have a connection dialog that says 'Mosh' and within it, the users is asked for their Mosh directory (where they themselves previously installed Mosh) and all the other connection parameters? SecureCRT would then formulate the correct connection syntax behind the scenes and initiate a Mosh connection that way itself.

If the user is required to install Mosh themselves first, does that absolve SecureCRT of any licensing issues, or does adding hooks for it at all in your program put you into dangerous waters?

(Conveniently ignoring the possibility of Mosh changing syntax/code one day and completely breaking SecureCRT )
Reply With Quote
  #15  
Old 10-23-2014, 09:42 PM
Shaun Shaun is offline
Registered User
 
Join Date: May 2010
Posts: 3
+1 for Mosh

I too would like mosh support added. If it cannot be added directly, perhaps VanDyke could add a hook to leverage an existing mosh install (cygwin?) similar to the Linux workaround idea. Failing that I may go the Linux VM route.

Update: I just noticed MobaXterm has mosh support (as of v7.1). It's a cygwin-based solution. I'll use MobaXterm for mosh until SecureCRT gets support added. For those wondering, there is a native windows port of mosh (https://github.com/micolous/mosh-win), but it is not optimized. Keep an eye on this thread: https://github.com/keithw/mosh/issues/293

Last edited by Shaun; 10-23-2014 at 11:28 PM.
Reply With Quote
Reply

Thread Tools
Display Modes

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -6. The time now is 02:04 PM.