I am newbie to OpenSSH and have a question on providing password during a client log in session. I am using OpenSSH for Windows(XP) version 3.81p1. Is this the latest version for windows?>From the archive list I gather that OpenSSH will not provide a passwordoption while invoking ssh commands, is this true? or will this be included in the future releases? I read something about using SSH_ASKPASS option to provide the password from a text file. I didn't find this documented anywhere in the list of docs that I obtained while installing 3.81p1, Is this valid for openssh windows ver 3.81p1? or is this just a UNIX/Linux only command? I would appreciate if anyone could tell me if there is a work around for this? TIA
KRISHNAMURTHY SUDHAKAR-FSK031 wrote:> I am newbie to OpenSSH and have a question on providing password during a > client log in session. > I am using OpenSSH for Windows(XP) version 3.81p1. Is this the latest > version for windows?The OpenSSH for Windows listed in the OpenSSH website isn't actually being maintained anymore. The current releases are actually now incorporated into CopSSH - which is a pretty good distribution for windows.>>From the archive list I gather that OpenSSH will not provide a password > option while invoking ssh commands, is this true? or will this be included > in the future releases? > > I read something about using SSH_ASKPASS option to provide the password from > a text file. I didn't find this documented anywhere in the list of docs that > I obtained while installing 3.81p1, Is this valid for openssh windows ver > 3.81p1? or is this just a UNIX/Linux only command? > > I would appreciate if anyone could tell me if there is a work around for > this?You'd actually be a lot better off setting this up using public keys. That way you aren't storing passwords anywhere.
OpenSSH for windows not maintained anymore...that's kind of bummer...the website doesn't say that :( I am looking at COPSSH and I am glad this seems to be an enhanced version of windows openssh. As for the password option, the requirement we have is to use a password and I may not have the option of setting up a public key, given this requirement is their a way to kind of automate the password option?? TIA -----Original Message----- From: Chris Rapier [mailto:rapier at psc.edu] Sent: Monday, November 28, 2005 1:23 PM To: KRISHNAMURTHY SUDHAKAR-FSK031 Cc: openssh-unix-dev at mindrot.org Subject: Re: Password Option for Windows OpenSSH KRISHNAMURTHY SUDHAKAR-FSK031 wrote:> I am newbie to OpenSSH and have a question on providing password > during a client log in session. > I am using OpenSSH for Windows(XP) version 3.81p1. Is this the latest > version for windows?The OpenSSH for Windows listed in the OpenSSH website isn't actually being maintained anymore. The current releases are actually now incorporated into CopSSH - which is a pretty good distribution for windows.>>From the archive list I gather that OpenSSH will not provide a >>password > option while invoking ssh commands, is this true? or will this be > included in the future releases? > > I read something about using SSH_ASKPASS option to provide the > password from a text file. I didn't find this documented anywhere in > the list of docs that I obtained while installing 3.81p1, Is this > valid for openssh windows ver 3.81p1? or is this just a UNIX/Linux onlycommand?> > I would appreciate if anyone could tell me if there is a work around > for this?You'd actually be a lot better off setting this up using public keys. That way you aren't storing passwords anywhere.
I totally agree with you...for our project we can't use cygwin because of the high licensing cost involved with it...copssh just does great for us...except I am still trying to get around the issue of using a command line option for the password. Need to explore the option of using a perl script to do this... Does anyone know if I can recompile the code by providing a password option?? If so where do I start? Any suggestions is greatly appreciated. -----Original Message----- From: openssh-unix-dev-bounces+sudhakar=motorola.com at mindrot.org [mailto:openssh-unix-dev-bounces+sudhakar=motorola.com at mindrot.org] On Behalf Of Chris Rapier Sent: Tuesday, November 29, 2005 11:22 AM To: openssh-unix-dev at mindrot.org Subject: Re: Password Option for Windows OpenSSH Which is a great idea if someone wants to install all of cygwin. However, if they don't and just want ssh then CopSSH is a fine solution. You get the bare minimum you need to run ssh and thats it - which is all a lot of people want. Corinna Vinschen wrote:> On Nov 28 14:00, KRISHNAMURTHY SUDHAKAR-FSK031 wrote: >> >> OpenSSH for windows not maintained anymore...that's kind of >> bummer...the website doesn't say that :( I am looking at COPSSH and I >> am glad this seems to be an enhanced version of windows openssh. > > You're aware that "OpenSSH for Windows" as well as CopSSH are just > convenience packages of OpenSSH for Cygwin, aren't you? You get the > same functionality when using OpenSSH within the official Cygwin net > distribution (http://cygwin.com), just with the difference that the > net distribution always has the latest Cygwin DLL and the latest > OpenSSH version available, 4.2p1 right now. > > > Corinna >_______________________________________________ openssh-unix-dev mailing list openssh-unix-dev at mindrot.org http://www.mindrot.org/mailman/listinfo/openssh-unix-dev
Which means that they might as well use the packaged versions because thats exactly what they do. They also put it in a nice installer with a script to set everything up for you. As a user level package its a very good solution and there is the added bonus of not having to reinvent the wheel. Someone who is more technically advanced or more interested in being an admin instead of a user might not agree but not everyone is or wants to be in that category. Damien Miller wrote:> On Wed, 30 Nov 2005, Chris Rapier wrote: > >> He might be thinking of the red hat cygwin product. Still, installing all of >> cygwin just to get ssh is a bit like buying a bakery just to get a loaf of >> bread. > > You can install as much, or as little of Cygwin as you like. If you want, > this can be just OpenSSH + OpenSSL + cygwin.dll + bash (pretty much what > the 3rd party repackagings do). > > -d > > _______________________________________________ > openssh-unix-dev mailing list > openssh-unix-dev at mindrot.org > http://www.mindrot.org/mailman/listinfo/openssh-unix-dev