client.shared.ssh_key: Accept $ # % as prompts.

Also, close session correctly, set default port to 22.

Signed-off-by: Ruda Moura <rmoura@redhat.com>