Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Commands = []cli.Command{ { Name: "connect", Usage: "Connect to host SSH socket, used by ProxyCommand", Description: "Argument is a host.", Action: cmdProxy, Hidden: true, Flags: []cli.Flag{ cli.IntFlag{ Name: "port, p", Value: 0, Usage: "SSH destination port", }, cli.BoolFlag{ Name: "dry-run", Usage: "Only show how assh would connect but don't actually do it", }, }, }, { Name: "info", Usage: "Display system-wide information", Action: cmdInfo, }, { Name: "config", Usage: "Manage ssh and assh configuration", Subcommands: []cli.Command{ { Name: "build", Usage: "Build .ssh/config", Action: cmdBuild, }, { Name: "list", Usage: "List all hosts from assh config", Action: cmdList, }, { Name: "search", Usage: "Search entries by given search text", Action: cmdSearch, }, }, }, { Name: "sockets", Usage: "Manage control sockets", Subcommands: []cli.Command{ { Name: "list", Action: cmdCsList, Usage: "List active control sockets", }, { Name: "flush", Action: cmdCsFlush, Usage: "Close control sockets", }, { Name: "master", Action: cmdCsMaster, Usage: "Open a master control socket", }, }, }, { Name: "wrapper", Usage: "Initialize assh, then run ssh/scp/rsync...", Hidden: true, Subcommands: []cli.Command{ { Name: "ssh", Action: cmdWrapper, Usage: "Wrap ssh", Flags: config.SSHFlags, }, }, }, }
Commands is the list of cli commands
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.