Email address obfuscation in effect -- please
click here to turn it off.
[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
ssh, like rsh, will accept commands, e.g.
ssh marinduque ls
will prompt you for your password on Marinduque, then run the ls command (or
whatever command you want) and then exit, returning you to the prompt on the
host from which you originally logged in.
You might want to start your dialup process as a daemon, e.g., use the "&"
to put it into the background as in
ssh marinduque ls &
NOTE: You will need a decent implementation of ssh.
Search for
putty (Public domain ssh and sshd for Windows.)
or
cygwin (http://sources.redhat.com/cygwin/)
The latter is actually a pretty thorough implementation of the Unix/Linux
command line for Windows. It does include such niceties and VI and
SSH/SSHD.
----- Original Message -----
From: "Neil Bradshaw" <EMAIL:PROTECTED>
To: <EMAIL:PROTECTED>
Sent: Sunday, July 07, 2002 11:22 PM
Subject: [MLUG] One Command to Server Via SSH
> Hey everyone,
>
> Does anyone know if there is currently a program that will log into a
> Linux server running SSH, execute one command, and then log off for
> Windows? I have two Windows machines which will have to SSH into my Linux
> server in order to start a dialup connection for a LAN. It'd be very easy
> if all someone had to do was click on an icon, type in a password, and
> then 30 seconds later everything's connected. The same would be applicable
> for disconnecting the LAN. I doubt there's anything like this, though. Any
> help is appreciated. Thanks!
>
> Regards,
> Neil
>
> --
> To unsubscribe, go to http://mlug.missouri.edu/members/edit.php
>
> Archives are available at http://mlug.missouri.edu/list-archives/
--
To unsubscribe, go to http://mlug.missouri.edu/members/edit.php
Archives are available at http://mlug.missouri.edu/list-archives/