01-13-2015
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.
what should i do at first ?
9 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
My scenario is as follows:
We have a handful of batch accounts that run our production jobs. Our users are able to use sudo to become that account. Also, because of other reasons, the passwords are also listed in an encrypted file that each team can see their batch ID. So, I have some users... (5 Replies)
Discussion started by: cpolikowsky
5 Replies
2. Shell Programming and Scripting
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. (4 Replies)
Discussion started by: lassimanji
4 Replies
3. Solaris
I have turned off PermitEmptyPasswords in sshd_config, but a user with empty passwd (deleted by passwd -d user) can still login without password, why? it is big security concern, linux doesn't have the issue.
$ uname -a
SunOS 5.10 Generic_118855-14 i86pc i386 i86pc
... (8 Replies)
Discussion started by: honglus
8 Replies
4. Solaris
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 (1 Reply)
Discussion started by: vickyingle5
1 Replies
5. Shell Programming and Scripting
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... (1 Reply)
Discussion started by: regmaster
1 Replies
6. Red Hat
I want to SSH to 192.168.1.15 Server from my machine, my ip was 192.168.1.99
Source Destination was UP, with IP 192.168.1.15.
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... (2 Replies)
Discussion started by: babinlonston
2 Replies
7. Shell Programming and Scripting
Hi All, Wishes!!
I need some help to prepare a script to copy the public key from admin host to multiple client hosts to make them login without password.
Detailed :
I have an admin host "admin1" and i generated sshkeygen, now i have id_rsa.pub and i have around 50 client hosts. i... (4 Replies)
Discussion started by: kumar85shiv
4 Replies
8. IP Networking
With the following machines...
Server 1: PPTP client windows; Public IP: 1.1.1.1
Server 3: PPTP server centos6; Public IP: 3.3.3.3
Connecting VPN server3 from server1 works correctly!
Goal is to have a middle server forwarding traffic in both ways
Server 1: PPTP client windows; Public IP:... (0 Replies)
Discussion started by: pedroz
0 Replies
9. Shell Programming and Scripting
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... (11 Replies)
Discussion started by: syrius
11 Replies
LEARN ABOUT SUNOS
asadmin-update-connector-security-map
asadmin-update-connector-security-map(1AS) User Commands asadmin-update-connector-security-map(1AS)
NAME
asadmin-update-connector-security-map, update-connector-security-map - updates the security map for the named connector connection pool
SYNOPSIS
update-connector-security-map --user admin_user [--password admin_password][--host localhost] [--port 4848][--secure|-s] [--passwordfile
filename] [--terse=false] [--echo=false] [--interactive=true]
--poolname connector_connection_pool_name [--addprincipals principal-name[, principal-name]*]| [--addusergroups user-group[, user-group]*]
[--removeprincipals principal-name[, principal-name]* ] [--removeusergroups user-group[, user-group]*] [--mappedusername user_name]
[[--mappedpassword password]] mapname
Modifies a security map for the named connector connection pool. You must have first created a connector connection pool using the create-
connector-connection-pool command.
This command is supported in remote mode only.
OPTIONS
--user authorized domain application server administrative username.
--password password to administer the domain application server.
--host machine name where the domain application server is running.
--port port number of the domain application server listening for administration requests.
--secure if true, uses SSL/TLS to communicate with the domain application server.
--passwordfile file containing the domain application server password.
--terse indicates that any output data must be very concise, typically avoiding human-friendly sentences and favoring well-
formatted data for consumption by a script. Default is false.
--echo setting to true will echo the command line statement on the standard output. Default is false.
--interactive if set to true (default), only the required password options are prompted.
--poolname connector connection pool name for which the security map that is to be updated or created belongs to.
--addprincipals a comma separated list of backend EIS principals to be added.
--addusergroups a comma separated list of the enterprise information system usergroups to be added.
--removeprincipals a comma separated list of the enterprise information system principals to be removed.
--removeusergroups a comma separated list of the enterprise information system usergroups to be removed.
--mappedusername the enterprise information system username.
--mappedpassword the enterprise information system password.
OPERANDS
mapname name of the security map to be updated.
Example 1: Using update-connector-security-map
It is assumed that the connector pool has already been created using the create-connector-pool command.
asadmin> update-connector-security-map --user admin --password adminadmin
--poolname connector-pool1 --addprincipals principal1, principal2,
--addusergroups usergroup1, usergroup2 --removeprincipals principal3, principal4
--removeusergroups usergroup3, usergroup4 securityMap1
Command update-connector-security-map executed successfully
EXIT STATUS
0 command executed successfully
1 error in executing the command
asadmin-create-connector-security-map(1AS), asadmin-delete-connector-security-map(1), asadmin-list-connector-security-maps(1AS)
J2EE 1.4 SDK March 2004 asadmin-update-connector-security-map(1AS)