Hello, I am interested in an ssh that is not interactive in requesting the password, i.e, whereas I can specify the password in the command line when calling SSH. I have wondered how such a feature has not been included in such a good client, as it seems there are many (and I have searched for this) people require this capability for their scripts/automation. I understand the possibility of avoiding passwords altogether by generating keys, but such an implementation of password on the command line should not be too difficult. sshconnect2.c, for example, prompts for this on line 273. sshconnect1.c also does something similar in the function try_password_authentication(char *prompt) Would it be possible for you to include this? I would do it myself, however I've had problems compiling openssh. If you are willing to help me compile open ssh, I am willing to work on this issue, which I see required for many people. Thank you for all your work.
GB <gusgl2001 at yahoo.com> writes:> I am interested in an ssh that is not interactive in requesting the > password, i.e, whereas I can specify the password in the command line > when calling SSH.ps -fe Just use a passphrase-less keypair. DES -- Dag-Erling Sm?rgrav - des at des.no
While trying to compile openssh (I succeeded in compiling openssl) I get the following after using make: gcc -g -O2 -Wall -I/opt/openssl-0.9.8h//include -DETCDIR=\"/etc/ssh\" -DSSH_PROGRAM=\"/usr/bin/ssh\" -DSSH_ASKPASS_DEFAULT=\"/usr/libexec/ssh/ssh-askpass\" -DHAVE_CONFIG_H?? -c -o sshconnect1.o sshconnect1.c In file included from sshconnect1.c:21: ssh.h:464: warning: conflicting types for built-in function ?log? sshconnect1.c: In function ?respond_to_rsa_challenge?: sshconnect1.c:149: error: ?MD5_CTX? undeclared (first use in this function) sshconnect1.c:149: error: (Each undeclared identifier is reported only once sshconnect1.c:149: error: for each function it appears in.) sshconnect1.c:149: error: expected ?;? before ?md? sshconnect1.c:164: warning: implicit declaration of function ?MD5_Init? sshconnect1.c:164: error: ?md? undeclared (first use in this function) sshconnect1.c:165: warning: implicit declaration of function ?MD5_Update? sshconnect1.c:167: warning: implicit declaration of function ?MD5_Final? make: *** [sshconnect1.o] Error 1 Can anyone help me resolve this issue? Thank you --- On Sat, 8/16/08, Dag-Erling Sm?rgrav <des at des.no> wrote: From: Dag-Erling Sm?rgrav <des at des.no> Subject: Re: SSH Command Line Password Support To: gusgl2001 at yahoo.com Cc: openssh-unix-dev at mindrot.org Date: Saturday, August 16, 2008, 10:04 AM GB <gusgl2001 at yahoo.com> writes:> I am interested in an ssh that is not interactive in requesting the > password, i.e, whereas I can specify the password in the command line > when calling SSH.ps -fe Just use a passphrase-less keypair. DES -- Dag-Erling Sm?rgrav - des at des.no