Class AliasCommand

  • All Implemented Interfaces:
    org.apache.sshd.server.command.Command, org.apache.sshd.server.command.CommandLifecycle

    public class AliasCommand
    extends BaseCommand
    Command that executes some other command.
    • Method Detail

      • start

        public void start​(org.apache.sshd.server.channel.ChannelSession channel,
                          org.apache.sshd.server.Environment env)
                   throws IOException
        Throws:
        IOException
      • destroy

        public void destroy​(org.apache.sshd.server.channel.ChannelSession channel)
        Specified by:
        destroy in interface org.apache.sshd.server.command.CommandLifecycle
        Overrides:
        destroy in class BaseCommand