~ubuntu-branches/ubuntu/wily/juju-core/wily

« back to all changes in this revision

Viewing changes to src/launchpad.net/juju-core/utils/ssh/ssh_gocrypto.go

  • Committer: Package Import Robot
  • Author(s): James Page
  • Date: 2014-02-28 16:53:15 UTC
  • mfrom: (1.1.19)
  • Revision ID: package-import@ubuntu.com-20140228165315-g8n1ds0jrtekhxq6
Tags: 1.17.4-0ubuntu1
* New upstream point release (LP: #1261628):
  - https://launchpad.net/juju-core/trunk/1.17.4
  - d/control: Prefer juju-mongodb over mongodb-server for juju-local
    package.

Show diffs side-by-side

added added

removed removed

Lines of Context:
50
50
                        port = options.port
51
51
                }
52
52
        }
 
53
        logger.Debugf(`running (equivalent of): ssh "%s@%s" -p %d '%s'`, user, host, port, shellCommand)
53
54
        return &Cmd{impl: &goCryptoCommand{
54
55
                signers: signers,
55
56
                user:    user,
61
62
// Copy implements Client.Copy.
62
63
//
63
64
// Copy is currently unimplemented, and will always return an error.
64
 
func (c *GoCryptoClient) Copy(source, dest string, options *Options) error {
65
 
        return fmt.Errorf("Copy is not implemented")
 
65
func (c *GoCryptoClient) Copy(targets, extraArgs []string, options *Options) error {
 
66
        return fmt.Errorf("scp command is not implemented (OpenSSH scp not available in PATH)")
66
67
}
67
68
 
68
69
type goCryptoCommand struct {