[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [Jailkit-users] how-to add ftp access to ssh only jail?
From: |
Josh Cole |
Subject: |
RE: [Jailkit-users] how-to add ftp access to ssh only jail? |
Date: |
Thu, 7 May 2009 16:40:12 -0500 |
I copied over /etc/services to the jail and we seem to be all set.
Thanks,
Josh
-----Original Message-----
From: address@hidden
[mailto:address@hidden On
Behalf Of Josh Cole
Sent: Thursday, May 07, 2009 4:14 PM
To: address@hidden
Subject: RE: [Jailkit-users] how-to add ftp access to ssh only jail?
/etc/services shows:
# 21 is registered to ftp, but also used by fsp
ftp 21/tcp
Josh
-----Original Message-----
From: address@hidden
[mailto:address@hidden On
Behalf Of Josh Cole
Sent: Thursday, May 07, 2009 4:10 PM
To: address@hidden
Subject: RE: [Jailkit-users] how-to add ftp access to ssh only jail?
I see my mistake, but it still not working after running:
address@hidden ~]# jk_init -j /home/chrootusers/ netbasics
Josh
-----Original Message-----
From: address@hidden
[mailto:address@hidden On
Behalf Of Josh Cole
Sent: Thursday, May 07, 2009 4:07 PM
To: address@hidden
Subject: RE: [Jailkit-users] how-to add ftp access to ssh only jail?
Oliver,
Thanks for the speedy reply, I really appreciate it.
address@hidden ~]# jk_cp -j /home/chrootusers/ netbasics
ERROR: netbasics does not exist
Josh
-----Original Message-----
From: address@hidden
[mailto:address@hidden On
Behalf Of Olivier Sessink
Sent: Thursday, May 07, 2009 3:35 PM
To: address@hidden
Subject: Re: [Jailkit-users] how-to add ftp access to ssh only jail?
Josh Cole wrote:
> Oliver,
>
> I finally had some time to use your suggestions below...
>
> When using jk_cp to copy over the ftp client to the jail and its
> returning the following error:
>
> address@hidden home]# jk_cp -j /home/chrootusers /usr/bin/ftp
> ldconfig: Can't open configuration file /etc/ld.so.conf: No such file
or
> directory
>
> address@hidden home]# cat /etc/ld.so.conf
> include ld.so.conf.d/*.conf
perhaps this will help:
jk_cp -j <jail> /etc/ld.so.conf.d/
> address@hidden home]# cat /etc/redhat-release
> CentOS release 5.3 (Final)
>
> I am able to ssh into the server but get the following error as well:
>
> bash-3.2$ ftp localhost
> ftp: ftp/tcp: unknown service
try jk_init -j <jail> netbasics
regards,
Olivier
_______________________________________________
Jailkit-users mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/jailkit-users
_______________________________________________
Jailkit-users mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/jailkit-users
_______________________________________________
Jailkit-users mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/jailkit-users
_______________________________________________
Jailkit-users mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/jailkit-users
- RE: [Jailkit-users] how-to add ftp access to ssh only jail?, Josh Cole, 2009/05/07
- Re: [Jailkit-users] how-to add ftp access to ssh only jail?, Olivier Sessink, 2009/05/07
- RE: [Jailkit-users] how-to add ftp access to ssh only jail?, Josh Cole, 2009/05/07
- RE: [Jailkit-users] how-to add ftp access to ssh only jail?, Josh Cole, 2009/05/07
- RE: [Jailkit-users] how-to add ftp access to ssh only jail?, Josh Cole, 2009/05/07
- RE: [Jailkit-users] how-to add ftp access to ssh only jail?,
Josh Cole <=
- Re: [Jailkit-users] how-to add ftp access to ssh only jail?, Olivier Sessink, 2009/05/07
- RE: [Jailkit-users] how-to add ftp access to ssh only jail?, Josh Cole, 2009/05/07
- RE: [Jailkit-users] how-to add ftp access to ssh only jail?, Josh Cole, 2009/05/07