Need help in configuring /etc/host.equiv file. Though i configure the /etc/hosts.equiv file to prevent users from connecting remotely to the local server " -host" in /etc/hosts.equiv file, it allows the users to login from remote machine. we don't have .rhosts file on the local server. Could you please let me know, how to configure the /etc/hosts.equiv file to prevent login from remote hosts.
Also please let me know, how to configure /etc/hosts.equiv to allow login from remote server without entering password.
Also please let me know, how to configure /etc/hosts.equiv to allow login from remote server without entering password.
You don't do this when you use ssh and AIX. You can allow/disallow remote login on a per-user basis using the command
or (which is essentially the same) by modifying the respective stanza in "/etc/security/users", for instance:
If you want to log on to a system/user combination from another system/user combination without using a password then generate ssh-keys and put them into the file ~/.ssh/authorized_keys on the target system.
Example: you want userA@systemA to be able to log on as userB@systemB without using a password.
1. create a ssh-key as userA@systemA using the "ssh-keygen" utility. Enter no password when asked for one (just press <ENTER>)
2. Log on as userB at systemB, create a directory ".ssh" (if it is not already there) and create a file "authorized_keys" in this directory (if it is not there already).
3) copy the content of "~/.ssh/id_rsa.pub" (the name can vary slightly depending on the crypto-algorithm you use) from userA@systemA to the file userB@systemB:~/.ssh/authorized_keys
WARNING: beware of line breaks when copying the key via X-copy&paste. Remove them in case there are some.
4. Save the file. You should now be able to log on from userA@systemA to userB@systemB without passwords. This extends to file transfers with scp.
I hope this helps.
bakunin
Last edited by Yogesh Sawant; 10-21-2010 at 05:09 AM..
Reason: removed a broken tag
Am trying to copy a tar file onto a series of remote hosts and untar it at the destination. Need to do this without having to do multiple ssh.
Actions to perform within a single ssh session via shell script
- copy a file
- untar at destination (remote host)
OS : Linux RHEL6 (3 Replies)
hi all
just installed the netsec.options.tcpwrapper from expansion pack, which used to be a rpm, for my aix 6.1 test box.
it is so unpredictable. i set up the hosts.deny as suggested for all and allow the sshd for specific ip addresses/hostnames.
the tcpdchk says the hosts allowed and... (0 Replies)
Hi,
I have found such these entries in the hosts.equiv file in the AIX (6.1/5.3):
root host123
oracle host5487
Please tell the risks? Can these hosts enter the system without passwords??
should these entries be removed?
Thanks
Naveed (1 Reply)
Hello All,
Let me quickly come down to my problem..
I have a file with following description:
==
root:/me01/tia/filetr ans # ls -lrt DW_NUM_OF_ROWS_TSP.txt
-rwxrwxr-- 1 tiaoas oinstall 43 Jun 07 17:12 DW_NUM_OF_ROWS_TSP.txt
root:/me01/tia/filetrans # aclget DW_NUM_OF_ROWS_TSP.txt
*... (3 Replies)
Hey Guys
Has anyone out here tried configuring AIX as AD clients for authentication?
I have seen redbooks explaining stuffs but has it worked well for anyone?
Thanks
Bala (1 Reply)
Hi All
I am new to Apache and AIX and trying to configure Subversion tool in IBM machine with AIX 5.3.Apache is required for client to connect to Subversion Server with http protocol.
1.Installed Apache 2.2.11 and its dependencies via RPM
2.Configured httpd.conf file.
3.Started "httpd"... (1 Reply)
Hi All,
I need to allow "sftp on ssh" to ALL on the server. How do I modify hosts.allow to accept all incoming sftp?
Thanks for any comment you may add. (4 Replies)
We run two p5 nodes running AIX 5L in a cluster mode (HACMP), both the nodes share external disk arrays. Only the primary node can access the shared disks at a given point of time.
We are in the process of adding two new disks to the disk arrays so as to make them available to the existing... (3 Replies)
Hi,
We have two IBM pSeires servers running IBM AIX. I want to configure the IBM servers to print on the network printer.
Here is the following configuration
IBM Server-I IP Add: 192.168.0.5
IBM Server-II IP Add: 192.168.0.6
Network Printer IP Add: 192.168.0.15
I'm new to IBM AIX OS.... (0 Replies)
Hi All,
I have Network color laser printer which is to be configured in AIX5L.
The Model of the printer is OKI C3200.
Will it is supported with AIX 5..? I could not find any drivers for this.
Will any compatible drivers are available for this printer... I tried with the default drivers hplj-4... (2 Replies)