Truth
2016-01-24 11:04:22 UTC
Hi,
I've installed a LTSP-PNP fat client (version 5.5.5-1~bpo8+1) on Debian
8.2 (i386) and I would like to mount (on the client) an additional
device during boot the same way as the home-directory is mounted.
From /etc/mtab I can see that the home-directory is mounted via sshfs:
server:/home/truth on /home/truth type fuse.sshfs
(rw,nosuid,nodev,relatime,user_id=0,group_id=0,allow_other)
I found out that it is possible to modify the clients fstab using the
following command in lts.conf:
FSTAB_1="***@server:/home2/truth /home2/truth fuse.sshfs
defaults,_netdev,delay_connect,idmap=user,allow_other,
identityfile=/home/truth/.ssh/id_rsa 0 0"
This works fine if I created (via ssh-keygen) a rsa key pair and the
corresponding authorized_keys.
However, if I look into /etc/mtab the mount of home2 looks a little
different (compared to home, see above):
***@server:/home2/truth on /home2/truth type fuse.sshfs
(rw,relatime,user_id=0,group_id=0,allow_other)
The output of 'systemctl status ssh.service' (on the server) looks like
this:
Server listening on 0.0.0.0 port 22.
Server listening on :: port 22.
Address 192.168.67.64 maps to localhost, but this does not map back
to the address - POSSIBLE BREAK-IN ATTEMPT!
Accepted password for truth from 192.168.67.64 port 43874 ssh2
pam_unix(sshd:session): session opened for user truth by (uid=0)
Address 192.168.67.64 maps to localhost, but this does not map back
to the address - POSSIBLE BREAK-IN ATTEMPT!
Accepted publickey for truth from 192.168.67.64 port 43880 ssh2: RSA
xx:xx:xx: ...
pam_unix(sshd:session): session opened for user truth by (uid=0)
So, how can I mount /home2 the same way as /home?
Many thanks in advance,
Truth
------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
_____________________________________________________________________
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
I've installed a LTSP-PNP fat client (version 5.5.5-1~bpo8+1) on Debian
8.2 (i386) and I would like to mount (on the client) an additional
device during boot the same way as the home-directory is mounted.
From /etc/mtab I can see that the home-directory is mounted via sshfs:
server:/home/truth on /home/truth type fuse.sshfs
(rw,nosuid,nodev,relatime,user_id=0,group_id=0,allow_other)
I found out that it is possible to modify the clients fstab using the
following command in lts.conf:
FSTAB_1="***@server:/home2/truth /home2/truth fuse.sshfs
defaults,_netdev,delay_connect,idmap=user,allow_other,
identityfile=/home/truth/.ssh/id_rsa 0 0"
This works fine if I created (via ssh-keygen) a rsa key pair and the
corresponding authorized_keys.
However, if I look into /etc/mtab the mount of home2 looks a little
different (compared to home, see above):
***@server:/home2/truth on /home2/truth type fuse.sshfs
(rw,relatime,user_id=0,group_id=0,allow_other)
The output of 'systemctl status ssh.service' (on the server) looks like
this:
Server listening on 0.0.0.0 port 22.
Server listening on :: port 22.
Address 192.168.67.64 maps to localhost, but this does not map back
to the address - POSSIBLE BREAK-IN ATTEMPT!
Accepted password for truth from 192.168.67.64 port 43874 ssh2
pam_unix(sshd:session): session opened for user truth by (uid=0)
Address 192.168.67.64 maps to localhost, but this does not map back
to the address - POSSIBLE BREAK-IN ATTEMPT!
Accepted publickey for truth from 192.168.67.64 port 43880 ssh2: RSA
xx:xx:xx: ...
pam_unix(sshd:session): session opened for user truth by (uid=0)
So, how can I mount /home2 the same way as /home?
Many thanks in advance,
Truth
------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
_____________________________________________________________________
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