LinuxQuestions.org
Visit Jeremy's Blog.
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 01-21-2016, 06:01 AM   #1
iFunction
Member
 
Registered: Nov 2015
Posts: 248

Rep: Reputation: Disabled
General practice for scripts that update networks


Hi there,

So far with this network I am building, I have been using ssh keys for authentication when using a script that communicates with multiple computers. However, I have just been reading quite a few posts saying that it is risky to share private keys with multiple computers. So how are commands usually issued from a server to all other computers on a network for example doing updates?

kind regards
iFunc
 
Old 01-21-2016, 11:43 PM   #2
JJJCR
Senior Member
 
Registered: Apr 2010
Posts: 2,182

Rep: Reputation: 450Reputation: 450Reputation: 450Reputation: 450Reputation: 450
Smile

Quote:
Originally Posted by iFunction View Post
Hi there,

So far with this network I am building, I have been using ssh keys for authentication when using a script that communicates with multiple computers. However, I have just been reading quite a few posts saying that it is risky to share private keys with multiple computers. So how are commands usually issued from a server to all other computers on a network for example doing updates?

kind regards
iFunc
No plans to use software such as Nagios, Zabbix etc..
 
Old 01-22-2016, 03:56 AM   #3
iFunction
Member
 
Registered: Nov 2015
Posts: 248

Original Poster
Rep: Reputation: Disabled
Hi JJJCR,

Well this was my question really, I am very much a newbie at administration, so I have no idea what standard practice is for this kind of thing. I shall look into these. Thank you.
 
Old 01-22-2016, 04:43 AM   #4
descendant_command
Senior Member
 
Registered: Mar 2012
Posts: 1,878

Rep: Reputation: 644Reputation: 644Reputation: 644Reputation: 644Reputation: 644Reputation: 644
You don't share the private key, you have a unique one per machine/user, and put their pubkey in only the machines/users that they need access to.

Last edited by descendant_command; 01-22-2016 at 04:44 AM.
 
  


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
Linux Laptop for shell scripts practice and certification test donxu Linux - General 2 08-10-2014 08:34 PM
Merge two python scripts into one -- Best practice/recommendations? kushalkoolwal Programming 1 08-10-2012 01:23 PM
Advice on best practice for creating sysadmin scripts pernest Linux - Server 5 03-06-2012 06:03 AM

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

All times are GMT -5. The time now is 06:34 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