Re: wrong group set when sftp

From: Darren Tucker (dtucker_at_zip.com.au)
Date: 05/25/05

  • Next message: ankush grover: "sshd:cipher_encrypt: bad plaintext length 3"
    Date: Wed, 25 May 2005 09:42:24 +1000
    To: security security <security.intrusion@gmail.com>
    
    

    security security wrote:
    > I'm using OpenSSH_4.0p1 on a RedHat Linux 7.3 box. Linux kernel 2.4.18-3
    > I has OpenSSL 0.9.6b [engine] under.
    > when using sftp, the copied file's group is set to 0 (root),
    > though the group of the user is not root. I'm using
    > I tried both winscp and sftp, but come up with the same result.
    > Using winscp, also disabled set permissions, and timestamp options.
    > but it just doesn't work.

    How is OpenSSH configured? In particular, are you using PAM?

    When you log in via ssh to the system, what does the "id" command
    report? Also, try running sftp, then get the pid of the sftp-server
    process and do "cat cat /proc/[pid]/status".

    -- 
    Darren Tucker (dtucker at zip.com.au)
    GPG key 8FF4FA69 / D9A3 86E9 7EEE AF4B B2D4  37C9 C982 80C7 8FF4 FA69
         Good judgement comes with experience. Unfortunately, the experience
    usually comes from bad judgement.
    

  • Next message: ankush grover: "sshd:cipher_encrypt: bad plaintext length 3"

    Relevant Pages

    • Re: puTTY to Windows 200k W/ OpenSSH OK; SFTP not OK
      ... > now trying to either do scp through WinSCP or SFTP through SecureFX. ... Good judgement comes with experience. ...
      (comp.security.ssh)
    • Re: WinSCP
      ... Howto Setup a chroot jail for ssh / scp / sftp with Linux ... WinSCP is connecting well as root user or any other. ... Is the host running a SFTP server? ... Sound like the sftp subsystem settings in your script are not the same ...
      (comp.os.linux.networking)
    • Re: WinSCP mega-slowness
      ... When I use SFTP (WinSCP) to transfer from my Windows XP SP2 box to my ... but SFTP is a crypted transfer (ssh tunnel) ... least the encryption required either a lot of CPU time or memory ...
      (freebsd-questions)
    • Re: WinSCP mega-slowness
      ... When I use SFTP (WinSCP) to transfer from my Windows XP SP2 box to my ... utilize the maximum bandwith. ... least the encryption required either a lot of CPU time or memory ...
      (freebsd-questions)
    • Re: SCP / SFTP from Windows to VMS
      ... because I thought that SFTP / SCP protocol did not handle "ascii" like FTP does ???? ... WinSCP copies the file, but of course it does it in binary mode. ... I have tried CONVERTing the file to StreamCR, StreamLF and Stream before downloading with WinSCP but none produce a file that Windows Notepad "likes". ...
      (comp.os.vms)