Hostbased Authentication


 
Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users Hostbased Authentication
# 8  
Old 09-14-2010
Hammer & Screwdriver

Thanks for the help guys...

I got it worked, one of my friend helped me...we just need to add the
rsa - public key of the client to the authorized_keys file in the .ssh directory of the user in the server..

u can do it by the following commands

ssh-keygen -t rsa ---- this will create the rsa key in the client.


create a directory called ".ssh" in the home directory of "root" in the server, if it is not present.


cat /root/.ssh/id_rsa.pub | ssh root@<ip> 'cat >> /root/.ssh/authorized_keys'



That's it..............
# 9  
Old 09-14-2010
By your description you didn't set up Host Based Authentication, but plain old simple Public Key Authentication. BIG difference if one know what these 2 terms really mean, and as such it's no wonder our solution was different from what you wanted.
# 10  
Old 09-14-2010
Bug

Quote:
Originally Posted by pludi
By your description you didn't set up Host Based Authentication, but plain old simple Public Key Authentication. BIG difference if one know what these 2 terms really mean, and as such it's no wonder our solution was different from what you wanted.
Thanks man...
As i have posted before iam a newbie to linux...
i was trying to learn hostbasedauthentication, one of my friend offered this solution for a passwordless authentication, i assumed it was hostbased.
Thanks for your reply, so that i came to know the difference between the public key authentication and hostbasedauthentication...
Thanks a lot ....
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. SuSE

Authentication with PAM

Hello all, I recently updated PAM policy files (pam_authz.policy) on HP-UX Servers with AD groups involving allowing and denying the certain groups.. Could anyone tell me what is the equivalent mechanism in SLES(Linux)? Is it possible to allow/deny AD group access with the SLES LDAP... (0 Replies)
Discussion started by: lcclaj0
0 Replies

2. UNIX and Linux Applications

Authentication in Jenkins

What do you guys use for authentication on Jenkins? We are currently not using anything and I am attempting to use AD, however when I have it enabled, the jenkins CLI does not allow my slaves to register anonymously.. which is understandable, however I cannot find the proper syntax for the... (0 Replies)
Discussion started by: s ladd
0 Replies

3. Red Hat

Authentication Failed

Hi everyone ... ( Linux Cent OS ) i cant login as root user in my lab machine ... i did give correct root and root passwd ..but it showing Authentication Failed ... plz help me (4 Replies)
Discussion started by: coolboys
4 Replies

4. UNIX for Advanced & Expert Users

PAM authentication.

I have applied pam authentication for local users as highlighted in below file. # cat /etc/pam.d/system-auth #%PAM-1.0 # This file is auto-generated. # User changes will be destroyed the next time authconfig is run. auth required pam_env.so auth sufficient pam_unix.so... (0 Replies)
Discussion started by: pinga123
0 Replies

5. Red Hat

samba authentication

Hi friends, I have a requirement is to authenticate samba users seperately. 1. Linux samba server 2. Linux Client 3. Need to mount samba share on linux client permanently without providing credentials. 4. when user is accessing that mount point need to be prompted for credentials. ... (1 Reply)
Discussion started by: arumon
1 Replies

6. Linux

evolution authentication

We are using fedora 8 on my system in that we are using evolution for checking mail we have configured mail server on fedora 8 in another system earlier when i was open the evolution it was asking password for authentication from last two days whenever i open the evolution it was not asking... (1 Reply)
Discussion started by: ambavaram
1 Replies

7. Solaris

authentication problem

Sir, We are using windows amd solaris systems on my company when ever we are sharing the files from windows to solaris it was asking authentication as a administrator i can share the if normal user wants to share the files from windows to solaris every time i have to go and type the username and... (1 Reply)
Discussion started by: ambavaram
1 Replies

8. Forum Support Area for Unregistered Users & Account Problems

authentication of new user

I recently registered, but never received the email with the instructions for authenticating my account. I confirmed my email in in the profile looks correct. I found and clicked the link to resend the authentication email. I clicked that link two days ago and I still don't have the email. It... (1 Reply)
Discussion started by: dwallace
1 Replies

9. UNIX for Advanced & Expert Users

Netcat with Authentication?

I'd like to do a data transfer without encryption but with a guarantee that my data comes from a legit source. I'm thinking something that uses a public key scheme to sign the data. Does anyone know of something like that? Thanks! -Pileofrogs (1 Reply)
Discussion started by: pileofrogs
1 Replies

10. Cybersecurity

Password Authentication

I would like to know how to validate an unix password from shell script (If is possible) Thanks very much ;) (3 Replies)
Discussion started by: juan_o_morillo
3 Replies
Login or Register to Ask a Question