LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 12-24-2015, 09:16 PM   #1
luofeiyu
Member
 
Registered: Aug 2015
Posts: 237

Rep: Reputation: Disabled
Can network manager close all ssh connection from local user?


A local network manager want to close all the ssh connection from local user to public ip,that is all user in the local net was banned to use ssh service,can network manager achieve the target?
 
Old 12-24-2015, 09:20 PM   #2
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,346
Blog Entries: 28

Rep: Reputation: 6145Reputation: 6145Reputation: 6145Reputation: 6145Reputation: 6145Reputation: 6145Reputation: 6145Reputation: 6145Reputation: 6145Reputation: 6145Reputation: 6145
Do you mean the software application "network manager"?

If you tell network manager to disconnect from the network, yes, that would kill all network connections, including ssh connections. I do not think you can use network manager to kill individual ssh connections while remaining connected to the network.

If you will provide more details about the distro/version involved and what precisely you want to do, a more detailed answer might be possible.
 
Old 12-25-2015, 01:40 AM   #3
luofeiyu
Member
 
Registered: Aug 2015
Posts: 237

Original Poster
Rep: Reputation: Disabled
"network manager" means local net administrator ,a man who master the local net for the company.
 
Old 12-25-2015, 04:58 AM   #4
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,930

Rep: Reputation: 7321Reputation: 7321Reputation: 7321Reputation: 7321Reputation: 7321Reputation: 7321Reputation: 7321Reputation: 7321Reputation: 7321Reputation: 7321Reputation: 7321
Quote:
If you will provide more details about the distro/version involved and what precisely you want to do, a more detailed answer might be possible.
It highly depends on the rights of that man. Theoretically it is possible.
 
  


Reply



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
executing script even when we close connection via ssh sanaz Linux - Newbie 5 02-18-2013 12:44 PM
[SOLVED] SSH connection refused on local network mbvpixies78 Linux - Networking 10 12-08-2011 12:21 PM
ssh - how to close connection from bash script babag Linux - Networking 7 05-30-2008 09:14 PM
Perl: Wait for ssh connection to close kenneho Programming 9 10-29-2005 09:19 AM
Game server shutting down when I close my SSH connection jader9920 Linux - Software 7 01-05-2004 07:38 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 12:23 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration