-
-
Notifications
You must be signed in to change notification settings - Fork 2k
Closed
Description
Please document that a '--' must be added on the command line to signal the end of options and avoid further processing from ssh when running remote commands, i.e.:
alessio@nemesis:~$ ssh -t dokku@alessio.in --rm-container run app bash
unknown option -- -
usage: ssh [-1246AaCfgKkMNnqsTtVvXxYy] [-b bind_address] [-c cipher_spec]
[-D [bind_address:]port] [-E log_file] [-e escape_char]
[-F configfile] [-I pkcs11] [-i identity_file]
[-L [bind_address:]port:host:hostport] [-l login_name] [-m mac_spec]
[-O ctl_cmd] [-o option] [-p port]
[-Q cipher | cipher-auth | mac | kex | key]
[-R [bind_address:]port:host:hostport] [-S ctl_path] [-W host:port]
[-w local_tun[:remote_tun]] [user@]hostname [command]
alessio@nemesis:~$ ssh -t dokku@alessio.in -- --rm-container run app bash
u2928@afb226572a54:~$ exit
Connection to alessio.in closed.This affects v0.3.14 only as it's the first release with argument parsing support.
Metadata
Metadata
Assignees
Labels
No labels