1. F

    SSH does not work with users' home set to 750

    Dear all, to begin I'd like to clarify that I am not a professional, I am just passionate about it, and I am doing all of this for hobby and fun! On my pet VPS to prevent people lurking in the other home directories I setup each users <homedir> with permissions 750, unfortunately this...
  2. HL1234

    jails What is the recommended way to connect to a running jail?

    Hello, I'm not a FreeBSD newb, but I'm new to jails, and read different solutions. I tried to build a jail with a webserver. Now I could start it. Then I wonder that are different outputs with these commands after I had start it: jexec 57 ps -ax gives me something like this PID TT STAT...
  3. Buck

    Blacklistd and sshd not acting immediately according to logs

    A curious thing that I'd like to understand. Blacklistd enabled in sshd config. Connecting from another external IP to ssh and issuing two wrong logins/passwords results in immediate lockout, as expected and defined in the config file. A new entry gets added to blacklistd table in pf as...
  4. Aknot

    Lost connection to server using Putty (due to packet loss)

    Hello, I'm using Putty to connect to my FreeBSD server. Several times a day, my connection drops due to packet loss (ISP capacity problems). They are very short, but enough to disconnect my Putty session. This is very annoying, and I wonder if there is something we can do in FreeBSD, increase...
  5. shadow_pudge_killer_2001

    PAM configuration for HashiCorp vault-ssh-helper

    I need to use one-time passwords to login on my FreeBSD machine and password verification success: Aug 12 15:29:03 host sshd[5466]: in openpam_dispatch(): /usr/lib/ pam_sm_authenticate(): Success Aug 12 15:29:03 host sshd[5464]: Accepted keyboard-interactive/pam for user from...
  6. F

    Unexpected behavior of ssh(d) with vlan

    Hello, I have a problem with my vlan configuration and sshd my virtual machine is connected do a dhcp server, network is netmask is dhcp-range is In my rc.conf ifconfig_em0="DHCP" em0 will get ip with this, sshd is reachable on but...
  7. Lamia

    Solved SSH Login Hangs

    How best can I stop ssh access when logging in with Keys from hanging? Please see below. I always have to restart the machine, This problem occurs after a few days of not logging into the server.
  8. E

    Odd behaviour to get names resolved (13.0-RELEASE/amd-64)

    Dear Users I recently upgraded 12.2 -> 13.0 (amd64), both releases versions. I have my network adapter configured with a static IP and there are several machines names listed in /etc/hosts (including the local hostaname). There is a extract of this file: # $FreeBSD...
  9. nerozero

    Solved ssh receive reset package randomly, Fssh_packet_write_poll: Connection from user user a.a.a.a port 38142: Permission denied

    Hello, I have a firewall issue, dropping randomly ssh connections. in the /var/log/auth.log: Fssh_packet_write_poll: Connection from user user x.x.x.x port 37832: Permission denied here is my the firewall rules: 00100 28 1400 allow ip from any to any via lo0 00200 0 0 deny ip from...
  10. decuser

    Solved running processes over ssh so that they don't die when the connection is interrupted

    What are some of the options for long running processes over ssh so that they don't get killed when a network interruption occurs? I've used tmux/screen in the past, but really, I prefer a simple xterm connection. I've also used nohup, but I don't know if that's misuse or correct use. Is there...
  11. H

    Solved IPFW workstation setting blocking ssh

    I'm trying to enable ssh access to my laptop however it seems that ipfw blocks it, despite opening the port. I'm on FreeBSD 13. Following is the rc.conf section configuring the firewall, as well as the output from ipfw -t list after trying to ssh into my laptop from my phone (using termux)...
  12. Jesse Barton

    ZFS Fssh_packet_write_wait: Connection to X.X.X.X port 22: Broken pipe

    I am trying to do a zfs send to a remote zfs(FreeBSD) storage system as a offsite backup from another zfs(FreeBSD) storage system. I am able to send snapshots that are very small in size but if the snapshots get any larger the receive stops after X number of MB's, it fluctuates. Here is the...
  13. L

    SSH for domain users

    Good day. Tell me how for the service SSH turn on login for Windows domain users.
  14. V

    Unable to send correct keystrokes to xorg via ssh -X

    I run my browser from inside a jail using ssh -X -C jailuser@ chrome and send the screen session to the host. I can write regular text without issue and the keys are mapped correctly. However when I try to write something using ALT it becomes the original key, e.g. 6, instead of whatever...
  15. TankedThomas

    Issues Authenticating VSFTPD With PAM

    First, I'm fairly new to FreeBSD. I'm more experienced with Linux (over 10 years), though I'd still consider myself a beginner in the grand scheme of things. I'm also (obviously) new here, so I apologise if this is posted in the wrong place but I wasn't completely sure where else to put it...
  16. willbprog127

    Solved Need help migrating Linux routing commands to FreeBSD

    Greetings! On Linux, I am using a SSH tunnel between my machine and a remote machine. This is an actual tunnel, using the 'tun5' device / interface, not just port-forwarding. This allows me to contact any machine on the remote machine's network, SSH in, VNC in or whatever I need. For routing...
  17. samTopaz

    Other Can't get git to not ask for a password when pushing to Github.

    Hello, I've been trying to setup SSH keys with git so that I can push to Github without a password. But it doesn't seem to be working. So far I've generated a public private key pair using the command: ssh-keygen -t rsa -b 4096 -C "" (with my personal email of course.) I...
  18. decuser

    ssh without ssh daemon

    This is less a FreeBSD question and more of an ssh question, but I'm open to FreeBSD answers :). Is it possible to use ssh to log in to my server without setting up the ssh daemon? In my mind, I thought it'd be easy... something along the lines of ssh -l 22 on fenris and then remoting to fenris...
  19. decuser

    Solved How do I startx over ssh?

    I am trying to run X over ssh and would like to run the command startx, but I get this error: I've dug around a bit and it seems either folks never want to do this or they're on linux and edit Xwrapper.conf to allow users to do this. For me, I'm reading Volume Three of the X Window Systems...
  20. 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...