Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hi,
I have a UPS connected to a Win2k d.c.: on power failure the UPS manager execute a batch file to shutdown the other servers first and itself finally.
I need to shutdown a server linux (Red Hat 7.3) too, but I don't know how.
Could someone help me????
TX
SSH to the Linux box, log in as yourself and execute halt or shutdown -h now. If you don't have the permissions to shut down the box you may have to use su -c halt or su -c "shutdown -h now". You could use an expect script to take care of this.
the problem is not the shutdown without permission, but to have an unattended ssh connection; I'm using ssh secure shell and I don't find how to connect without type password; is there a configuration file or another way to do it?
Distribution: Debian 3, 31r0, 4, slackware, DSL, RH8.0/7, MDK9/10, et al. Vista is cute but not Linux - I tried
Posts: 70
Rep:
I don't know much about keys but what about using them to log into the linux box rather than a password. I believe you can configure your pam sshd module for this. Can't help you more though
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.