- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: User-id with chroot prompt for password!
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
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-20-2009 02:47 AM
тАО07-20-2009 02:47 AM
Re: User-id with chroot prompt for password!
upgrade done as you suggested, and now bove are same level. BUT STILL THE SAME.
Regards,
Ahmed
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-20-2009 02:48 AM
тАО07-20-2009 02:48 AM
Re: User-id with chroot prompt for password!
> debug2: key_type_from_name: unknown key type '-----BEGIN'
This looks as if you're trying to use a key
file in SSH2 format with OpenSSL software.
> [...] I use the key-gen.
Not a useful description of what you did or
where you did it.
> Please re-generate [...]
> debug1: Next authentication method: publickey
> debug1: Offering public key: /home/machnet/.ssh/id_rsa
> debug1: Authentications that can continue: publickey,password,keyboard-interactive
> debug1: Trying private key: /home/machnet/.ssh/id_dsa
> debug1: Next authentication method: keyboard-interactive
Apparently, someone does not like your (new?)
key data. Knowing nothing about how or where
your keys were generated, it's hard to guess
where you went wrong. It's also not entirely
clear to me what the OS or SSH/SFTP software
is on both of the systems involved.
There are already dozens of "SSH (or SFTP)
doesn't work" threads in this forum. You
might do a search, and then read through some
of them.
> In most cases this is file/directory
> permissions.
> Most of the time it would be the permission
> issue.
In my experience, in most cases where the
problem is permissions, some error message
mentions permissions.
> I feel the problem is just because of the
> version mismatch.
The "version mismatch" with what?
Perhaps your keyboard or display is dirty.
Either would seem to be about as likely as a
"version mismatch" to cause a problem like
this.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-20-2009 03:32 AM
тАО07-20-2009 03:32 AM
Re: User-id with chroot prompt for password!
The userid "machnet" I'm using the home directory is linked to another directory:
lrwxr-xr-x 1 root sys 22 Jul 15 09:50 machnet -> /appl/rate/DanNet/home
And that directory has permission:
drwxrwxrwx 17 machnet users 16384 Jul 20 14:22 home
And in that directory .ssh directory has permission:
drwx------ 2 machnet users 8192 Jul 20 11:03 .ssh
And in .ssh permissions for key...:
-rw-r--r-- 1 machnet users 1013 Jul 20 13:23 authorized_keys
hope all permissions are clear.
Ahmed
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-20-2009 05:29 AM
тАО07-20-2009 05:29 AM
Re: User-id with chroot prompt for password!
"And that directory has permission:
drwxrwxrwx 17 machnet users 16384 Jul 20 14:22 home"
NO...755 there, as noted above. If you can't set it that way, look at
"StrictModes no" in the sshd_config file. That will loosen the requirement, but reduces security.
TWO:
If you're still getting this:
debug2: key_type_from_name: unknown key type '-----END' debug2: key_type_from_name: unknown key type '-----BEGIN'
then you still have an issue with the keys or whatever created them.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-20-2009 10:05 PM
тАО07-20-2009 10:05 PM
Re: User-id with chroot prompt for password!
finally I manage to solve it, I remove the link directory and use the directory need for files to transfer to as a home directory.
As most of you mention it is to do with permission, hope the debuging be improve to show this kind of errors.
Regards,
Ahmed
- « Previous
-
- 1
- 2
- Next »