An example cloudmesh command
Project description
Cloudmesh Command ssh
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 details)
Built Distribution
File details
Details for the file cloudmesh-ssh-5.0.1.tar.gz
.
File metadata
- Download URL: cloudmesh-ssh-5.0.1.tar.gz
- Upload date:
- Size: 5.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.12.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 69b6545d4ea15b348ecf6e9ab384fab9df430217b88040598779c6f69a5ee79f |
|
MD5 | aaeded46c3587b1e9126dc77b5acd57f |
|
BLAKE2b-256 | 63ad578f934b60d3354532b67fab2be8ac460aaf87f6d2a73cf97df22fe936da |
File details
Details for the file cloudmesh_ssh-5.0.1-py2.py3-none-any.whl
.
File metadata
- Download URL: cloudmesh_ssh-5.0.1-py2.py3-none-any.whl
- Upload date:
- Size: 5.4 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.12.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | cfda2449f371c06fa85149b5998254e10e8505577c5cdee9a3070724c64fdc95 |
|
MD5 | 28626d811259045698af67deb0ef1765 |
|
BLAKE2b-256 | fa765b14a5b5cdca18ca06e05459ce49b50487f6e3e74e8c9b0223f8a826c163 |