[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Sheflug] headless



Barrie Bremner writes:

 > As baz, on flux.localdomain:
 > 
 > ssh-keygen
 > (when prompted for password/confirmation hit return)
 > scp ~/.ssh/identity.pub root [at] noodles.localdomain:~/.ssh/authorized_keys
 > (enter the password for root on "noodles")
Only do this once, by the way - it just generates the public/private
keys for the RSA authorization, and copies the public key across to
the target machine.

After you've done all this lot, you can copy the public key
(~/.ssh/identity.pub to as many places as you want).

 > ssh root [at] noodles
 > 
 > (Viola! Root prompt on noodles)...
 > 
 > It's all in man ssh / man sshd
 > 
 > About the only thing that throws a spanner in the works is the file
 > permissions on the various files - check the man pages, but it should
 > all be setup OK as standard.
 > 
 > I dunno, am I missing something that everyone else hasn't commented
 > on, or have I got the wrong end of the stick (again)?
 > 
 > Cheers.
 > 
 > Baz.
 > -- 
 > Barrie J. Bremner
 > 
 > email: baz at barriebremner.com | OpenPGP ID: 5164F553
 > 
 > http://barriebremner.com/
 > [Contact information available at website]
 > 
 >    "Linux? Is that some kind of MacOS?"
 >       -- BT technical support
 > 
 > ---------------------------------------------------------------------
 > Sheffield Linux User's Group - http://www.sheflug.co.uk
 > To unsubscribe from this list send mail to
 > - <sheflug-request [at] vuw.ac.nz> - with the word 
 >  "unsubscribe" in the body of the message. 
 > 
 >   GNU the choice of a complete generation.
 > 
 > 

-- 
Barrie J. Bremner

email: baz at barriebremner.com | OpenPGP ID: 5164F553

http://barriebremner.com/
[Contact information available at website]

   "Linux? Is that some kind of MacOS?"
      -- BT technical support

---------------------------------------------------------------------
Sheffield Linux User's Group - http://www.sheflug.co.uk
To unsubscribe from this list send mail to
- <sheflug-request [at] vuw.ac.nz> - with the word 
 "unsubscribe" in the body of the message. 

  GNU the choice of a complete generation.