delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/08/31/12:29:41

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
MIME-Version: 1.0
Subject: RE: ssh - no access to /dev/st0
Date: Tue, 31 Aug 2004 12:24:32 -0400
Message-ID: <536E63F3472B3F4486A01F301164FEC8584DDB@mccmsrv.mccnet.mobilecom.com>
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
From: "Cary Lewis" <CLewis AT mobilecom DOT com>
To: <cygwin AT cygwin DOT com>
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id i7VGTYcq030318

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: cygwin-owner AT cygwin DOT com [mailto:cygwin-owner AT cygwin DOT com] On Behalf
Of Corinna Vinschen
Sent: Tuesday, August 31, 2004 4:53 AM
To: cygwin AT cygwin DOT com
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:cygwin AT cygwin DOT com
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/


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019