- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: SSh authorization not working
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
Forums
Discussions
Discussions
Discussions
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
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
10-02-2009 04:35 PM
10-02-2009 04:35 PM
SSh authorization not working
I generaate ssh key in both dsa and rsa but after exported to destination server.
it is not working it giving permission deny.
NOTE: the home directory on destination server is datamover
and in source i m using diffrent id to generate ssh key..
Pls someone help me how to login without password in destination server....
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-02-2009 04:44 PM
10-02-2009 04:44 PM
Re: SSh authorization not working
Actual commands? Actual error messages?
Descriptions of the systems involved?
> NOTE: the home directory on destination
> server is datamover
I don't understand this.
> and in source i m using diffrent id to
> generate ssh key..
I don't understand this.
There are _very_ many old threads in this
forum related to SSH configuration. Perhaps
you should look at some of them.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-03-2009 10:39 AM
10-03-2009 10:39 AM
Re: SSh authorization not working
drwx------ .ssh
The rights on the file should be:
-rw-r--r-- authorized_keys
It doesn't matter if it is the same or another user.
If you are user1 og client and you wants to change to user2 on system2 and you private key is called key_server_2.
# ssh -i key_server_2 -l user2 system2
Info:
-i identity_file Selects a file from which the identity (private key) for RSA or DSA authentication is read
-l login_name
And it will work :-)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-03-2009 04:25 PM
10-03-2009 04:25 PM
Re: SSh authorization not working
Thx for ur response but my query is
users home directory in storage box for another user is same server i am able to login without password whose home directory is local FS.
so i need to confirm if user Home directory is in auto_fs i.e in storage box does it effect his login...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-04-2009 04:26 AM
10-04-2009 04:26 AM
Re: SSh authorization not working
This can make it impossible for sshd (which must run as root to be able to assign incoming sessions to correct user accounts) to read the authorized_keys file if the permissions are too tight.
In this case, the permissions of the user's home directory, the .ssh subdirectory and the authorized_keys file must allow everyone to read the authorized_keys file.
Writing to those files and directories must still be prohibited: otherwise sshd detects there is a possibility that another user is attempting to sabotage the security of this user.
So, the permissions for the NFS-based home directories: (question marks will indicate permissions sshd does not care about, and you can choose them as you wish)
For the home directory of the user: drwx?-x?-x (i.e. chmod 711, 751 or 755)
For the .ssh subdirectory:
drwx?-x?-x (i.e. chmod 711, 751 or 755)
For the authorized_keys file:
-rw-r--r-- (chmod 644)
The private key files must always be protected -rw------- (chmod 600).
MK