LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris
User Name
Password
Solaris / OpenSolaris This forum is for the discussion of Solaris and OpenSolaris.
General Sun, SunOS and Sparc related questions also go here.

Notices

Reply
 
Search this Thread
Old 04-12-2008, 10:24 AM   #1
rajaniyer123
Member
 
Registered: Feb 2004
Location: BARODA, GUJARAT
Posts: 257

Rep: Reputation: 30
How to kill processes using ssh remotely


Hi

As we are handling solaris production servers remotely. As we are facing the problem in which we are not able to login through ssh into one of the Solaris 10 Box.

In the same ref we are able to ping the same. Now as all servers are production only ssh is only enabled in all servers.

Now to resolve the issue I would like to kill few process of solaris 10 Box without login into the same, as it will not allow the same.

In the same ref I would like to know how to kill the unwanted process to free up I/O connections from remotely.

Thanks
Rajan
 
Old 04-12-2008, 11:24 AM   #2
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris10, Solaris 11, Mint, OL
Posts: 9,482

Rep: Reputation: 354Reputation: 354Reputation: 354Reputation: 354
If ssh is the only way to remotely access your servers and for some reason you cannot log in through ssh on some of them, I don't see how you would be able to kill processes then.

If you could, that would have been quite a security flaw.

For that purpose, servers located in data-centers have usually a separate administration network with direct console access.
 
Old 04-12-2008, 10:40 PM   #3
rajaniyer123
Member
 
Registered: Feb 2004
Location: BARODA, GUJARAT
Posts: 257

Original Poster
Rep: Reputation: 30
Hi

I am facing the pproblem while ligin

Last edited by rajaniyer123; 04-13-2008 at 09:33 AM. Reason: Plain IP addresses removed by mod.
 
Old 04-13-2008, 01:22 AM   #4
Kahless
Member
 
Registered: Jul 2003
Location: Pennsylvainia
Distribution: Slackware / Debian / *Ubuntu / Opensuse / Solaris uname: Brian Cooney
Posts: 503

Rep: Reputation: 30
Dude, are you legit?

If so, How does your boss feel about you posting the IP address of a secure production server to online forums?



That being said, and assuming you are legit, think about what user you are logging in as, and if that user is actually configured to be allowed to login through ssh. Also, check if your user has a valid shell.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Can't kill certain processes.... Basslord1124 Slackware 2 01-29-2008 10:28 AM
how to kill processes htamayo Linux - Newbie 2 09-25-2007 10:27 AM
LXer: Can Microsoft Remotely Kill Your Windows PC? LXer Syndicated Linux News 15 06-15-2006 11:16 PM
how to use kill to kill a batch of processes with same name? dr_zayus69 Linux - Software 2 09-03-2005 06:35 PM
HP-UX failing to kill some processes itumeleng Other *NIX 1 01-21-2005 08:14 PM


All times are GMT -5. The time now is 01:42 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration