Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 20 Jun 2003 12:15:37 +0100
From:      Matt Heath <matt@thebigchoice.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Telnet in a script
Message-ID:  <3EF2ECD9.7040106@thebigchoice.com>
In-Reply-To: <3EF2FEDC.18823.8346FA@localhost>
References:  <3EF2FEDC.18823.8346FA@localhost>

next in thread | previous in thread | raw e-mail | index | archive | help
cs@bsdroot.net wrote:

>'man expect' will make you happy!
>
>--chris
>
>  
>

cat /usr/ports/lang/expect/pkg-descr

8)


ssh user@domain "command"

set up passwordless logging in via .ssh/authorized_keys (generate a key 
with no password)
and you're away



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3EF2ECD9.7040106>