[aclug-L] Re: a dumb question
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
Maverick wrote:
>
> Hi,
> I am thinking to auto testing something on linux
> machine from a PC machine, is that anyway to launch
> some command from a PC to linux machine after telnet
> automatically? like ssh or rsh?
You can use ssh or rsh, provided:
1) You have client programs on the PC. They are not
standard issue, so you'll have to track them down,
install and configure them. I think they can be
found somewhere, but don't know where offhand.
2) You have daemon programs configured, running and
accessible on the Linux machine. rshd, in particular,
has a checkered past security-wise, so most Linux
systems render it useless by default. sshd is also
useless until you have it properly configured.
You can use something like expect (based on tcl) to
script interactive programs like ftp and telnet.
Anything beyond that involves a lot of programming
(e.g., rpc).
My guess is that ssh is probably the tool of choice.
I've never set it up, so cannot advise; if you do get
it to work, you might let us know.
> Is that a way to put something on a file call
> "runtest_linux" in PC.
>
> C:\>type runtest_linux
> //test from a pc to linux machine
> telnet somelinuxhost
> mylogin_name
> mypassword
> ls -la
> cd public_html
> ls -la
>
> Thanks.
--
/*
* Tom Hull * thull at kscable.com * http://www.ocston.org/~thull/
*/
-- This is the discussion@xxxxxxxxx list. To unsubscribe,
visit http://tmp2.complete.org/cgi-bin/listargate-aclug.cgi
|
|