working from ssh

Vladimir Kosovac vkosovac at gmail.com
Tue Dec 20 18:26:13 UTC 2005


Try

ssh root@<gateway> "<command_to_stop_ppp0>"

Just make sure that command you want to execute remotely is enclosed in
double quotes.

V

On 12/21/05, Marty Landman <mlandman at face2interface.com> wrote:
>
> I've misexplained. I am able to SSH, what I don't know how to do is start
> and stop my ppp0 connection from the shell. Only know how to do it from
> the
> console desktop.
>
> Marty
>
> At 08:46 AM 12/20/2005, Mollatt Ntini wrote:
> >Use an SSH client, available at www.ssh.org or www.winsshd.com, or
> several
> >others you will surely get Secure remote access to your linux servers.
> >
> >HTH.
> >
> >-----Original Message-----
> >From: redhat-list-bounces at redhat.com [mailto:
> redhat-list-bounces at redhat.com]
> >On Behalf Of Marty Landman
> >Sent: Tuesday, December 20, 2005 3:37 PM
> >To: General Red Hat Linux discussion list
> >Subject: working from ssh
> >
> >Have RH9 installed on the box being used as gateway for my lan. I'd like
> to
> >be able to access network device control from my workstation with an ssh
> >connection but don't know how.
> >
> >Specifically would like to be able to disconnect/reconnect ppp0 from the
> >shell.
> >
> >More generally would like to be able to do most everything from remote
> >shell.
> >
> >Marty
> >
> >
> >Marty Landman, Face 2 Interface Inc. 845-679-9387
> >Webmaster's Bulletin Board: http://bbs.face2interface.com/
> >Web Installed Formmail: http://face2interface.com/formINSTal
> >
> >--
> >redhat-list mailing list
> >unsubscribe mailto:redhat-list-request at redhat.com?subject=unsubscribe
> >https://www.redhat.com/mailman/listinfo/redhat-list
> >
> >--
> >redhat-list mailing list
> >unsubscribe mailto:redhat-list-request at redhat.com?subject=unsubscribe
> >https://www.redhat.com/mailman/listinfo/redhat-list
>
> Marty Landman, Face 2 Interface Inc. 845-679-9387
> Webmaster's Bulletin Board: http://bbs.face2interface.com/
> Web Installed Formmail: http://face2interface.com/formINSTal
>
> --
> redhat-list mailing list
> unsubscribe mailto:redhat-list-request at redhat.com?subject=unsubscribe
> https://www.redhat.com/mailman/listinfo/redhat-list
>



More information about the redhat-list mailing list