aboutsummaryrefslogtreecommitdiffstats
path: root/cmd/puppeth/ssh.go
diff options
context:
space:
mode:
authorPéter Szilágyi <peterke@gmail.com>2017-10-27 19:36:49 +0800
committerPéter Szilágyi <peterke@gmail.com>2017-11-21 21:09:39 +0800
commitffc12f63ec57682e7c7f6653332856acbeef3183 (patch)
tree581a82231e18824c36f759421f78caa2cd83a8de /cmd/puppeth/ssh.go
parent80be5e546398203c1958a0f512e651a2c36b1fe0 (diff)
downloadgo-tangerine-ffc12f63ec57682e7c7f6653332856acbeef3183.tar
go-tangerine-ffc12f63ec57682e7c7f6653332856acbeef3183.tar.gz
go-tangerine-ffc12f63ec57682e7c7f6653332856acbeef3183.tar.bz2
go-tangerine-ffc12f63ec57682e7c7f6653332856acbeef3183.tar.lz
go-tangerine-ffc12f63ec57682e7c7f6653332856acbeef3183.tar.xz
go-tangerine-ffc12f63ec57682e7c7f6653332856acbeef3183.tar.zst
go-tangerine-ffc12f63ec57682e7c7f6653332856acbeef3183.zip
cmd/puppeth: simplifications and pre-built docker images
Diffstat (limited to 'cmd/puppeth/ssh.go')
-rw-r--r--cmd/puppeth/ssh.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/cmd/puppeth/ssh.go b/cmd/puppeth/ssh.go
index ec6a1b669..a254a7f7a 100644
--- a/cmd/puppeth/ssh.go
+++ b/cmd/puppeth/ssh.go
@@ -116,6 +116,7 @@ func dial(server string, pubkey []byte) (*sshClient, error) {
keycheck := func(hostname string, remote net.Addr, key ssh.PublicKey) error {
// If no public key is known for SSH, ask the user to confirm
if pubkey == nil {
+ fmt.Println()
fmt.Printf("The authenticity of host '%s (%s)' can't be established.\n", hostname, remote)
fmt.Printf("SSH key fingerprint is %s [MD5]\n", ssh.FingerprintLegacyMD5(key))
fmt.Printf("Are you sure you want to continue connecting (yes/no)? ")