LUGRo-Mesh Forum (espaņol/english)
December 06, 2021, 08:58:28 am
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Welcome to SMF For Free
 
  Home   Forum   Help Search Gallery Staff List Login Register  

Reboot node in ssh

Pages: [1]   Go Down
  Print  
Author Topic: Reboot node in ssh  (Read 420 times)
PCDOM
Full Member
***
Posts: 105


« on: May 02, 2010, 06:24:28 am »

Hi,

I Installed OpenVPN tunnel between my server and each node, I have a Control Panel for it and I can log in in ssh

do you have any command to execute to reboot node from ssh ?

I tried reboot and it's ok lol

Helene
« Last Edit: May 02, 2010, 06:52:16 am by PCDOM » Report Spam   Logged

Share on Facebook Share on Twitter

JulioCP
Administrator
Full Member
*****
Posts: 113


WWW
« Reply #1 on: May 02, 2010, 08:45:08 am »

Hi,

I Installed OpenVPN tunnel between my server and each node, I have a Control Panel for it and I can log in in ssh

do you have any command to execute to reboot node from ssh ?

I tried reboot and it's ok lol

Helene

You can remotely execute a command with ssh, like this
Code:
ssh user@ip command

In your case
Code:
ssh root@x.x.x.x reboot
should work.

And you can also automate the process, search about "ssh remote command" for better info Smiley

            Saludos, Julio
Report Spam   Logged
PCDOM
Full Member
***
Posts: 105


« Reply #2 on: May 11, 2010, 04:34:22 pm »

Hi,

I Installed OpenVPN tunnel between my server and each node, I have a Control Panel for it and I can log in in ssh

do you have any command to execute to reboot node from ssh ?

I tried reboot and it's ok lol

Helene

You can remotely execute a command with ssh, like this
Code:
ssh user@ip command

In your case
Code:
ssh root@x.x.x.x reboot
should work.

And you can also automate the process, search about "ssh remote command" for better info Smiley

            Saludos, Julio

Thanks for your help, now I have another problem

We want to access with openvpn to node client

But Gateway block traffic between the nodes

Is it possible to open UDP traffic between gateway and client to open vpn tunnel an ssl certificate

example: acces from node client ath2 to gateway node ath1

can you help me for this ?

Helene Gauthier
Report Spam   Logged
Pages: [1]   Go Up
  Print  
 
Jump to:  

Bookmark this site! | Upgrade This Forum
SMF For Free - Create your own Forum
Powered by SMF | SMF © 2016, Simple Machines
Privacy Policy