- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- ssh not valid 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
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
02-13-2007 04:56 AM
02-13-2007 04:56 AM
I have one user and I need to connect in other server. But I created a public key in my server and put in other server and not work...
Its need password
Please
Anybody help me???
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-13-2007 06:09 AM
02-13-2007 06:09 AM
Re: ssh not valid password...
Maybe you forgot to enable key authentication in sshd_server.
regards,
ivan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-13-2007 06:38 AM
02-13-2007 06:38 AM
Solutionwc -l /home/bill/.ssh/authorized_keys
2 /home/bill/.ssh/authorized_keys
So when you create a public key, it must be preserved as 1 line. If the key was created on a local server, you must transfer it to the remote server, either rcp or ftp, or copy-paste. If you copy the key as a file, verify that it arrived OK with the wc -l command. Then simply append the key to the authorized_keys file:
cat mykey >> .ssh/authorized_keys
Then verify the file has the right number of lines (1 for a single key, 2 for 2 keys, etc).
If you want to copy-paste the key, it gets fairly complicated. The reason is that your terminal emulator won't display exactly what is in the key. Most emulators will show only 80 or perhaps 132 characters in width, then either overwrite the last character (losing text) or automatically put the next characters on the next line(s). So you copy the text by highlighting it -- but the emulator you are using will very likely add a newline character after every line of characters. One exception is WRQ's Reflection for HP (NOT Reflection/X) where the option: Concatenate Wrapped Lines = yes will preserve long lines to the clipboard. You'll have to experiment with your emulator.
Once you copied a single line, you start vi on the remote machine and turn off end of line wrap with this commands:
:set noai wm=0
If the authorized_keys file already has keys, type G to go to the last line, then o to add a new line. Paste the line and type escape to finish. Before you close the file, press j and k to go up and down in the file. The cursor MUST move 1 key at a time, NOT 1 line at a time. Exit from the editor and verify that the file has the right number of lines with wc -l.
Very long lines require special handling, a case of what you see is not what you get.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-20-2007 06:26 PM
02-20-2007 06:26 PM
Re: ssh not valid password...
Asif Sharif
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-22-2007 12:24 AM
02-22-2007 12:24 AM
Re: ssh not valid password...
I fixed my problem, was only permission in my home_directory,
The permission correcte is 750.
Thanks and points for all
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-22-2007 12:25 AM
02-22-2007 12:25 AM