Skip to content

cloudmesh/cloudmesh-ssh

Repository files navigation

Cloudmesh Command ssh

GitHub Repo image image License

General badge GitHub issues Contributors General badge

Linux macOS Windows

Manual Page

Command ssh
===========

::

    Usage:
        ssh config list [--output=OUTPUT]
        ssh config add NAME IP [USER] [KEY]
        ssh config delete NAME

    Arguments:
      NAME        Name or ip of the machine to log in
      list        Lists the machines that are registered and
                  the commands to login to them
      PARAMETERS  Register te resource and add the given
                  parameters to the ssh config file.  if the
                  resource exists, it will be overwritten. The
                  information will be written in /.ssh/config
      USER        The username for the ssh resource
      KEY         The location of the public keye used for
                  authentication to the host

    Options:
       --output=OUTPUT   the format in which this list is given
                         formats includes cat, table, json, yaml,
                         dict. If cat is used, it is just printed as
                         is. [default: table]

    Description:
        ssh config list
            lists the hostsnames that are present in the ~/.ssh/config file

        ssh config add NAME IP [USER] [KEY]
            registers a host i ~/.ssh/config file
            Parameters are attribute=value pairs

        ssh config delete NAME
            deletes the named host from the ssh config file

    Examples:

         ssh config add blue 192.168.1.245 gregor

             Adds the following to the !/.ssh/config file

             Host blue
                  HostName 192.168.1.245
                  User gergor
                  IdentityFile ~/.ssh/id_rsa.pub

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published