Ssh acces without passwd from unique machine to all servers

Login or Register to Reply

Thread Tools Search this Thread
# 1  
Ssh acces without passwd from unique machine to all servers


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.
what should i do at first ?
# 2  
Welcome wassimpb,

What have you tried so far?

I would expect that the process you need to do will be similar to this:-
  • Ensure you can ssh and get a login prompt (check that the firewall & routing is correct)
  • Generate a pair of ssh keys on the server you wish to connect from.
  • Send the public key generated to each server you want to connect to, ensuring it is added to the correct file with secure permissions.
  • Test
You will (naturally) need access to each server already to write the public key files into the authorised list.

Does this help? There are guides to creating and sharing ssh-keys you can get from a simple internet search.

This User Gave Thanks to rbatte1 For This Post:
Login or Register to Reply

Thread Tools Search this Thread
Search this Thread:
Advanced Search

More UNIX and Linux Forum Topics You Might Find Helpful
Find active SSH servers w/ ssh keys on LAN
Hi, I am trying to complete my bash script in order to find which SSH servers on LAN are still active with the ssh keys, but i am frozen at this step: #!/bin/bash # LAN SSH KEYS DISCOVERY SCRIPT </etc/passwd \ grep /bin/bash | cut -d: -f6 | sudo xargs -i -- sh -c ' && cat...... Shell Programming and Scripting
Shell Programming and Scripting
iptables applied in local machine, can't ssh remote machine after chain changed to DROP
I want to SSH to Server from my machine, my ip was Source Destination was UP, with IP This is LAN Network there are 30 Machine's Connected to the network and working fine, I'm Playing around the local machine's because I need to apply the same rules in...... Red Hat
Red Hat
Changing Passwd on Many servers that is not NIS
Hi Expert, I have environment where password is locally managed, not NIS, not LDAP, not Centrally managed. In order to access to this environment I have to use Jump Box, and only from jumpbox I can login to every host. I can't login direct from inside one host within that environment to...... Shell Programming and Scripting
Shell Programming and Scripting
Change passwd for bulk servers using SSH script
Hi, I need to Change passwd for bulk servers using SSH script. I have one server, from which i can reach all the servers without password via SSH. There is some expect script, from which i can achieve it. Can any one help me out here. Thanks in advance. Vicky... Solaris
SSH into a linux machine from a windows machine
I basically want to login into different linux machines( on the same network) from a windows machine. I know i can use ssh <machine name>. But i want to automate this process. I dont want to enter the username and password. Is there any way to do it. Can i make some sort of a batch script for it.... Shell Programming and Scripting
Shell Programming and Scripting