sftp

  1. gessel

    Solved SFTP by PasswordAuthentication (failing) SSH by PubkeyAuthentication (still fine)

    I'm trying to add a LAN-based IoT feature where a device can push data to a server, but the device doesn't support public key, though it does support SFTP user/pass authentication. I cannot seem to get the pass authentication working and while I can't modify the verbosity of the negotiation on...
  2. freezr

    SFTP with nologin shell ?

    Hi There, I am trying to create a git user to access on its git /home only through sftp. I didn't found useful info on the handbook therefore I followed this guide: https://www.micski.dk/2019/12/11/sftp-server-with-openssh-on-freebsd/ However I couldn't establish a connection... User is...
  3. C

    Cannot get SFTP work in FreeBSD 12.4 Jails

    Hi, I am new to this forum. In FreeBSD 12.3 Jail, I can easily to activate SSH server my the following command: sysrc sshd_enable=YES && \ service sshd start After that, I import my public key to user and I can use SSH / SFTP to connect to the Jail. However, in FreeBSD 12.4, my steps can only...
  4. n9010

    Solved SSH problem with JSCH and FreeBSD 12.1

    Hello, I'm facing a problem with a JAVA client trying to access a ssh/sftp box with JSCH . Apparently this issue arouse when we upgrade from an older version of FreeBSD (10.1) to 12.1. The error is com.jcraft.jsch.JSchException: Auth fail Only this JAVA library have this problem and trying to...
  5. micski

    SFTP with SSH key: No supported authentication methods available

    If I configure an SFTP-only user, that will connect via SFTP and public key to a jailed (chroot'ed) directory, then the user is denied access. I see the following error in the log. # tail /var/log/auth.log Mar 24 23:40:05 wopr sshd[11628]: user joshua login class [preauth] Mar 24 23:40:05 wopr...
  6. Buck

    Properly setting scp permissions for www and user access

    I need to set up permissions properly on a web folder for two users and apache's www user. The hierarchy looks like so: /var/www/ contains several folders for several websites managed by user1. /var/www/special/ contains a special website folder managed by user2. Therefore, I need user1 to be...
  7. S

    syslog config for sftp logging

    I'm on FreeBSD11. I changed syslog config file to log sftp actions in a file, but it doesn't work. /etc/ssh/sshd_config Subsystem sftp /usr/libexec/sftp-server -f LOCAL5 -l INFO /etc/syslog.conf local5.info /var/log/sftp/sftp.log Then I...
  8. S

    restrict sftp and block ssh except root

    Hi all, I have a sftpgroup and I want the user's of this group only can use sftp and nobody can't ssh. this is my sshd config: Match Group *,!sftpgroup X11Forwarding no ChrootDirectory %h AllowTcpForwarding no ForceCommand internal-sftp Now, I want to root only can ssh to my...
  9. J

    Changed the ssh port. Now SFTP does not work anymore.

    Hello guys. I just changed my SSH port number to 3232. The SSH connection is working, but when I tried to make it on SFTP, FileZilla says: Command: open "jeff@...." 3232 Error: Connection timed out Error: Could not connect to server The pf.conf file is also already configured to the new...
  10. freeBSDn

    Solved Chroot sftp bad ownership

    Hi - This is driving me mad.. FreeBSD 10.1-RELEASE FreeBSD 10.1-RELEASE #0 r274401 I'm running lots of websites with www/apache24. I have developers looking access to modify files. I don't want to give access to server just to applicable sites. My setup is as follows: I create user accounts...
  11. B

    sshd/sftp file permission problem

    * short version of the problem: Although files or directory permissions are set to 755 it is possible to delete files or directories as a non-owner when having access to a ZFS FreeBSD 9.1 server via sftp/sshfs. * long version: For testing purposes I am running a fresh and raw FreeBSD 9.1...
  12. cbrace

    sftp and file ownership

    Hi all, I mount remote directories from my webservers to my desktop running GNOME (the "Connect to server" command in Nautilus) so that I can edit config files and the like in gedit, which is extremely convenient. In a terminal, if as root you edit a file belonging to, for example, "www", the...
  13. P

    openssh and sftp logging

    Hi, I'm using openssh 5.1 on FreeBSD 7.2. I'm using the chroot feature in openssh and allowing my users to connect using sftp clients. I want to know if there is anyway to log sftp logins to wtmp. I would like to be able to use the command `last` so that I can see login dates etc.. Also...
  14. S

    Sftp Bus error: 10 (core dumped)

    Hi, I seem to have a problem with sftp on a Fbsd 7.1 amd64 box. On the bottom is the crash. Scp just works. It doesn't matter where you make a sftp connection to or from what user you are doing it. I tried installing a new version of openssl (& recompil openssh). I can't find anything else on...
  15. N

    high cpu load with sftp-server

    When our sftp server has more than 5 simultaneous connections the CPU usage jumps up 50% and rises exponentially with each connection. This is a busy server that sometimes has up to 50 simultaneous connections. Is their a kernel tweak or parameter that can be set to avoid this? We recently...
  16. K

    Force disconnect on unattended SSH/SFTP connections

    Hello, I'm sure many have faced this before but I can't seem to figure this out. I need unattended SSH/SFTP connections to close after a while (say, in 10 minutes). This needs to override anything that could be done from client side (ServerAliveInterval or keepalives programs like PuTTY...
Back
Top