vaniacer / sshto

Small bash script to manage your ssh connections. It builds menu (via dialog) from your ~/.ssh/config. It can not only connect but also to run commands, copy files, tunnel ports.
MIT License
579 stars 59 forks source link

Failed run on ubuntu 20 #12

Closed IvanKalashnikov closed 2 years ago

IvanKalashnikov commented 2 years ago

Hello, failed run on ubuntu

softj@softjpc:~$ lsb_release -a
Distributor ID: Ubuntu
Description:    Ubuntu 20.04.4 LTS
Release:    20.04
Codename:   focal
softj@softjpc:~$ uname -r
5.13.0-39-generic

I get this error

awk line 17 function gensub never defined

after install gawk it was fixed for me

sudo apt install gawk

may be should add this to readme or checking in sshto script?

servebeer commented 2 years ago

Same issue on Kali linux.

vaniacer commented 2 years ago

Fixed by https://github.com/vaniacer/sshto/commit/16d203e5d78e9e45b243600c6d19a44ed08e2c5d Thanks!