|
Search Forums:
|
|||||||
| Forums | Register | Forum Rules | Linux and Unix Links | Man Pages | Albums | FAQ | Users | Calendar | Search | Today's Posts | Mark Forums Read |
| UNIX for Advanced & Expert Users Expert-to-Expert. Learn advanced UNIX, UNIX commands, Linux, Operating Systems, System Administration, Programming, Shell, Shell Scripts, Solaris, Linux, HP-UX, AIX, OS X, BSD. |
|
|
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
||||
|
||||
|
How to setup a host based Authentication for a server and a client,or for a server and more clients?
Can someone help me in this please....... |
| Sponsored Links | |
|
|
|
#2
|
||||
|
||||
|
As part of ssh or just as a tcp wrapper like using /etc/hosts.allow and /etc/hosts.deny??
|
| Sponsored Links | ||
|
|
|
#3
|
||||
|
||||
|
As a part of ssh....
Thanks for your assistance in advance.. |
|
#4
|
||||
|
||||
|
From man page of sshd_config: Code:
HostbasedAuthentication
Specifies whether rhosts or /etc/hosts.equiv
authentication together with successful public key
client host authentication is allowed (hostbased
authentication). This option is similar to
RhostsRSAAuthentication and applies to protocol version
2 only. The default is ``no''.So edit your /etc/ssh/sshd_config accordingly, setting HostbasedAuthentication yes, restart sshd and play arround with filling /etc/hosts.equiv with names/ip-addresses. |
| Sponsored Links | |
|
|
#5
|
||||
|
||||
|
Quote:
does this applies for both client and server? |
| Sponsored Links | |
|
|
#6
|
||||
|
||||
|
No worries. It applies to any machine where a sshd is running. ssh_config is for client config and sshd_config is for server config. If there is a acting as a server, you have to edit it's /etc/ssh/sshd_config and restart it's sshd, plus editing the hosts.equiv to your needs. If you come from another box like a pc with putty or ssh client from a linux box for example, you do not have to edit or restart anything on the client.
|
| Sponsored Links | |
|
|
#7
|
||||
|
||||
|
Quote:
i did the configurations, i enabled the HostbasedAuthentication yes in both the ssh_config of client and sshd_config of server. Then i added the the client hostname and ip in the following manner in etc/hosts.equiv file of the server. clienthost ip but when i gave ssh server from the client it is asking for the password. Please correct me if i were wrong in any of the above mentioned scenarios... |
| Sponsored Links | ||
|
|
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| PAM authentication failure | capibolso | UNIX for Advanced & Expert Users | 1 | 12-16-2008 10:25 PM |
| passphrase and ssh authentication | Minguccio75 | UNIX for Advanced & Expert Users | 1 | 01-19-2007 06:27 AM |
| Netcat with Authentication? | pileofrogs | UNIX for Advanced & Expert Users | 1 | 12-04-2006 09:48 AM |
| How to find authentication log | qais | UNIX for Dummies Questions & Answers | 1 | 11-14-2006 09:08 AM |
| SSH key authentication | stancwong | UNIX for Dummies Questions & Answers | 3 | 02-24-2006 05:19 AM |
|
|