Commit b1497b95 authored by jszwedko's avatar jszwedko Committed by Mitchell Hashimoto

code.google.com/p/go.crypto/ssh -> golang.org/x/crypto/ssh

code.google.com/p/go.crypto/ssh is now at golang.org/x/crypto/ssh as of
https://code.google.com/p/go/source/detail?spec=svn.crypto.69e2a90ed92d03812364aeb947b7068dc42e561e&repo=crypto&r=8fec09c61d5d66f460d227fd1df3473d7e015bc6

Using the code.google.com import redirects properly, but runs into
issues if you try to use a subpackage of `ssh`, e.g. `agent` which
refers to golang.org/x/crypto/ssh causing conflicts if your types expect
code.google.com/p/go.crypto/ssh.

This is a precursor to a PR for #1066.
parent 8367c0bd
package common
import (
"code.google.com/p/go.crypto/ssh"
"golang.org/x/crypto/ssh"
"errors"
"fmt"
"github.com/mitchellh/goamz/ec2"
......
package digitalocean
import (
"code.google.com/p/go.crypto/ssh"
"golang.org/x/crypto/ssh"
"fmt"
"github.com/mitchellh/multistep"
)
......
package googlecompute
import (
"code.google.com/p/go.crypto/ssh"
"golang.org/x/crypto/ssh"
"fmt"
"github.com/mitchellh/multistep"
)
......
package null
import (
gossh "code.google.com/p/go.crypto/ssh"
gossh "golang.org/x/crypto/ssh"
"fmt"
"github.com/mitchellh/multistep"
"github.com/mitchellh/packer/communicator/ssh"
......
package openstack
import (
"code.google.com/p/go.crypto/ssh"
"golang.org/x/crypto/ssh"
"errors"
"fmt"
"github.com/mitchellh/multistep"
......
......@@ -3,7 +3,7 @@ package common
import (
"fmt"
"code.google.com/p/go.crypto/ssh"
"golang.org/x/crypto/ssh"
"github.com/mitchellh/multistep"
commonssh "github.com/mitchellh/packer/common/ssh"
packerssh "github.com/mitchellh/packer/communicator/ssh"
......
......@@ -3,7 +3,7 @@ package qemu
import (
"fmt"
gossh "code.google.com/p/go.crypto/ssh"
gossh "golang.org/x/crypto/ssh"
"github.com/mitchellh/multistep"
commonssh "github.com/mitchellh/packer/common/ssh"
"github.com/mitchellh/packer/communicator/ssh"
......
......@@ -3,7 +3,7 @@ package common
import (
"fmt"
gossh "code.google.com/p/go.crypto/ssh"
gossh "golang.org/x/crypto/ssh"
"github.com/mitchellh/multistep"
commonssh "github.com/mitchellh/packer/common/ssh"
"github.com/mitchellh/packer/communicator/ssh"
......
......@@ -7,7 +7,7 @@ import (
"log"
"os"
gossh "code.google.com/p/go.crypto/ssh"
gossh "golang.org/x/crypto/ssh"
"github.com/mitchellh/multistep"
commonssh "github.com/mitchellh/packer/common/ssh"
"github.com/mitchellh/packer/communicator/ssh"
......
......@@ -14,10 +14,10 @@ import (
"strings"
"time"
gossh "code.google.com/p/go.crypto/ssh"
"github.com/mitchellh/multistep"
"github.com/mitchellh/packer/communicator/ssh"
"github.com/mitchellh/packer/packer"
gossh "golang.org/x/crypto/ssh"
)
// ESX5 driver talks to an ESXi5 hypervisor remotely over SSH to build
......
......@@ -6,7 +6,7 @@ import (
"io/ioutil"
"os"
"code.google.com/p/go.crypto/ssh"
"golang.org/x/crypto/ssh"
)
// FileSigner returns an ssh.Signer for a key file.
......
package common
import (
gossh "code.google.com/p/go.crypto/ssh"
gossh "golang.org/x/crypto/ssh"
"errors"
"fmt"
"github.com/mitchellh/multistep"
......
......@@ -3,7 +3,7 @@ package ssh
import (
"bufio"
"bytes"
"code.google.com/p/go.crypto/ssh"
"golang.org/x/crypto/ssh"
"errors"
"fmt"
"github.com/mitchellh/packer/packer"
......
......@@ -4,7 +4,7 @@ package ssh
import (
"bytes"
"code.google.com/p/go.crypto/ssh"
"golang.org/x/crypto/ssh"
"fmt"
"github.com/mitchellh/packer/packer"
"net"
......
package ssh
import (
"code.google.com/p/go.crypto/ssh"
"golang.org/x/crypto/ssh"
"log"
)
......
package ssh
import (
"code.google.com/p/go.crypto/ssh"
"golang.org/x/crypto/ssh"
"reflect"
"testing"
)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment