这是indexloc提供的服务,不要输入任何密码
Skip to content

ssh attempts to process dokku's command line args #951

@alessio

Description

@alessio

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

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions