Programming :: Possible To Remotely Reboot Server Using SSH Over CGI?

Aug 2, 2010

If I can remotely reboot a server using SSH over CGI? I configure the client and server with keys to make ssh without password, and, on the terminal i can make "ssh root@server_ip reboot" and it reboot normally, but, I don't know how to do this on a CGI?

View 3 Replies


ADVERTISEMENT

Ubuntu Servers :: Best Practice To Reboot Server Remotely?

May 23, 2011

I'm writing you to ask some help with administrating a server remotely.
I have a machine I use remotely when I have to travel, some time for quite long periods like from one to three months.
Last time it happened to me that after upgrading I send the reboot command
and the machine didn't turn down, so I couldn't be able to access it.
My question is: how can I avoid such situations?
Is there any best practice to follow?

View 5 Replies View Related

OpenSUSE Install :: Remotely Reboot To A Given Kernel?

Mar 16, 2011

I would like to remotely reboot a computer (via ssh) to a non default kernel. If I just type reboot, it reboots to the default kernel. Man reboot(8) does not give any hint so I am not sure that is possible at all. I have found nothing googling around either.

View 6 Replies View Related

Ubuntu Servers :: Remotely Reboot Via Web Interface?

May 2, 2011

Is there any web interface that I can install to remotely reboot ubuntu? It would only be accessible via a VPN or on the LAN so not too much worry over security.

View 3 Replies View Related

Programming :: Debug Remotely A Java Program With Ddd?

Jun 4, 2011

Is it possible to debug remotely a java program with ddd (data display debugger)?

View 2 Replies View Related

Programming :: Remotely Control A Windows Service?

Nov 20, 2010

I have a java application running under Linux (Suse). My application communicates with a windows service via TCP/IP. I had multiple cases where the windows service crashed and I'm wondering if in such case there is any Linux or java tool I could use to remotely restart this Windows service.

View 2 Replies View Related

Programming :: How To Run Program Remotely Using Custom Environment?

Jun 11, 2011

I am trying to to execute multiple programs on multiple remote machines. Each program needs to be run in a custom Environment that is not known at login time. Currently I am using ssh to connect and run the program.
My issue is that I'm not sure how setup all the Environment Variables that I need on the remote machine. I was able to write all the environment variables/values (NAME=VALUE) that I needed to a file and place on a shared file server (prog.environment). I thought the best way to approach this would be to write my own utility (custom.shell) that would interpret the environment file and then execute the desired command.

View 5 Replies View Related

Programming :: Script To Copy File Remotely?

Oct 5, 2010

Any sample script that will copy file to remote server.I'm doing it on a manual process using SCP parameter

View 2 Replies View Related

Ubuntu :: Remotely Wake On Lan - Remotely Turn On Computer

Jan 4, 2011

Does anyone know or recommend some software or a script to remotely power on a PC from standby to on, or even better from completely off?

I guess the completely OFF to ON is much more complicated - would probably require an extra piece of hardware(?)

View 2 Replies View Related

Networking :: Remotely Login To Remotely Display Data?

Jun 29, 2011

I'm not terribly new to Linux, but I am new to the forums, so hear me out! I am in the process of creating an electronic mapwall for our meteorology program, and have designed the computing system from scratch. I have two Linux Boxes, each with capabilities for 6 attached monitors...a total of 12 displays driven from two machines. My intention is to have one machine be the master...it has a touchpanel control. The inputs to the touchpanel will then trigger events for the both the master and the slave machine to display. Each of them has a specific IP address (DNS entry), and are not on a subnet.

Now...is there a way to remotely login to the slave machine and have it display on it's OWN monitors? The code is Java and which works on the master machine to animate directories of .gifs for each of the master's attached monitors. I will most likely have Java execute shell commands for the remote login (ssh), but I believe the answer lies somewhere in the X-configuration. Do I have the machines in an adverse configuration (creation of a subnet would be better)? Lots of questions...lots of desire...few answers!

View 2 Replies View Related

Server :: Workbench - Use SSH To Connect To Mysql Server Remotely?

Apr 5, 2011

How can I use SSH to connect to my mysql server remotely? SSH connects on port xxxx, so do I need to forward ports in the putty connection?

View 4 Replies View Related

Server :: SSH Server Can Connect Remotely But Not Locally?

Jun 14, 2011

I'm having issues with my SSH server.The server is running on a Slackware 13.37 machine, using the default SSH server software, which I believe is OpenSSH.On my Windows machine, I've tried connecting to my Slackware machine but can only do so using the external IP, not the LAN IP, instead I get a "Connection Refused" error using PuTTy. I've forwarded port 22 for both UDP and TCP packets to my Slackware machine.I don't really know what information you need so just ask me and I'll respond to the best of my abilities.

View 11 Replies View Related

General :: Using Server Remotely Through Windows?

Jan 13, 2011

I want to access linux server remotely from windows. I precisely dont need GUI. Just want to work with vim editor. currently I am using ssh software and xmanger software.Running ssh software dosen't give the feel and speed. However xmanager is fine to work. Can somebody suggest me from where i can get free latest xmanager software or better then it.

View 11 Replies View Related

Server :: Install And View Gui Remotely?

Dec 25, 2010

I have access to a server via putty running Red Hat 3.4.6-11 CentOS release 4.8 (Final). How do I install and view gui remotely?

View 3 Replies View Related

Fedora Installation :: How To Manage Server Remotely

Sep 22, 2009

I try to use fedora 11 as my home server. The server should be remotely managed by VNC. A normal VNC-setup does not allow to log into the login screen, but that is what I need !!
Notice that I would like to maintain the sever using the normal gnome gui. I have been investigating lots of options to get VNC running this way, have been searching all over, but did not find any working solution. All solutions I found where based on XVNC which is not available for fedora 11 as far as I know.

View 1 Replies View Related

OpenSUSE Network :: Keep The Server Awake Remotely?

May 23, 2010

Small home network consisting of a media server(headless, no monitor/keyboard/mouse)running OpenSuse 11.0, and 3 Windows clients running Vista. I don't need the server running 24/7 so I have it set to Suspend to Ram after 60 minutes, which works great. I have a WOL program on each client which works perfectly to wake up the server.

However, there are times when the server "sleeps" while I'm still using it. I can be downloading to the server, playing music, or whatever-doesn't really matter-and when the 60 minutes is up, it sleeps. What I need is some solution that will keep the server awake if I'm actually using it but let it sleep after the specified period of inactivity. My first thought was using Ethtool to wake it network activity directed at the server, but I've tried all the ethtool options and can't make it work right. Either it wakes on any network activity whatsoever, (which means it never sleeps) or doesn't wake at all.

View 9 Replies View Related

Ubuntu Servers :: Set Up Server To Accses Remotely

Jul 31, 2010

i am wanting to install ubunru server edition on an older sony vio desktop to use as a server i can access remotely. i will be needing to however access this server remotely from a college i attend throughout parts of the year.

View 9 Replies View Related

Red Hat / Fedora :: Connecting To Redhat Server Remotely?

Oct 12, 2010

Our servers use Red Hat Enterprise Linux 5 (Tikanga). I would like to remote into the server to install PHP, Apache, MySQL.How can I do that from Windows?How can I do that from Linux? Which Linux distribution is the best for this purpose?

View 2 Replies View Related

Networking :: Remotely Login Using SSH And Vino-Server?

Nov 21, 2008

I usually remotely connect to a client server to make adjustment via the CLI.Occasionally I have to login into the desktop to understand some issues that my customer are trying to explain via Vino-Server. I have notice that sometimes when I attempt to login via ssh, I sometimes can see that a user has not logged into the GUI desktop which means that I cannot login into the remote desktop session to resolve any issues via the GUI. My question is:How can I remotely login via ssh and start a gnome or kde session for the user account that I am trying to resolve his or her issue?

View 3 Replies View Related

General :: Remotely Shut-down XP Machines From A Server?

Oct 27, 2010

suddenly ,I get a project to shutdown all xp's by a Linux server(RHEL5) using a single command.by net command i did that.but in this case i have to specify all the ip addresses manually .Is there any way that Linux server obtain the ip addresses automatically on a network and then shut down all the pc's

View 2 Replies View Related

General :: Start The Tomcat Server Remotely?

Aug 5, 2010

I am trying to start remote tomcat server, it's not working as expected. I like to mansion that..I am able to stop tomcat server remotly. Below command i am using

ssh -t remoteserver sudo sh /opt/tomcat/6.0.29/apache-tomcat/bin/catalina.sh start
ssh -t remoteserver sudo sh /opt/tomcat/6.0.29/apache-tomcat/bin/startup.sh

Both are not working..when i run this script locally it's working file

same way when i run tomcat stop command it's working fine.
ssh -t remoteserver sudo sh /opt/tomcat/6.0.29/apache-tomcat/bin/catalina.sh stop
ssh -t remoteserver sudo sh /opt/tomcat/6.0.29/apache-tomcat/bin/shutdown.sh

I check log file also..when i am executing tomcat start there is no log entry in log file

Using CATALINA_BASE: /opt/tomcat/6.0.29/apache-tomcat-6.0.29
Using CATALINA_HOME: /opt/tomcat/6.0.29/apache-tomcat-6.0.29

[code]....

View 14 Replies View Related

Server :: Acess Apache Remotely On Slackware 13.1?

Nov 9, 2010

I have installed apache on slackware (I was isntalled slackware without apache) and "It Works" but when I try to access it remotely it returns "404 error". Apache server work pretty well localy either for localhost or IP adress.

View 14 Replies View Related

Server :: Cannot Access Apache Web URLs Remotely?

Jun 7, 2010

I have a fresh fedora 13 install, I managed to browse and setup my phpadmin.....and browse everthing locally. I can not browse the web site from any other machine in my network. All my machines get their IPs from my dhcp (192.168.1.0).I googled and read a thread in this forum, I understood it might be due to SELINUX. I disabled it, rebooted, still have the same behavior, browse my apache locally but not from other machines. I did a telnet from one of my machines using the IP as followstelnet 192.168.1.11 80got the following onnecting To 192.168.1.11...Could not open connection to the host, on port 80: Connect failed.I checked error-log and access_log file, found no hint. I think it should be something related to some fedora systemor firewall or selinux config that is not allowing access to it.

View 4 Replies View Related

Server :: Vsftpd: Can Connect Remotely But Not Locally?

Jan 31, 2011

I'm running vsftpd-2.2.2 on Slackware 13.1 and I'm behind a NAT with a dynamic IP. I'm using pasv_address, which makes it necessary to have a crontab that checks whether my IP has changed, and if it has, edits the conf and restarts vsfptd. It's hackish but it works. I have also enabled FTPES on the same port that normal FTP runs. I have allowed only the 5001:5003 ports and I am aware that the recommented is 50 ports. However I never had an issue with the transfers since I'm the only user and have at maximum two simultaneous transfers.

I can connect remotely with FTP and FTPES with every client I tried but I'm having issues locally. FileZilla refuses to connect on FTP and FTPES. WinSCP can connect on FTP but not FTPES. Issues are gone if I enable pasv_promiscuous, which the manpage strongly recommends not to use unless "you know what you're doing". I don't. Why is this happening? And, can I fix the local connections without resorting to pasv_promiscuous?

Here is my config and log files from a failed local attempt.

vsftpd.conf

Code:

anonymous_enable=NO
local_enable=YES
write_enable=YES
local_umask=022

[code]....

View 3 Replies View Related

Software :: Remotely Connect To A Server That Has Ubuntu?

Mar 7, 2010

I have 5 PCs running windows XP and I want to remotely connect to a server that has Ubuntu.
I want all of them to have their own passwords and own desktops something like Remote desktop in windows and each one can run his programs separately.

View 7 Replies View Related

Fedora Networking :: Controlling A Running X Server Remotely?

Apr 11, 2009

*Solved* I have been reading the following guide on how to use the VNC programs and a GUI to connect to my main machine from my laptop via my LAN and router:

[URL]

This allows me to control the server remotely, and run applications on the server remotely, with the GUI output being shown on my laptop, which is really neat I had Eclipse + PDT running on my server and had to stop it and start a new instance remotely from the laptop via VNC viewer, as Eclipse said the workspace I wanted to use was already in use.

So starting the VNC server on the main machine does not allow me to access the programs that are already running on the main machine under the native X server. However I can now do PHP debugging remotely using Eclipse + PDT now, and all the PHP source code is on the server machine. That's OK, but I would like to do more than that. I want to be able to connect to the native X server on my main machine, and control all the applications running on the main machine remotely from my laptop, without having to shut them down and restart them again via a VNC viewer.

Is there some sort of remote control program I can use to allow me to connect to the running X server on my main machine from my laptop, and control those applications remotely please, so the desktop layout on the main machine's screen is mirrored on the laptop screen?

View 1 Replies View Related

Fedora Networking :: Vnc Server Test Ok But Cannot Connect Remotely?

Jun 3, 2009

I succeeded in setting up a vnc server on a fedpra9 tested it locally and it was successfully connected but no connection done from other machine in the network , even though they can see each othervnc server is pingable se linux is disabled

View 9 Replies View Related

OpenSUSE :: Unable To Communicate With SUSE OES 2 Server Remotely?

Dec 15, 2010

This issue was prompted by Groupwise MTA not communicating with a Post Office that I had migrated to our first Linux box. I found out why, because I cannot communicate with it at all, other than through ethernet. I'm not sure what the problem is. I've checked the firewall and opened up all the ports that I'm trying to communicate on.ve made sure Apache is loaded

View 2 Replies View Related

Ubuntu Networking :: Access Files On Server Remotely?

Mar 27, 2010

I have a Linux server and a static IP address. I want to access data on my server remotely using this IP address. How do I do it?

View 3 Replies View Related

Ubuntu Installation :: Trying To Remotely Connect To Home Server

Sep 20, 2010

I am new to Ubuntu and have been trying to make a remote connection to my home server. I think I almost there. Here's what I have done:

1) Installed Ubuntu Server 10.0 on a Pentium 2 with 256K
2) Installed SSH, MySQL, desktop GUI and enabled remote access
3) Port forwarded my Lynksys to 5900:22 and 80
4) installed Putty and TightVNC Viewer
5) Obtained a DynDDS account

My interanl IP Addy = 192.168.x.yyy
My External IP Addy = 76.xxx.y.zzz

When I run Putty, the connection times out (which I am guessing that my server may not be setup correctly). Since I am configuring all this at home, I am unable to simulate a true remote access unless I go to an outside location. Is there a way to test my connection from outside my network rather than waiting to login remotely from a place other than my home?

View 9 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved