sshcmd

package
v0.0.0-...-81b45a2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 22, 2014 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package sshcmd - SSH command utility functions

Copyright (c) 2014 Ohmu Ltd. Licensed under the Apache License, Version 2.0 (see LICENSE)

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SSHNode

type SSHNode struct {
	Host string
	Port SSHPort
	User string
	Key  string
}

func (*SSHNode) Execute

func (node *SSHNode) Execute(cmd string) (output string, err error)

type SSHPort

type SSHPort int

func (*SSHPort) String

func (s *SSHPort) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL