LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 01-13-2015, 03:38 AM   #1
wassimpb
LQ Newbie
 
Registered: Jan 2015
Posts: 4

Rep: Reputation: Disabled
ssh acces without passwd from unique machine to all servers


hello

i want to acces to many machines over LAN network from a unique machine , that allow me to use a SSH directly without password.
i ama using redhat enterprise version . i didnt find the right way to realise that.
 
Old 01-13-2015, 03:51 AM   #2
TenTenths
Senior Member
 
Registered: Aug 2011
Location: Dublin
Distribution: Centos 5 / 6 / 7
Posts: 3,475

Rep: Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553
http://centos.tips/ssh_nopw/

Repeat step 3 and step 4 on each of the servers you wish to use.
 
Old 01-13-2015, 05:57 AM   #3
pcouderc
LQ Newbie
 
Registered: Jan 2015
Posts: 1

Rep: Reputation: Disabled
limit IP

If you access from only one machine you can improve security by limiting accass to this IP
 
Old 01-13-2015, 02:20 PM   #4
sundialsvcs
LQ Guru
 
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 10,659
Blog Entries: 4

Rep: Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941
A few things:

(1) It is critically important to disallow password-authentication, because otherwise SSH will systematically offer weaker and weaker alternatives and will accept(!) the weakest one.

(2) Be sure to use individual keys, which can be individually identified and repudiated.

(3) Strongly consider encrypting the keys on the client machines, so that some impediment exists to anyone who manages to break-in to the client, and/or who steals key information from the client.

(4) Buttress your defenses with as many other defenses as you can, e.g. firewall rules. Insofar as possible, "don't even let Eve get close to that machine." Before she can try her key in the lock, she must first be able to reach the lock.
 
  


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
[SOLVED] ssh acces without passw from unique machine to all servers wassimpb Linux - Enterprise 1 01-13-2015 03:44 AM
get unique host id of machine c/c++ tank junior Linux - Newbie 1 02-06-2011 01:20 AM
How to have a Server with an unique /etc/passwd and /home with right permission? frenchn00b Linux - Server 4 11-10-2009 12:12 AM
no acces with ssh kvtournh Linux - Networking 3 12-11-2003 08:29 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

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