-
Notifications
You must be signed in to change notification settings - Fork 96
Open
Description
Affected Version
master, I also tried 2.0 but I didn't look at the logs then, so I am not sure if the same error was showing there.
Expected Behavior
starting a remote alias with --detach flag should make the tunnel available
Current Behavior
after starting using the alias, I get the proper messages on the output, but the tunnel is not actually running, looking at the logs, I can see the following:
cat mole.log
Error: unknown flag: --id
Usage:
mole start [flags]
mole start [command]
Available Commands:
alias Starts a ssh tunnel by alias
local Starts a ssh local port forwarding tunnel
remote Starts a ssh remote port forwarding tunnel
Flags:
-h, --help help for start
Use "mole start [command] --help" for more information about a command.
Steps to Reproduce
- create an alias
mole add alias remote pi4gameserver -S 0.0.0.0:2222 -d localhost:22 -s [email protected]:666
- start mole detached
mole start alias pi4gameserver --detach
, this one outputs the following:
INFO[0000] instance identifier is pi4gameserver
INFO[0000] execute "mole stop pi4gameserver" if you like to stop it at any time
- Nothing works, checking ps, there is no mole, checking the tunnel it doesn't exist and the logs show what I mentioned above:
Error: unknown flag: --id
Usage:
mole start [flags]
mole start [command]
Available Commands:
alias Starts a ssh tunnel by alias
local Starts a ssh local port forwarding tunnel
remote Starts a ssh remote port forwarding tunnel
Flags:
-h, --help help for start
Use "mole start [command] --help" for more information about a command.
- Running without --detach works fine
ali-n4i
Metadata
Metadata
Assignees
Labels
No labels