linux-admin.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Matt Hemingway" <matt.hemingway@pcnalert.com>
To: DerPuh <Puhbaer01@gmx.de>, linux-admin@vger.kernel.org
Subject: Re: ssh auto-login-script
Date: Mon, 06 Sep 2004 11:29:15 -0700	[thread overview]
Message-ID: <web-20946998@pcnalert.com> (raw)
In-Reply-To: <413F4A9A.90800@gmx.de>

Well, it can be done via an expect script.  I wouldn't 
recommend that though as the password will be contained in 
a file.  

Instead, take a look at using ssh keys to do the login.  A 
google search on "ssh keys" pulls up some good docs.

-Matt

On Wed, 08 Sep 2004 20:08:26 +0200
  DerPuh <Puhbaer01@gmx.de> wrote:
>Hi everybody!
>
>I have to find a possibility to send a password directly 
>to the ssh password-prompt with a shell-script...
>
>i tried to send it by pipe but it is blocked by the 
>client...
>
>does anyone have an idea if it is possible and if it is, 
>how it works?
>
>thx, DerPuh
>
>
>-
>To unsubscribe from this list: send the line "unsubscribe 
>linux-admin" in
>the body of a message to majordomo@vger.kernel.org
>More majordomo info at 
> http://vger.kernel.org/majordomo-info.html
>


  reply	other threads:[~2004-09-06 18:29 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-09-06 18:11 ssh auto-login-script DerPuh
2004-09-06 18:29 ` Matt Hemingway [this message]
2004-09-07 18:33 ` Stephen Samuel
  -- strict thread matches above, loose matches on Subject: below --
2004-09-07 23:28 DerPuh

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=web-20946998@pcnalert.com \
    --to=matt.hemingway@pcnalert.com \
    --cc=Puhbaer01@gmx.de \
    --cc=linux-admin@vger.kernel.org \
    /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.
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).