Support for here documents with sftp client in OpenSSH 2.5.1p1-1(RH Linux 6.2 [2.2.x kernel])
Christophe Moret
Christophe_Moret at hp.com
Fri Mar 16 18:41:44 EST 2001
I think the real issue is when talking with NT SSH servers, for which
I do not know of an implementation that uses only PubKey. A password
is always necessary, and we have no choice to put in scripts...
This is bad of course, but is there another solution for NT ? (typically
Van Dyke servers for example).
BTW I have a patch available for adding -W <password> option in ssh
and Pass <password> in .ssh/config, if you need it.
-Christophe
Damien Miller wrote:
> On Thu, 15 Mar 2001, Davis, Ricardo C. wrote:
>
> > A question on the cutting edge sftp client in OpenSSH 2.5.1p1-1:
> >
> > Is there a standard set of commands for sftp clients? I was hoping to use
> > sftp as a drop in replacement for some simple FTP transfer scripts. In
> > particular, the ftp client allows specifying the password in the "user"
> > command:
> >
> > user <account> <password>
>
> I don't think the sftp client will ever support this syntax - it would
> be difficult to implement and would encourage the use of plaintext
> passwords in scripts.
>
> > It doesn't appear that OpenSSH's sftp client can do this. Is it
> > possible to specify the password as part of the command line?
>
> This is not going to happen either - commandlines are visible to all other
> users of your system using ps.
>
> > ...but it doesn't. Am I looking for something that isn't available
> > in sftp client implementations? If this is true, then what options
> > are there for automated, authenticated transfers?
>
> You can use public key authentication - this is exactly what it is
> designed for :)
>
> -d
>
> --
> | Damien Miller <djm at mindrot.org> \ ``E-mail attachments are the poor man's
> | http://www.mindrot.org / distributed filesystem'' - Dan Geer
--
Christophe Moret mailto:Christophe_Moret at hp.com
Hewlett Packard Phone :+33 4 76 14 40 78
5, avenue Raymond Chanas Fax :+33 4 76 14 47 06
38053 GRENOBLE Cedex 09 Mobile:+33 6 72 99 16 51
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Christophe_Moret.vcf
Type: text/x-vcard
Size: 377 bytes
Desc: Card for Christophe Moret
Url : http://lists.mindrot.org/pipermail/openssh-unix-dev/attachments/20010316/cec7b6e3/attachment.vcf
More information about the openssh-unix-dev
mailing list