News for hackers. Stuff that matters.
Re:Use a config file to SSH into a server by cones688 on Saturday May 03, 2014 @07:50AM (#7690421)
Why does no one ever mention ssh-copy-id?! Is part of Openssh and copies across your default pub key to the server in question.

ssh-copy-id user@server

Edit: Add more info

Re:Use a config file to SSH into a server by Touche on Saturday May 03, 2014 @08:05AM (#7690449)
Probably because the top Google result tells you to do it the way explained in this article. I did it that way for years before finding out about ssh-copy-id.
Re:Use a config file to SSH into a server by emiunet on Saturday May 03, 2014 @10:02AM (#7690777)
In a lot of environments, the SSH servers are listening on some non-standard port. I don't see an option in ssh-copy-id to specify the SSH server port.
Re:Use a config file to SSH into a server by tmikaeld on Saturday May 03, 2014 @07:51AM (#7690425)
not sure, maybe not standard enough?

i always use it myself, so much more comfortable

Re:Use a config file to SSH into a server by bigd on Saturday May 03, 2014 @07:54AM (#7690433)
because is not present in the mac default installation
Re:Use a config file to SSH into a server by cones688 on Saturday May 03, 2014 @08:44AM (#7690547)
Does osx not use Openssh Package? On Fedora here so had always wondered why all these setup guides included this step.. the osx thing might explain it.
Re:Use a config file to SSH into a server by batuhanicoz on Saturday May 03, 2014 @08:09AM (#7690457)
But it is very easy to install if you have Homebrew and I'm guessing everyone who needs ssh-copy-id would already have homebrew installed.

Just do: brew install ssh-copy-id

Re:Use a config file to SSH into a server by Bob_Sheep on Saturday May 03, 2014 @08:13AM (#7690469)
scp is another option if ssh-copy-id is not available