sshfs support?

Discussion of Co:Z sftp, a port of OpenSSH sftp for z/OS
Post Reply
mvsroot
Posts: 39
Joined: Thu Aug 12, 2004 8:18 am

sshfs support?

Post by mvsroot »

Hello,

I am using sshfs to access my z/OS home directory from Linux (or Windows with Dokan sshfs) and it works fine out of the box with IBM's sftp. After installation of Co:Z SFTP I can't access the file system anymore. The directory is just empty. Any ideas how to solve this issue? I am using default parameters for sftp.

Thanks
Dirk
dovetail
Site Admin
Posts: 2022
Joined: Thu Jul 29, 2004 12:12 pm

Post by dovetail »

Dirk,

I haven't tried this, but I would expect it to work.

You should add or uncomment the following lines in your ~/.ssh/sftp-server.rc file and then look at the log for more information about what is going wrong.

export SFTP_SERVER_OPTIONS="-e -l debug3"
export COZ_LOG=T
mvsroot
Posts: 39
Joined: Thu Aug 12, 2004 8:18 am

Post by mvsroot »

Thanks for your answer. I tried it again (with the suggested parameters) and it's working fine now!?! In the log are several error messages:
Jul 30 09:44:07 MVSALF0/$STCUSS SYSSSHDN sshd[33554641]: fatal: buffer_get: trying to get more bytes 104 than
in buffer 100
Jul 30 09:44:11 MVSALF0/$STCUSS SYSSSHDN sshd[67109170]: fatal: buffer_get: trying to get more bytes 104 than
in buffer 100
Jul 30 09:44:15 MVSALF0/$STCUSS SYSSSHDN sshd[83886386]: fatal: buffer_get: trying to get more bytes 104 than
in buffer 100
Jul 30 09:44:19 MVSALF0/$STCUSS SYSSSHDN sshd[83886088]: fatal: buffer_get: trying to get more bytes 104 than
in buffer 100
Jul 30 09:44:23 MVSALF0/$STCUSS SYSSSHDN sshd[16777575]: fatal: buffer_get: trying to get more bytes 104 than
in buffer 100
Jul 30 09:44:24 MVSALF0/$STCUSS SYSSSHDN sshd[33554730]: fatal: buffer_get: trying to get more bytes 104 than
in buffer 100
Jul 30 09:44:26 MVSALF0/$STCUSS SYSSSHDN sshd[50331946]: fatal: buffer_get: trying to get more bytes 104 than
in buffer 100
Jul 30 09:44:28 MVSALF0/$STCUSS SYSSSHDN sshd[50331762]: fatal: buffer_get: trying to get more bytes 104 than
in buffer 100
Jul 30 09:44:29 MVSALF0/$STCUSS SYSSSHDN sshd[50331790]: fatal: buffer_get: trying to get more bytes 104 than
in buffer 100
Jul 30 09:44:32 MVSALF0/$STCUSS SYSSSHDN sshd[83886194]: fatal: buffer_get: trying to get more bytes 104 than
in buffer 100
Jul 30 13:32:32 MVSALF0/$STCUSS SYSSSHDN sshd[33554461]: error: __passwd: EDC5111I Permission denied.
Jul 30 13:32:35 MVSALF0/$STCUSS SYSSSHDN sshd[33554461]: error: __passwd: EDC5111I Permission denied.

Regards
Dirk
dovetail
Site Admin
Posts: 2022
Joined: Thu Jul 29, 2004 12:12 pm

Post by dovetail »

Dirk,

Sorry for not responding earlier.
The error messages that you are seeing are from sshd (IBM Ported Tools OpenSSH), and not from Co:Z SFTP. I have not seen them before, but you may want to open a PMR with IBM. Also, if you are not using the new version of Ported Tools (1.2), you may want to try that to see if these messages go away.
mvsroot
Posts: 39
Joined: Thu Aug 12, 2004 8:18 am

Post by mvsroot »

Thanks for the answer. I can't check the version of our Ported Tools at the moment. I'll do this after my return to the office and discuss the error messages with IBM.
mvsroot
Posts: 39
Joined: Thu Aug 12, 2004 8:18 am

Post by mvsroot »

We are using an older version of IBM's Ported Tools. I've just ordered the newest version.
Post Reply