Re: ssh - restricted shell

From: daniel (danstemporaryaccount_at_yahoo.ca)
Date: 03/31/05

  • Next message: Duo: "Experiences with touchscreens."
    To: freebsd-questions@freebsd.org
    Date: Wed, 30 Mar 2005 17:14:41 -0500
    
    

    On March 30, 2005 04:51 pm, daniel wrote:
    > if you only want scp to work, then you can use this as the shell:
    > /usr/lib/misc/sftp-server

    correction. that was for gentoo-linux. for freebsd, you can use:
      /usr/local/libexec/sftp-server
    or
      /usr/libexec/sftp-server
    depending on if you're using openssh from ports or from the base install

    -- 
    i would not be a capitalist, i would be a man;
    you cannot be both at the same time.
       - eugene debs
    _______________________________________________
    freebsd-questions@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-questions
    To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"
    

  • Next message: Duo: "Experiences with touchscreens."

    Relevant Pages

    • vulnerabilities in scponly
      ... without allowing shell access. ... scponly makes no effort to verify the path to the scp or sftp-server ... arbitrary commands by simply uploading a file. ... However, if this is *NOT* the case, the user could execute arbitrary ...
      (Bugtraq)
    • Re: scp syntax and denied permission
      ... >> this is sort of a newby question but in some regards it might be not. ... > The tilde is interpreted by the shell and ... on the destination system, so if home dirs are different on the 2 boxes, you'll ... >> When I try to copy the next higher directory the scp starts but once ...
      (comp.unix.shell)
    • Re: scp does not copy, no error msg, ssh works
      ... > scp gets confused if there is any output from the target. ... sourced on every interactive invocation of the shell. ... only when it's a login shell. ...
      (Debian-User)
    • Re: scp exploit
      ... want scp, but not necessarily the ability to pass in commands. ... server's running a restricted shell then the shell ought to filter the ... from sending a command string via ssh containing ";" (or any other shell ...
      (comp.security.ssh)
    • Re: Difference between SCP and SFTP ?
      ... >>But It's seems that SCP need a user Shell, ... > sftp is just FTP over SSH. ... It's interface is similar to FTP, ...
      (comp.security.ssh)