Copy the shim to the target system to execute if tty is enabled
Fix typo (cachedir, not cache_dir)
Use NamedTemporaryFile
Use faster random filename generation
Merge pull request #19202 from basepi/salt-ssh.tty.scp

Fix for salt-ssh with tty enabled