Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Sat Mar 16, 2013 10:03 pm 
Offline
Newbie

Joined: Sat Mar 16, 2013 5:43 pm
Posts: 3
Trying to set up a Stackscript and failing at it even though I've tried numerous combinations. The rsa handshake seems to work as I get the "yes/no" question upon 1st connection. Am I correct that the user key i.e. used in the field below is just the code copied from the id_rsa.pub file just after "ssh-rsa" to the characters before "== Fedora Main Box"? I seemed to have no trouble when I installed the VPS manually from the CLI. But of course in that case I was simply scp'ing a pub file. I have ssh set up to restart after turning off root login and changing pubkeyauthentication to "Yes".

TIA, V.

# <UDF name="deploy_sshkey" label="Public Key for User" default="" />


Top
   
PostPosted: Sun Mar 17, 2013 11:14 am 
Offline
Senior Member
User avatar

Joined: Wed Mar 17, 2004 4:11 pm
Posts: 554
Website: http://www.unixtastic.com
Location: Europe
Surely you need the whole public key line including the 'ssh-rsa' part. SSH will not know what key type it is otherwise.


Top
   
PostPosted: Sun Mar 17, 2013 1:44 pm 
Offline
Senior Member
User avatar

Joined: Tue Nov 24, 2009 1:59 pm
Posts: 362
And the = characters at end too when you have them, it's base64 padding. Everything until the whitespace.

_________________
rsk, providing useless advice on the Internet since 2005.


Top
   
PostPosted: Sun Mar 17, 2013 1:48 pm 
Offline
Newbie

Joined: Sat Mar 16, 2013 5:43 pm
Posts: 3
thanks, up and running. now on to automated setup of a Nginx virtual host, SSL and password protecting a private dir. Thanks gang


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 4 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group