Whats your prefered Linux software for ssh to gl router?

Whats your prefered software for ssh to gl router ?

  • p.e. for use on Linux
  • p.e. for getting access like by terminal and like by file browser

hey dude,

I just use the ‘ssh’ command (so probably openssh) in whatever Linux terminal I have available… for file access I have previously used the open SSH sftp server:

opkg install openssh-sftp-server

From my iphone I don’t have a SSH terminal app installed so I just use some iOS shortcuts with the imbedded SSH functionality to do things like reboot the router, switch VPN and to print a status update of current uptime and data usage.

Do you type on terminal the follow or do you different ?

ssh root@ip-adress

yeah that’s exactly it

1 Like

… chrome has a really great SSH client extension (made by google) if you want to have a more ‘graphical’ experience BTW

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