Re: ssh questions
From: Anthony Schneider (aschneid@mail.slc.edu)
Date: 06/12/02
- Next message: a1miran6325d83@lycos.com: "** You are approved. **"
- Previous message: Bruce M Simpson: "Re: firewall 'stateful failover'"
- In reply to: Peter Pentchev: "Re: ssh questions"
- Next in thread: Matt Piechota: "Re: ssh questions"
- Reply: Matt Piechota: "Re: ssh questions"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Wed, 12 Jun 2002 14:14:56 +0000 From: Anthony Schneider <aschneid@mail.slc.edu> To: Peter Pentchev <roam@ringlet.net>
I've never had a problem sending passphrases to ssh via expect, personally.
-Anthony.
>
> BTW, have you actually tried this with SSH and/or sftp? I have no doubt
> that it will work as far as the sending of commands, but there might be
> a little problem concerning the authentication itself: SSH is really,
> really picky about having the password or passphrase read from a
> terminal, not from just any input stream. Thus, when Expect opens SSH,
> attaching pipes to its standard input and output, SSH will refuse to
> read a passphrase from its stdin and try to read it from the controlling
> terminal instead. Since a cron-run process will have no controlling
> terminal, SSH will exit with a message along the lines of 'you have no
> controlling terminal, unable to read passphrase'.
>
> Thus, even with Expect, one will need to setup some form of
> empty-passphrase authentication for unattended SSH/scp/sftp connections.
>
> G'luck,
> Peter
>
> --
> Peter Pentchev roam@ringlet.net roam@FreeBSD.org
> PGP key: http://people.FreeBSD.org/~roam/roam.key.asc
> Key fingerprint FDBA FD79 C26F 3C51 C95E DF9E ED18 B68D 1619 4553
> If you think this sentence is confusing, then change one pig.
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-security" in the body of the message
- application/pgp-signature attachment: stored
- Next message: a1miran6325d83@lycos.com: "** You are approved. **"
- Previous message: Bruce M Simpson: "Re: firewall 'stateful failover'"
- In reply to: Peter Pentchev: "Re: ssh questions"
- Next in thread: Matt Piechota: "Re: ssh questions"
- Reply: Matt Piechota: "Re: ssh questions"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|