- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: remote copy
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
08-17-2006 01:56 AM
08-17-2006 01:56 AM
remote copy
I have already generate the public key ( ssh-keygen -t rsa ) id_rsa.pub on host A and copy it to host B and rename it to authorized_keys , but when run "ssh host B" , it still ask the password , can advise how to login with null password ? thx
orcdpss@hostB's password
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-17-2006 02:10 AM
08-17-2006 02:10 AM
Re: remote copy
ownership and permissions on home dirctory and .ssh is require.
Quick and dirty procedure:
hosta
scp -o d_rsa.pub hostb:/$PWD/authorized_keys
on host b
scp -o d_rsa.pub hosta:/$PWD/authorized_keys
You will need to generate new public keys, I believe your methodology overwrote the local copy.
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-17-2006 02:18 AM
08-17-2006 02:18 AM
Re: remote copy
http://www.freebsdwiki.net/index.php/SSH:_Passwordless_authentication
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-17-2006 02:23 AM
08-17-2006 02:23 AM
Re: remote copy
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-17-2006 02:34 AM
08-17-2006 02:34 AM
Re: remote copy
The StrictModes keyword, with a value of yes (the default), causes sshd to check the permissions of important files and directories. They must be owned by the account owner or by root, and group and world write permission must be disabled.
For SSH1, StrictModes checks:
* User's home directory
* User's ~/.rhosts and ~/.shosts file
* User's SSH configuration directory, ~/.ssh
* User's SSH ~/.ssh/authorized_keys file
For OpenSSH, StrictModes checks the same files as for SSH1, plus the user's authorization file for SSH-2 connections, ~/.ssh/authorized_keys2.
You could disable StrictModes in /etc/ssh/sshd_config.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-17-2006 03:53 AM
08-17-2006 03:53 AM
Re: remote copy
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-18-2006 01:32 AM
08-18-2006 01:32 AM
Re: remote copy
you can start the sshd on the target server
with sshd -ddd (most verbose debugging).
then on your initiating system issue an
ssh -vvv (level 3 verbosity) and then use that to see if you are getting proper authentication.
Most of the Problems I have had with this issue involve permissions on the home directory or the .ssh directory or on the .authroized_keys file.
Regards,
Scott Palmer