Pour faire de l'UUCP par-dessus ssh sans clé (avec échange de pw,
nécessaire si le site distant n'a pas un UID par login UUCP), il faut:

Appliquer ce patch à ssh:
   http://www-internal.alphanet.ch/archives/local/alphanet/divers/

Utiliser une telle config dans sys.out:

# ssh comments:
#    1. use special version
#    2. run under UID uucp to see if anything to do.
# ALTERNATIVE: use RSA-key auth, then won't require the patch
system unet
called-login root
myname alphanet
time any
chat sword: abcd\n
chat-timeout 30
local-receive /
commands rnews rmail rcsmtp rsmtp
protocol g
protocol-parameter g packet-size 512
protocol-parameter g remote-packet-size 512
port type pipe
port command /usr/lib/uucp/ssh unet.urbanet.ch -l uuanet -e none -x -a

Avec ça:

bash-2.01# file /usr/lib/uucp/ssh
/usr/lib/uucp/ssh: symbolic link to /usr/local/bin/ssh.stdin-password
bash-2.01# file /usr/local/bin/ssh.stdin-password
/usr/local/bin/ssh.stdin-password: ELF 32-bit LSB executable, Intel 80386,
version 1, dynamically linked, not stripped

NB: peut-être plus nécessaire dans les versions récentes de ssh / openSSH.

--
http://www-internal.alphanet.ch/linux-leman/ avant de poser
une question.

Répondre à