sciancio / connectionmanager2

Simple GUI app for Gnome 3 that provides a menu for initiating SSH/Telnet connections
60 stars 45 forks source link

Adding new terminal application integration (mosh) #17

Closed daroczig closed 12 years ago

daroczig commented 12 years ago

It would be really cool if hosts could be reached by mosh besides bare ssh. It can be found on Github too.

I am aware of the fact that this can be done ATM too by adding connections as applications instead of hosts, just created this ticket to ask if you'd ever plan to add this option to your great piece of Gnome extension :)

sciancio commented 12 years ago

Hi Gergely,

I saw your request and is probably much easier to modify the code to include mosh between protocols. I don't know much about the software mosh, but it seems a replacement for ssh, rather than a terminal.

I then added the protocol mosh in the configuration panel with ssh and telnet. As you know better than I mosh, I ask you to do a check in your installation to see if the change meets your requirements.

The only file to edit is the file connmgr.py (located in $HOME/.local/share/gnome-shell/extensions/connectionmanager@ciancio.net/) at line 674 (check if the line is right) with the following change:

the instruction: protocol = ['ssh', 'telnet']

should be replaced with: protocol = ['ssh', 'telnet', 'mosh']

At this point you can set up connections using the protocol mosh (which obviously must be installed on the machine).

Waiting for your feedback before updating CM extension.

Thanks, Stefano

On 04/10/2012 04:17 PM, Gergely Daróczi wrote:

It would be really cool if hosts could be reached by mosh besides bare ssh. It can be found on Github too.

I am aware of the fact that this can be done ATM too by adding connections as applications instead of hosts, just created this ticket to ask if you'd ever plan to add this option to your great piece of Gnome extension :)


Reply to this email directly or view it on GitHub: https://github.com/sciancio/connectionmanager/issues/17

daroczig commented 12 years ago

Hi Stefano,

thanks for detailed instructions and for your precious time dealing with this feature request too.

I've tried the above quick and easy modifications and it seems that it does its job without any problems :)

Thanks a lot again for this great extension, keep up the good work!