[Watford] Ghosting a Linux HDD

Neel Upadhyaya bahulneel at gmail.com
Fri Feb 15 13:51:46 GMT 2008


Do the same again, create a .ssh directory and store the key there,
the other option is to use the -i option which allows you to specify a
key.

On 15/02/2008, Marcin Kisiala <marcin at mapesbury.com> wrote:
> Hi,
>
>
>  I think I found out the answer for my question: I needed to create user
>  first (useradd...), create .ssh directory, add certificates to
>  authorized_keys file and THEN send this particular user to jail:
>  [root at sftp001 ~]# jk_jailuser -j /home/sftproot adam. I was sending adam
>  to jail and then creating .ssh directory. I am not sure what the
>  difference is but it works (from WinSCP only at the moment) !!!!
>
>  Does anybody know what is the syntax to logon to jail from localhost and
>  include a certificate?
>
>  [root at sftp001 ~]# sftp -oPort=1313 adam at localhost   -----   I need to
>  include a certificate here
>  Connecting to localhost...
>  Permission denied (publickey).
>  Couldn't read packet: Connection reset by peer
>
>
>  Marcin
>
>
>
>  -----Original Message-----
>  From: watford-bounces at mailman.lug.org.uk
>
> [mailto:watford-bounces at mailman.lug.org.uk] On Behalf Of Marcin Kisiala
>  Sent: 14 February 2008 22:20
>  To: watford at mailman.lug.org.uk
>
> Subject: RE: [Watford] Ghosting a Linux HDD
>
>  Hi all,
>
>  I made my first jail in my Centos box work!!!!
>
>  Great stuff.
>
>  I am trying to apply ssh certificates so the jailed users do not have to
>  use passwords. I have not been successful so far. Does anybody know
>  where to place the ssh public keys  (which directory - standard .ssh
>  doen not work) and which config file I need to change to point the
>  incoming login request to the directory where public key is stored?
>
>  Regards
>
>  Marcin
>
>
>  -----Original Message-----
>  From: watford-bounces at mailman.lug.org.uk
>  [mailto:watford-bounces at mailman.lug.org.uk] On Behalf Of Alain Williams
>  Sent: 12 February 2008 17:50
>  To: watford at mailman.lug.org.uk
>  Subject: Re: [Watford] Ghosting a Linux HDD
>
>  On Tue, Feb 12, 2008 at 05:33:05PM -0000, walt wrote:
>  > I am still struggling with this but I am becoming an expert at
>  partioning
>  > and mounting Linux System HDDs.
>  >
>  > One thing I still cant get to work is the grub bootloader.  Alain gave
>  me
>  > some instructions which, unfortunately, I have lost.  I tried using
>  various
>  > instructions I picked up on the web but none if make the disk boot.
>  >
>  > Could I have those instructions again, please.
>
>  Follow the link at the bottom of this mail ... and you will end up at
>  the mail list archives
>  and find:
>
>
>  http://mailman.lug.org.uk/pipermail/watford/2008-February/000592.html
>
>  --
>  Alain Williams
>  Linux Consultant - Mail systems, Web sites, Networking, Programmer, IT
>  Lecturer.
>  +44 (0) 787 668 0256  http://www.phcomp.co.uk/
>  Parliament Hill Computers Ltd. Registration Information:
>  http://www.phcomp.co.uk/contact.php
>  Chairman of UKUUG: http://www.ukuug.org/
>  #include <std_disclaimer.h>
>
>  _______________________________________________
>  Watford mailing list
>  Watford at mailman.lug.org.uk
>  https://mailman.lug.org.uk/mailman/listinfo/watford
>
>  _______________________________________________
>  Watford mailing list
>  Watford at mailman.lug.org.uk
>  https://mailman.lug.org.uk/mailman/listinfo/watford
>
>  _______________________________________________
>  Watford mailing list
>  Watford at mailman.lug.org.uk
>  https://mailman.lug.org.uk/mailman/listinfo/watford
>


-- 
MCSE is to computers as McDonalds Certified Chef is to fine cuisine.



More information about the Watford mailing list