On Mar 2, 2012, at 14:00, [email protected] wrote: > I'm new to the List. I just installed MacPorts. I am looking for the > ssh-copy-id script in OS X 10.7.3. The installation with: > > |$ sudo bash -c "cvs -d [email protected]:/cvs \ > get -p openssh/contrib/ssh-copy-id> /usr/local/bin/ssh-copy-id" > $ sudo chmod +x /usr/local/bin/ssh-copy-id| > > The installation works, but when using it I get errors: > > ssh-copy-id -i /Users/mac/.ssh/id-dsa/id_dsa.pub [email protected] > > I get: > usr/local/bin/ssh-copy-id: line 1: syntax error near unexpected token > `newline' > /usr/local/bin/ssh-copy-id: line 1: `<!DOCTYPE html>' > > So I gathered that there is something wrong with the script.
You received an HTML file instead of the intended script. Perhaps you downloaded from the wrong location, or there was a problem with the server. > That is why I tried it with MacPorts. It does not exist with: > > sudo port install ssh-copy-id > Error: Port ssh-copy-id not found > > All I can find is: > > https://trac.macports.org/ticket/27049 > > How can install this patch? sudo port install openssl +ssh_copy_id It is unclear to me why we've hidden this script inside a variant -- why the openssl port doesn't install it all the time -- but that's how it currently is. I'm Cc'ing the maintainer of openssl and the person who fixed #27049 to answer this question. _______________________________________________ macports-users mailing list [email protected] http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
