Skip to content

Something's going wrong at Line 109 in tunnel.bash #1

@jradxl

Description

@jradxl

Hi,
Thanks for script. Must have taken you ages to write.
I've got a problem with Line 109 in tunnel.bash
Something's up with creating the command to send to the remote side to check the port.
For me the script is crashing out on the SSH command.
It's 01:00 so I'm going to give up for the moment...

This works (where I've substituted ls -al ) !!
isProcessRunning="$(ssh ${identityOption} -n "${remoteUser}@${remoteHost}" "ls -al")"

Command Line is:
./tunnel.bash --local-port 22 --remote-port 2223 --remote-to-local --remote-user XXX --remote-host 99.99.99.99 --identity-file "/home/XXX/.ssh/id_rsa"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions