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 <dyoung@redhat.com>
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
}
install() {
- [[ ! $cttyhack = yes && ! $sshkey ]] && {
- derror "ssh-client needs option --ctty or --sshkey!"
- return 1
- }
-
dracut_install ssh scp
inst_sshenv
}