Whats your prefered Linux software for ssh to gl router?

I remember I have seen years ago, a file browser or so on which can access directly by (ssh ?) to a router. It was looking a little bit like a ftp client, a if I remember true, i think it was ssh related. Do you know how to do like this today, p.e. for get access on this way to gl router ? Does is called sftp ? And is it possible to get access by this to gl router ?

install the SSH chrome extension here:

https://chrome.google.com/webstore/detail/ssh-agent-for-google-chro/eechpbnaifiimgajnomdipfaamobdfha

then install the server on your router with the following command:

opkg install openssh-sftp-server

You can save a profile for your router with the chrome SSH extension, so there is no need to type anything to connect anymore… you also have a button for connecting with sftp mount point too (you just need to install the server on the router first - no configuration required, just install it). When I do this, I can access the mountpoint from my file manager like any remote filesystem.

1 Like

I started by follow a ssh connection to one gl router:

ssh root@ip-adress

And after than I typed the password, after I was asked about on terminal and after than, I copyed the follow by Ctrl-C, Vtrl-V to the ssh terminal:

opkg install openssh-sftp-server

By this I got the follow message:
opkg_install cmd: Cannot install package opkg install openssh-sftp-server.

Does I have to do it on other way ? Or its possible the flash memory of the gl router dont have enough free memory or what ever ?

I think you mean WinSCP. It has a terminal window (not very good) but the option to open a Putty terminal (assuming you have it installed) without logging in again.

1 Like

Just installed it alongside nano with no issues on 3.201beta2:

root@GL-AR750S:~# opkg install nano openssh-sftp-server
Installing nano (5.4-1) to root…
Downloading https://fw.gl-inet.com/releases/v19.07.5/packages-3.0/ath79/packages/nano_5.4-1_mips_24kc.ipk
Installing terminfo (6.1-5) to root…
Downloading https://fw.gl-inet.com/releases/v19.07.5/packages-3.0/ath79/packages/terminfo_6.1-5_mips_24kc.ipk
Installing libncurses6 (6.1-5) to root…
Downloading https://fw.gl-inet.com/releases/v19.07.5/packages-3.0/ath79/packages/libncurses6_6.1-5_mips_24kc.ipk
Installing openssh-sftp-server (8.0p1-1) to root…
Downloading https://fw.gl-inet.com/releases/v19.07.5/packages-3.0/ath79/packages/openssh-sftp-server_8.0p1-1_mips_24kc.ipk
Configuring terminfo.
Configuring openssh-sftp-server.
Configuring libncurses6.
Configuring nano.

You need to do opkg update before doing opkg install.

Yes. That sounds quite familiar. I may have used that years ago with Windows. If I remember correctly, it didn’t exist as a Linux version. Under Linux FileZilla. It can be its possible to Midnight Comader MC on Terminal. A its looks for me a little bit, they are not enough space for the files for this on gl-ar750. A It can be its possible to add a little bit external space by exroot.

If I do this on follow way on terminal on AR-750 Creta, FW 3.201_beta2, 3.201-0227.bin

opkg update

I get the follow message:

Downloading https://fw.gl-inet.com/releases/v19.07.5/packages-3.0/ath79/packages/Packages.gz
Updated list of available packages in /var/opkg-lists/glinet_packages
Downloading https://fw.gl-inet.com/releases/v19.07.5/packages-3.0/ath79/glinet/Packages.gz
*** Failed to download the package list from https://fw.gl-inet.com/releases/v19.07.5/packages-3.0/ath79/glinet/Packages.gz

Downloading https://fw.gl-inet.com/releases/v19.07.5/kmod-3.0/ath79/nand/Packages.gz
Updated list of available packages in /var/opkg-lists/glinet_kmod
Collected errors:

By this I get the follow messages:
opkg install nano openssh-sftp-server
Installing nano (5.4-1) to root…
Downloading https://fw.gl-inet.com/releases/v19.07.5/packages-3.0/ath79/packages/nano_5.4-1_mips_24kc.ipk
Installing terminfo (6.1-5) to root…
Downloading https://fw.gl-inet.com/releases/v19.07.5/packages-3.0/ath79/packages/terminfo_6.1-5_mips_24kc.ipk
Installing libncurses6 (6.1-5) to root…
Installing openssh-sftp-server (8.0p1-1) to root…
Downloading https://fw.gl-inet.com/releases/v19.07.5/packages-3.0/ath79/packages/openssh-sftp-server_8.0p1-1_mips_24kc.ipk
Configuring terminfo.
Collected errors:

  • verify_pkg_installable: Only have 56kb available on filesystem /overlay, pkg libncurses6 needs 147
  • opkg_install_cmd: Cannot install package nano.
  • pkg_write_filelist: Failed to open //usr/lib/opkg/info/openssh-sftp-server.list: No space left on device.
  • opkg_install_pkg: Failed to extract data files for openssh-sftp-server. Package debris may remain!
  • opkg_install_cmd: Cannot install package openssh-sftp-server.
  • opkg_conf_write_status_files: Can’t open status file //usr/lib/opkg/status: No space left on device.
    root@WS-750:~#

can you try installing the package from the gl-inet plug-in interface or from Luci instead?

Your problems with installing basic packages are not normal experience

Windows folks might want to check out MobaXterm…

Also has Serial Support - really nice tool

1 Like

That s looks interesting for Windows user like me in the past. I change my title now to asking around for especially Linux software.

from windows I like this Download Area | Bitvise client only not server

or from linux gftp and instead of using ftp use ssh2. of courese you need to install server on openssh-sftp-server on router first for both client solutions

The update of offered apps, dont give a erreor by lucy.
Installing of openssh-sftp-server dont work and report like “not enought free space”

Its possible to uninstall some thing unused like WireGuard VPN by lucy plugin manager and get free space on “hard disk” by this or add a USB stick by exroot to expand the free disk space or what ever ?

you can’t make extra space from removing stuff from a precompiled firmware if I’m not mistaken… but if you install ext root first, then you can install what ever you like on the SD card.

What do you mean with this and how to do this ?

start fresh, install ext root on SD or USB stick and then install whatever you want afterwards.

I haven’t used ext root in maybe five years and I don’t know if there are any nuances with the gl-inet firmware though.

I would start here:

… but I would deifntiely check on the forum here first to see if there are any complications with your device. I don’t know any more than that

Hello!

Responding to modumb,
Sorry to others, has no relation to the title of the post

I had to use extroot on my AR750 Creta. Only free150kb after installing 3.201beta2. 0227 firmware and it was impossible to install anything else.

I had al old 512Mb USB Pendrive and it’s very easy to make it as dev/sdb1 >>/overlay in Luci>System>Mount Points, I’n not an expert in OpenWRT and also no trouble with UI so far.
But I had to make extroot right after fresh clean firmware update and no internet at all to maintain those 150Kb free in AR750. After that I made restore and I install the .ipk plugins I had previously.

Be sure to reboot after extroot and see the sdb1 /overlay working or in Luci>System>Software the increased free space of your USB or SD Card (SD Card maybe is named /sda1)

Bye

THX for the hint. I opened now a own question about this on follow link:

I do not have preferences, but I can suggest some popular Linux software that can be used for SSH connections to GL routers:

OpenSSH: OpenSSH is a widely used and well-documented open-source software suite that provides secure network communication via the SSH protocol. OpenSSH is included with most Linux distributions and can be used to connect to GL routers over SSH.

PuTTY: PuTTY is a free and open-source terminal emulator, serial console, and network file transfer application that supports SSH and other protocols. It is available for Windows and Linux and can be used to connect to GL routers over SSH.

Termius: Termius is a popular cross-platform SSH client that supports SSH, Mosh, and Telnet protocols. It provides a modern terminal emulator with advanced features such as multi-tabs, search, and terminal sessions syncing.

SecureCRT: SecureCRT is a commercial SSH client that provides advanced terminal emulation capabilities, including support for multiple sessions, tabs, and custom keymaps. It is available for Windows, macOS, and Linux and can be used to connect to GL routers over SSH.

MobaXterm: MobaXterm is a comprehensive terminal emulator for Windows that provides support for SSH, Telnet, RDP, VNC, X11, and more. It includes advanced features such as multi-tabs, a file browser, and an embedded X server.

PuTTY because it has been around forever, is free and simple to use for what I want to do; and has a cool name.

iTerminal (Pro) on my iPAD/iPhone. Helps me troubleshoot on the go or Wifi/VPN connections from my mobile device, that go through the GLiNET Router.

WinSCP (not strictly SSH) because it is useful for transferring (backing up) DHCP Reservation files, especially those that I save from nvram on my ASUS RT-AX86U Router. Super useful when you have about 40+ such reservations (with custom icons and reservation names) to re-upload after a major (Asus Merlin) firmware update. Also used on my GLiNET router to edit a file (in /etc/config/wireless) for the Wifi (changed the Country Code as described here).

k.

I use XShell.

I have a lot of routers and I need saved login and also be able to get over the “host key” changing issues frequently.