The UNIX and Linux Forums  


Go Back   The UNIX and Linux Forums > Operating Systems > HP-UX
.
google unix.com



HP-UX HP-UX (Hewlett Packard UniX) is Hewlett-Packard's proprietary implementation of the Unix operating system, based on System V.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
login password.... venkatramana UNIX for Dummies Questions & Answers 1 12-07-2007 09:03 AM
Root login password pmpx SUN Solaris 1 02-23-2006 03:03 PM
login & password cab UNIX for Advanced & Expert Users 8 08-01-2003 04:33 PM
Password change at login???? rrivas UNIX for Dummies Questions & Answers 4 08-12-2002 07:02 PM
root login password subho77 IP Networking 4 01-31-2002 11:33 PM

 
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1 (permalink)  
Old 04-08-2008
alfredo alfredo is offline
Registered User
  
 

Join Date: Jan 2008
Posts: 18
login ssh without password

There is two server, server A and server B. In server A, I would like to login ssh to server B without typing password. (no need for ssh2)
Therefore, I do the followings:

Server A:
>cd ~
>mkdir .ssh
>ssh-keygen -t dsa -f .ssh/id_dsa
Then copy the file id_dsa.pub to Server B

Server B:
>cd ~
>mkdir .ssh
>cat id_dsa.pub >> ~/.ssh/authorized_keys
>chmod 640 authorized_keys
>rm id_dsa.pub

However, in server A, every time I login server B with ssh. It still prompts password.
Is there anything else needed to be setup?
 

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 08:30 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0