Hi, on my server, I am running lsh-server 2.1-12 and trying to connect via OpenSSH_8.2p1 on client side.
On server, a user with passwordless sudo exists. --------------------------- user ALL=(ALL) NOPASSWD:ALL --------------------------- From client side, I try (in different combinations) $ sshpass -p xxx ssh -t -i /tmp/test_id_rsa.pub -o KexAlgorithms=diffie-hellman-group1-sha1 -o Ciphers=aes256-cbc user@$server 'sudo shutdown -h now' I have to mention, that an ssh-copy-id with... $ sshpass -p xxx ssh-copy-id -i /tmp/test_id_rsa.pub -o KexAlgorithms=diffie-hellman-group1-sha1 -o Ciphers=aes256-cbc user@$server ...seems not to work, too. What I get: [sudo] password for user: or sudo: a password is required or sudo: no tty present and no askpass program specified Does someone in the group have the knowledge hot to connect correctly? Many thanks! Will Code _______________________________________________ lsh-bugs mailing list [email protected] http://lists.lysator.liu.se/mailman/listinfo/lsh-bugs
