- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: password file for trusted system
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-19-2006 08:39 AM
тАО07-19-2006 08:39 AM
password file for trusted system
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-19-2006 08:45 AM
тАО07-19-2006 08:45 AM
Re: password file for trusted system
/tcb/files/auth/r/root
/tcb/files/auth/o/operator
and so on.
UNIX because I majored in cryptology...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-19-2006 09:30 AM
тАО07-19-2006 09:30 AM
Re: password file for trusted system
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-19-2006 09:37 AM
тАО07-19-2006 09:37 AM
Re: password file for trusted system
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-19-2006 09:38 AM
тАО07-19-2006 09:38 AM
Re: password file for trusted system
Refer to this doc :
http://docs.hp.com/en/T1471-90015/ch01s13.html
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-19-2006 10:57 AM
тАО07-19-2006 10:57 AM
Re: password file for trusted system
--login or su to the user (don't do this as root for easier permission manipulation)
--mkdir .ssh
/opt/ssh/bin/ssh/ssh-keygen -t dsa
at this point, you will be asked to enter a pass phrase. If you do not want pass phrase authentication hit enter without touching any other key. (twice)
now you have two files
$HOME/.ssh/id_dsa
$HOME/.ssh/id_dsa.pub
log out and log back in as root
copy .pub file to the other user's home directory
cp ~myusername/.ssh/id_dsa.pub ~otherusername/.ssh
cd ~otherusername/.ssh
cat id_dsa.pub >> authorized_keys
log out from root
At this point, if you are logged in as myusername and want to ssh to otherusername, just run command
ssh otherusername@hostname
this procedure is valid for local and remote system users. Only difference is, when copying, you need to find a way (rcp, ftp and what other way you have) to transfer the id_dsa.pub file to the remote system.
Also, make sure that any user's .ssh directory has no more open than permission 700 and owned by the username itself.
authorized_keys file must be no more open than 640 and id_dsa file is at most 600. anything more open than this, you will get denied access.
Hope this helps
UNIX because I majored in cryptology...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-19-2006 11:31 AM
тАО07-19-2006 11:31 AM
Re: password file for trusted system
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-25-2006 04:12 AM
тАО07-25-2006 04:12 AM
Re: password file for trusted system
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-25-2006 04:18 AM
тАО07-25-2006 04:18 AM
Re: password file for trusted system
That being said, the issue that causes 95% of problems with SSH is permissions. You must veirfy permissions on the users home directory and .ssh directory. There must NOT be any world write permissions on the directory.
To see more information do an 'ssh -vvv hostname' (that is 3 v's for very very verbose). Also check the /var/adm/syslog/syslog.log file on the system you are ssh'ing to for any errors. They should be logged there.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-25-2006 05:44 AM
тАО07-25-2006 05:44 AM
Re: password file for trusted system
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-25-2006 07:32 AM
тАО07-25-2006 07:32 AM
Re: password file for trusted system
make both the connection initiating user's and the connection receiving user's .ssh directory permissions as 700
make connection receiving user's authorized_keys file permissions as 640
retry
this should work if your keys are correctly copied. having said that, sometimes people try cutting and pasting the key files among several different terminal sessions, especially x-terminals, which I painfully found out that, sometyimes insert extra line breaks. Those extroneus characters are dealbreakers in the passwordless authentication. If you have done such key copying, I'd strongly suggest to check for such typo errors on the side.
hope this helps
UNIX because I majored in cryptology...