ssh-copy-id

ssh-copy-id

Post by jny0 » Thu, 16 Dec 2010 19:54:05



Hi,


this point on I don't need to enter a password to ssh into the host.
This is great for auto-update scripts, as they can't enter passwords.

From my embedded Linux system, I can ssh-keygen -t rsa, then ssh-copy-

Permission denied (publickey,password).
error message.

What's the difference?  Why does the host always kick the embedded
system out, but not the Linux box?

 
 
 

ssh-copy-id

Post by Chris Davie » Fri, 17 Dec 2010 02:28:18



> What's the difference?  Why does the host always kick the embedded
> system out, but not the Linux box?

Does the same user account on your target host accept ssh keys from any
other system? (If not, it's possibly a permissions issue on that target
host.)

Chris

 
 
 

1. can ssh-agent work between ssh-2.3 and ssh-3.5

I have a Sun workstation copying files from a couple of Sun servers.
ssh-agent is used to avoid providing password when scp is done from crontab.
The ssh version on the workstation is 2.3. But I've just upgraded one server
to ssh-3.5, and seems ssh-agent is not working when trying to communicate
with this high version ssh machine.

Here's what I get:
warning: Authentication failed.
Disconnected; authentication cancelled by user (Authentication cancelled by
user.).
scp: warning: ssh2 client failed to authenticate. (or you have too old ssh2
installed, check with ssh2 -V)

Does any one know whether it's possible that ssh-agent running on ssh-2.3
can get authenticated on ssh-3.5? Do I need to upgrade the workstation as
well ( that will mean all other servers need to be upgraded as well, which
is not quite likely at this time ) If not, how can I set up the ssh-agent?

Thanks all

2. AHA 2940UW Pro

3. Segmentation error when I copy process id (PID) using kvm_nextproc(kd)

4. little shell/script question

5. copy preserving owner id

6. Problem Booting up RH 7.1 after Using Linuxconf

7. Anybody have a script to copy SSH keys to all of my other hosts?

8. ksh function return?

9. Solaris 2.6 (sparc): FREE copy of compiled ssh package

10. set user id and set group id bits

11. owner id and group id change after mount the new disk

12. Finding out User Id given Process id

13. Host IDS and a Network IDS