On 2014-08-01, Russell Brown wrote:
> I've got the client booting (PXE) and working (using NFS root) but need
> to be able to ssh onto it to check X setups, see what's on the USB bus,
> send tests to the parallel port etc etc.  All the normal stuff.

I'm curious if you need to "check X setups" because they're not working?


> If I try to ssh onto the client from the server, I get
>
>>"Read from socket failed: Connection reset by peer".  
>
> Port 22 is open on the client and sshd is running.
>
> Using a shell session on the client and trying 'ssh -l root localhost' I
> get:
>
>>Could not create directory: '/root/.ssh'.
>>Read from socket failed: Connection reset by peer.
>
> /root is a directory but I can't access it, getting 'Permission Denied'
> (even though I'm UID 0 on the client).

It sounds like you don't have a writeable filesystem configured. What's
the output of:

  cat /proc/cmdline
  ls -ld /root
  df -h

on a client?

How did you create the chroot? Did you copy it over from another server?


> I've Googled and tried teaking lts.conf adding:
>
>>RCFILE_01="ssh-keygen -A"
>>LTSP_RW_DIRS_EXTRA      = /root /etc/ssh
>>LTSP_COPY_DIRS_EXTRA    = /root /etc/ssh
>
> but that makes no difference.

RW_DIRS/COPY_DIRS/ltsp-bindmounts was essentially obsoleted in wheezy,
as the whole filesystem should be made writeable using aufs.


live well,
  vagrant

Attachment: pgpesR6kTziIF.pgp
Description: PGP signature

------------------------------------------------------------------------------
Want fast and easy access to all the code in your enterprise? Index and
search up to 200,000 lines of code with a free copy of Black Duck
Code Sight - the same software that powers the world's largest code
search on Ohloh, the Black Duck Open Hub! Try it now.
http://p.sf.net/sfu/bds
_____________________________________________________________________
Ltsp-discuss mailing list.   To un-subscribe, or change prefs, goto:
      https://lists.sourceforge.net/lists/listinfo/ltsp-discuss
For additional LTSP help,   try #ltsp channel on irc.freenode.net

Reply via email to