Chroot

3 posts / 0 new
Last post
Anonymous
Chroot

Is there any way I can disable the chroot portion of CopSSH? I have a backup system that uses SSH, SCP and TAR to perform backups of remote servers and am wanting to integrate my Windows 2003 servers into this. So far the only problem I have is getting the chroot turned off.

itefix
Offline
Last seen: 10 hours 1 min ago
Joined: 01.05.2008 - 21:33
Re: Chroot

copSSH is not a chrooted environment. You have access to your C drive by using /cygdrive/c, for example.

itefix
Offline
Last seen: 10 hours 1 min ago
Joined: 01.05.2008 - 21:33
Re: Chroot

Thanks. That was what I needed.
Now I can issue the following commands from my Linux server. This allows me to use my existing backup system with CopSSH on the Windows 2003 servers.

ssh root@192.168.2.x 'tar -zcvf test.tar.gz cygdrive/c/backup'

scp -v root@192.168.2.x:/test.tar.gz ./

Release announcements