From fc9bc6f8db543879994d0a39a01a0622726f9f3a Mon Sep 17 00:00:00 2001 From: "dyoung@redhat.com" Date: Thu, 11 Oct 2012 16:07:58 +0800 Subject: [PATCH] ssh-client: remove ctty related check cttyhack was removed and ctty is supported by default, so no need to check it in ssh-client module any more. Signed-off-by: Dave Young --- modules.d/95ssh-client/module-setup.sh | 8 -------- 1 file changed, 8 deletions(-) diff --git a/modules.d/95ssh-client/module-setup.sh b/modules.d/95ssh-client/module-setup.sh index 5a38f8ff2..536c8d016 100755 --- a/modules.d/95ssh-client/module-setup.sh +++ b/modules.d/95ssh-client/module-setup.sh @@ -15,9 +15,6 @@ check() { derror "ssh key: $sshkey is not found!" return 1 } - [[ ! $cttyhack = yes ]] && { - dinfo "--ctty is not used, you should make sure the machine is a knownhost and copy the sshkey to remote machine!" - } fi return 255 @@ -50,11 +47,6 @@ inst_sshenv() } install() { - [[ ! $cttyhack = yes && ! $sshkey ]] && { - derror "ssh-client needs option --ctty or --sshkey!" - return 1 - } - dracut_install ssh scp inst_sshenv } -- 2.47.3