From: Domenico Galli <galli@bo.infn.it>
To: zsh-users@math.gatech.edu
Cc: Kosh <mariah@isis.interpac.net>
Subject: Re: Suggestions for auto-login script for ZSH?
Date: Mon, 25 Nov 1996 21:20:03 +0100 (MET) [thread overview]
Message-ID: <Pine.HPP.3.91.961125211051.12946B-100000@hp8hb1.bo.infn.it> (raw)
In-Reply-To: <Pine.LNX.3.95.961125144326.9280A-100000@nerc3.nerc.com>
For ftp you may try something like this:
ftp -n > ftp.log <<-EOF
open hostname
user username password
cd dirname
ascii
get filename
quit
EOF
Of course this is not safe, because you write your password in a file.
It's better to use rcp instead of ftp and rlogin instead of telnet.
Domenico Galli
On Mon, 25 Nov 1996, Timothy Luoma wrote:
>
> this is not a ZSH thing, this is a shell thing in general
>
> you are looking for the program "expect" from Don Libes which uses TCL to
> automate login processes.
>
> of course, rather than using 'telnet' you could use an .rhosts file and
> use rlogin....
>
> ftp to ftp.cme.nist.gov and goto pub/expect
>
> TjL
>
>
>
-------------------------------------------------------------------------------
Domenico GALLI
Dipartimento di Fisica dell'Universita' di Bologna and INFN, Sezione di Bologna
via Irnerio, 46, I-40126 Bologna - ITALY
Phone: (+39) 51 351027 Fax: (+39) 51 244380
e-mail: galli@bo.infn.it
-
CERN PPE LR 22 R-006, Route de Meyrin, CH-1211 Geneve 23, Switzerland
Phone: (+41) 22 767 2166 (+41) 22 767 8259 (+41) 22 767 6609
e-mail: domenico.galli@cern.ch
-
DESY, GEB. 66, ZI. 6, Notkestrasse, 85, 22607 Hamburg, Germany
Phone: (+49) 40 8998 4545
e-mail: galli@hera-b.desy.de
-------------------------------------------------------------------------------
next prev parent reply other threads:[~1996-11-25 21:02 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
1996-11-25 19:08 Kosh
1996-11-25 19:47 ` Timothy Luoma
1996-11-25 20:20 ` Domenico Galli [this message]
1996-11-25 21:01 ` Richard Coleman
1996-11-25 21:52 ` Jose Unpingco
1996-11-25 21:57 ` Nate Johnston
1996-11-25 22:34 ` Greg Badros
1996-11-26 3:55 ` I. Dwayne Koonce
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=Pine.HPP.3.91.961125211051.12946B-100000@hp8hb1.bo.infn.it \
--to=galli@bo.infn.it \
--cc=mariah@isis.interpac.net \
--cc=zsh-users@math.gatech.edu \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).