Question about setting up ssh
Digimer
linux-5ZoueyuiTZhBDgjK7y7TUQ at public.gmane.org
Fri Jun 11 23:49:24 UTC 2010
On 10-06-11 07:20 PM, Walter Dnes wrote:
> I now have 4 linux computers; my main PC, the "hot backup", a netbook,
> and one dedicated to PVR (still setting it up). I run into situations
> where I want to pass stuff back and forth. I want to implement the
> following solution...
>
> * collect the "id_rsa.pub" files from all users, *INCLUDING ROOT*
> * concatenate all these files together
> * store the resulting file as "authorized_keys" in all the *REGULAR*
> users' ~/.ssh directories
> * but not in root directories
> * set "PasswordAuthentication no" in /etc/ssh/sshd_config on all machines
This shouldn't be needed. So long as you generated the source
user at machine's key RSA keys without a pass-phrase and having the
'~/.ssh/id_rsa.pub' keys in your target user at machine's
'~/.ssh/authorized_keys' file, the password won't be asked.
> This should allow all users to log in to all other machines, and
> "su -" to root if necessary. Transferring files between root acounts
> will be a two-step process, but that's OK. On paper, it looks like
> it'll work. Am I missing anything obvious?
Sounds like a plan.
--
Digimer
E-Mail: linux-5ZoueyuiTZhBDgjK7y7TUQ at public.gmane.org
AN!Whitepapers: http://alteeve.com
Node Assassin: http://nodeassassin.org
--
The Toronto Linux Users Group. Meetings: http://gtalug.org/
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://gtalug.org/wiki/Mailing_lists
More information about the Legacy
mailing list