Re: ssh auto-login-script

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxx> 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


-
: send the line "unsubscribe linux-admin" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html



- : send the line "unsubscribe linux-admin" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Newbie]     [Audio]     [Hams]     [Kernel Newbies]     [Util Linux NG]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Device Drivers]     [Samba]     [Video 4 Linux]     [Git]     [Fedora Users]

  Powered by Linux