Skip to main content

An example cloudmesh command

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

cloudmesh-ssh-5.0.1.tar.gz (5.9 kB view hashes)

Uploaded Source

Built Distribution

cloudmesh_ssh-5.0.1-py2.py3-none-any.whl (5.4 kB view hashes)

Uploaded Python 2 Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page