aktos-io / link-with-server

Reverse SSH Link Tool like autossh, written in Bash
13 stars 2 forks source link

is_ssh_server_alive function should be more reliable #11

Open ceremcem opened 3 years ago

ceremcem commented 3 years ago

In this function:

https://github.com/aktos-io/link-with-server/blob/f966b9b4505434d332721617a015f81d2e13a218/link-with-server.sh#L165

nc output can not be "fully" trusted because there may be an SSLH server listening that port while SSH server is down.