LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
Search this Thread
Old 07-03-2012, 08:22 PM   #1
jeremy_n_capps
LQ Newbie
 
Registered: Dec 2011
Distribution: Ubuntu 12.04
Posts: 2

Rep: Reputation: Disabled
Trouble configuring LTSP Autologin with ssh-keys


Running LTSP Server (from Ubuntu repositories) on Ubuntu 12.04.

I had successfully configured LTSP for Autologin using ssh-keys. Today I decided that I was going to change my network's internal ip address range. Previously the address range was in the 192.168.2.0/24 subnet. For no real good reason, other that I am a tad obsessive compulsive about some things, I changed to the 10.0.0.0/8 subnet. I am well aware that I will never use that many ips. I play around with VirtualBox a great deal, and it is generally my practice to allow my dhcp server to automatically assign addresses to these virtual machines. The idea was that I would configure dhcpd to issue ips to these virtual machines (and any wireless devices that my family/friends bring into the home) in a block off to themselves and not clutter up the space around the machines that I do some web hosting off of.

I drew from the guide on Ubuntu's website to do the original configuration.

When using LTSP's autologin with ssh-keys, the thinclient used to get assigned a login name of 'ltspx' where x is the number in the last octet of the ip address. For example, say the thinclient's ip address was 192.168.2.3. It's login name would then be 'ltsp3' It was then easy to create a user on the LTSP server named 'ltsp3' and do the necessary ssh configuration to allow authentication via ssh-keys. Let me repeat for clarity, this was a working configuration that had been banging along providing my children with a nice cheap computer for about 7 months now. (If it ain't broke, don't fix it, huh?)

The problem I am having is figuring out what logon name to use now that the thin client is being assigned an address from the 10.0.0.0/8 subnet. I can login using username/password just fine. It is only a no-go when I switch to trying to use ssh-keys again (I would just stick with the username/password login, but my children are young and only one is able to read/write well enough to remember and type said username/passwords).

I am about cross-eyed from pouring over configuration files, and I have even rebuilt the client in the off-chance that that may fix the problem (it did not). I read that it was necessary to do 'ltsp-update-sshkeys' and 'ltsp-update-image --arch i386' after changing the server's ip, but that has made no noticable difference.

From syslog:
nbd_server[1939]: connect from x.x.x.x, assigned file is /opt/ltsp/images/i386.img
nbd_server[1939]: Can't open authorization file (null) (Bad address).
 
Old 07-04-2012, 12:23 AM   #2
jeremy_n_capps
LQ Newbie
 
Registered: Dec 2011
Distribution: Ubuntu 12.04
Posts: 2

Original Poster
Rep: Reputation: Disabled
Rebuilt the image again, and generated new ssh-keys again. Everything worked this time. Guess just walking away for a bit was all I needed.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
runremote script for passwordless ssh keys + LTSP shishirkotkar Linux - Networking 3 04-12-2008 12:07 PM
Trouble Configuring SSH Server sploit Linux - Networking 8 08-09-2005 10:32 PM
Trouble configuring SSH publickey pioniere Linux - Security 4 02-25-2005 02:20 PM
Configuring SSH to accept only keys (already have keys) fr0st Linux - Security 3 11-04-2003 03:31 AM
Having trouble configuring SSH Travis86 Linux - Networking 3 06-19-2003 09:42 PM


All times are GMT -5. The time now is 08:34 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration