Lines Matching defs:command
123 /* Flag indicating whether debug mode is on. May be set on the command line. */
134 * on the command line.
159 * General data structure for command line options and options configurable
169 * command line, or the HostName specified for the user-supplied name in a
184 /* command to be executed */
185 Buffer command;
187 /* Should we execute a command or invoke a subsystem? */
210 " [-w local_tun[:remote_tun]] [user@]hostname [command]\n"
452 * file if the user specifies a config file on the command line.
592 /* Parse command-line arguments. */
646 "command with -W");
648 fatal("Multiplexing command already specified");
660 fatal("Invalid multiplex command.");
893 "command-line", 0, NULL, SSHCONF_USERCONF) != 0)
948 /* Initialize the command to execute on remote host. */
949 buffer_init(&command);
952 * Save the command to execute on the remote host in a buffer. There
953 * is no limit on the length of the command, except by the maximum
954 * packet size. Also sets the tty flag if there is no command.
957 /* No command specified - execute shell on a tty. */
964 /* A command has been specified. Store it into the buffer. */
967 buffer_append(&command, " ", 1);
968 buffer_append(&command, av[i], strlen(av[i]));
972 /* Cannot fork to background if no command. */
973 if (fork_after_authentication_flag && buffer_len(&command) == 0 &&
975 fatal("Cannot fork into background without a command "
1100 /* Allocate a tty by default if no command specified. */
1101 if (buffer_len(&command) == 0)
1179 fatal("No ControlPath specified for \"-O\" command");
1721 /* Execute a local command */
1740 * If a command was specified on the command line, execute the
1741 * command now. Otherwise request the server to start a shell.
1743 if (buffer_len(&command) > 0) {
1744 int len = buffer_len(&command);
1747 debug("Sending command: %.*s", len,
1748 (u_char *)buffer_ptr(&command));
1750 packet_put_string(buffer_ptr(&command), buffer_len(&command));
1805 NULL, fileno(stdin), &command, environ);
1914 /* Execute a local command */