ubuntu 12.10/linux mint 14 ssh-copy-id doesn't work and returns Ambiguous output redirect

Posted by Marc on Server Fault See other posts from Server Fault or by Marc
Published on 2012-12-14T14:18:22Z Indexed on 2013/10/26 9:57 UTC
Read the original article Hit count: 274

Filed under:
|
|
|

I recently got a new computer and I'm trying to use ssh-copy-id to put my keys on another server so I can login without password. but when I try

ssh-copy-id -i ~/.ssh/id_rsa.pub user@server

and after inputting the correct password it returns

Ambiguous output redirect.

There are no other messages after that. I thought it was maybe just Ubuntu 12.10 so I installed Linux Mint 14 and sure enough exact same thing happens.

I've tried removing authorized_keys from the remote server but that didn't change anything.

© Server Fault or respective owner

Related posts about ubuntu

Related posts about ssh