How Secure Shell Extension aggregates multiple windows into one by combining them and switching them by table

108 views
Skip to first unread message

ydia c

unread,
Apr 13, 2021, 10:42:21 PM4/13/21
to chromium-hterm
At present, one session takes up one window and it is troublesome to switch. How can multiple sessions be gathered on one window?

William Furr

unread,
Apr 16, 2021, 10:50:17 AM4/16/21
to ydia c, chromium-hterm
I don't think there's any way to get the extension to load in a tab.  Even if you could, the tab then eats certain useful keyboard shortcuts (https://chromium.googlesource.com/apps/libapps/+/master/nassh/doc/FAQ.md#How-do-I-send-Ctrl_W_Ctrl_N-or-Ctrl_T-to-the-terminal).

As a workaround, you can "multiplex" a session using a terminal multiplexer like screen or tmux on the remote system.  Create one ssh session to a remote host, then on that host run screen or tmux.  Then in each screen or tmux window, use the session locally or use the first remote as a "jump host" to access your other systems with an ssh session from there.

As a bonus, you can detach from your screen or tmux session and it will remain active until you connect again, if desired.

Google search for screen and/or tmux to learn more.  Lots of tutorials and such out there on how to use them.

Happy hacking!

On Tue, Apr 13, 2021 at 10:42 PM ydia c <dsj...@gmail.com> wrote:
At present, one session takes up one window and it is troublesome to switch. How can multiple sessions be gathered on one window?

--
You received this message because you are subscribed to the Google Groups "chromium-hterm" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-hter...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-hterm/63283db8-e73e-48df-8677-f06a78aa3cf6n%40chromium.org.

david....@gmail.com

unread,
Apr 16, 2021, 1:27:14 PM4/16/21
to chromium-hterm, William Furr, chromium-hterm, dsj...@gmail.com
You can get the SSH extension to open in a tab. Not as straight forward but once you have it, it works well 
chrome-extension://algkcnfjnajfhgimadimbjhmpaeohhln/html/nassh.html is what I use for the development branch of the extension. Replace the bold with the one for the stable version. The first time you use that URL in Chrome it will ask if you want to let Chrome handle SSH links. After that you can use SSH:// in the URL bar

Devan Vaughn

unread,
Apr 17, 2021, 9:03:36 AM4/17/21
to chromium-hterm, david....@gmail.com, William Furr, chromium-hterm, dsj...@gmail.com
On Friday, April 16, 2021 at 1:27:14 PM UTC-4 david....@gmail.com wrote:
You can get the SSH extension to open in a tab. Not as straight forward but once you have it, it works well 
chrome-extension://algkcnfjnajfhgimadimbjhmpaeohhln/html/nassh.html is what I use for the development branch of the extension. Replace the bold with the one for the stable version. The first time you use that URL in Chrome it will ask if you want to let Chrome handle SSH links. After that you can use SSH:// in the URL bar

You could also open a new tab/window and type in ssh then press tab. You can press enter to go to the saved connections page, or you can type in a computer to ssh into for example:

ssh <press tab> ubuntu@ubuntu[:if you have a port insert it here] <press enter>

This will directly ssh into your other computer and won't actually save it in the connections area.

I hope this made since and will help! 

Devan Vaughn

unread,
Apr 17, 2021, 9:05:36 AM4/17/21
to chromium-hterm, dsj...@gmail.com
You could just use multiple SSH windows in your browser as explained above!

ydia c

unread,
Apr 26, 2021, 10:11:51 PM4/26/21
to chromium-hterm, 211...@vbaviators.com, ydia c

Thanks everyone for your replies
I have tried to manage multiple windows directly through the chrome tab page. This is feasible, but it is mixed with ordinary web pages. It is not a particularly good way. I still want to open a new process and new window to use it, but this is also It’s the problem I posted. I can’t share a window with multiple tabs. In the end, I still use termius instead of Secure Shell Extension.

Devan Vaughn

unread,
Apr 27, 2021, 7:51:53 AM4/27/21
to chromium-hterm, dsj...@gmail.com, Devan Vaughn
I am quite confused with what you are saying. You do know how to open another browser window (usually ctrl+n) and navigate through them with alt+tab right? If so, that could help with organization of your tabs. I personally find, even as barebones as Chrome Secure Shell is, it works better than Terminus
Reply all
Reply to author
Forward
0 new messages