NetBSD/tests/lib/librumphijack/ssh_config.in
pooka e7ac403943 Test that hijacked ssh/sshd work.
Copypastes jmmv's sshd magic from fs/psshfs.
(dunno if it's worth sharing the code, or even what the
best practice for doing so would be)
2011-02-14 15:14:00 +00:00

15 lines
361 B
Plaintext

# $NetBSD: ssh_config.in,v 1.1 2011/02/14 15:14:00 pooka Exp $
# Basic settings.
Port 22
Protocol 2
# The temporary key used for login.
IdentityFile @WORKDIR@/ssh_user_key
# Prevent the client from complaining about unknown host keys.
GlobalKnownHostsFile @WORKDIR@/known_hosts
# Do not attempt password authentication in case keys fail.
IdentitiesOnly yes