Sha256: 4add7c67c30bc5be21351e827aec433f1135a42a0d70b5ac6b9fc906e99be983

Contents?: true

Size: 722 Bytes

Versions: 2

Compression:

Stored size: 722 Bytes

Contents

# ssh-copy-id.rb

A Ruby implementation of `ssh-copy-id` script. (Surprise!)
Supports copying to/removing from multiple servers.

## Installation

```bash
gem install ssh-copy-id.rb
```

## Usage

```
usage: ssh-copy-id.rb [-i IDENDITY] [-u USER] [-p PASSWORD] [USER[:PASSWORD]@]HOSTNAME[:PORT] ...

    -i, --identity=IDENTITY          Identity file. Default: ~/.ssh/id_rsa.pub
    -u, --username=USERNAME          Username. Default: current user.
    -p, --password[=PASSWORD]        Password. Ask password if not given.
```

## Examples

```ruby
ssh-copy-id.rb   server1 server2:9022 user@server{2..5} user:password@server{6..10}
ssh-remove-id.rb server1 server2:9022 user@server{2..5} user:password@server{6..10}
```

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
ssh-copy-id.rb-0.1.1 README.md
ssh-copy-id.rb-0.1.0 README.md