Re: working from ssh

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

 



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@xxxxxxxxxxxxxxxxxx> 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@xxxxxxxxxx [mailto:
> redhat-list-bounces@xxxxxxxxxx]
> >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@xxxxxxxxxx?subject=unsubscribe
> >https://www.redhat.com/mailman/listinfo/redhat-list
> >
> >--
> >redhat-list mailing list
> >unsubscribe mailto:redhat-list-request@xxxxxxxxxx?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@xxxxxxxxxx?subject=unsubscribe
> https://www.redhat.com/mailman/listinfo/redhat-list
>
-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subjecthttps://www.redhat.com/mailman/listinfo/redhat-list


[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux