The issue is that during command line execution of a tar command, sshd has not set the environment properly, namely the mount points are not there, so /dev/st0 does not exist, and the PATH variable does not point to the correct cygwin files either.
What might be causing this. It works fine with an interactive ssh session (providing auto logon is not set up). -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Corinna Vinschen Sent: Tuesday, August 31, 2004 4:53 AM To: [EMAIL PROTECTED] Subject: Re: ssh - no access to /dev/st0 On Aug 30 17:10, Cary Lewis wrote: > I have a SCSI tape drive, and I can use tar to create archives on it: > > tar cvf /dev/st0 /bin > > tar tvf /dev/st0 > > but if I try to ssh into my cygwin box and try the same command, then I > get the following error: > > tar: opening archive "/dev/st0": The system cannot find the path > specified. Sure that you're running the same tar? I'm running my Cygwin stuff in an ssh session all the time and I have no problem accessing /dev/st0. Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Project Co-Leader mailto:[EMAIL PROTECTED] Red Hat, Inc. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/ -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/