Mail Archives: cygwin/2001/04/04/12:00:51
After replacing the sftp-server.exe with the test version Corinna posted
to the list:
On WinNT4sp6 + cygwin1-20010401.dll, sshd runs as a service under
Administrator account (with all appropriate rights).
Administrator AT 192 DOT 168 DOT 0 DOT 2# sftp Administrator AT 192 DOT 168 DOT 0 DOT 2
sftp> put (fine)
sftp> get (fine)
sftp> ls (hangs)
Administrator AT 192 DOT 168 DOT 0 DOT 2# scp Administrator AT 192 DOT 168 DOT 0 DOT 2:MACROS.TXT .
(works)
Administrator AT 192 DOT 168 DOT 0 DOT 2# ssh -l Administrator 192.168.0.2
(works)
On a whim, I tried changing user contexts. While ssh/scp work fine, and
the sftp login works okay, very little within sftp works. I'm not sure
if this is a new problem with the test version of sftp-server, or if it
was pre-existing.
Administrator AT 192 DOT 168 DOT 0 DOT 2# sftp cwilson AT 192 DOT 168 DOT 0 DOT 2
sftp> put makewhatis (this file exists in the current local directory)
Uploading makewhatis to makewhatis
Couldn't get handle: No such file or directory
sftp> get hello.c (this file exists in cwilson's home dir)
Couldn't stat remote file: No such file or directory
File "/e/Users/cwilson/hello.c" not found
sftp> ls
Couldn't get handle: no such file or directory
sftp> (doesn't hang)
Administrator AT 192 DOT 168 DOT 0 DOT 2# scp cwilson AT 192 DOT 168 DOT 0 DOT 2:hello.c . (hello.c
exists in cwilson's home dir)
scp: hello.c: No such file or directory
Administrator AT 192 DOT 168 DOT 0 DOT 2# ssh -l cwilson 192.168.0.2
bash-2.04$ (!!! can't read my .bashrc file!)
bash-2.04$ ls
ls: .: No such file or directory
Now, this seems to be new. For some reason, user-context changes aren't
working very well as of p2-3. This *used* to work. I am using password
auth, and Adminstrator, the account under which the sshd service is
running, has the appropriate rights.
On W2Ksp1 + cygwin1-20010401.dll, sshd runs as a service under
Administrator account (with all appropriate rights).
Administrator AT 192 DOT 168 DOT 0 DOT 5# sftp Administrator AT 192 DOT 168 DOT 0 DOT 5
sftp> put (fine)
sftp> get (fine)
sftp> ls (fine; no hang)
Administrator AT 192 DOT 168 DOT 0 DOT 5# sftp cwilson AT 192 DOT 168 DOT 0 DOT 5
sftp> put (fine)
sftp> get (fine)
sftp> ls (fine; no hang)
This is bizarre. I'm starting to wonder if my NT4 installation is
seriously hosed.
--Chuck
--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple
- Raw text -