1. aikorei

    Solved FreeBSD 13.1 fresh install, ssh timeout on log in

    I just did a fresh install of FreeBSD 13.1 with cloud host. I cannot seem to ssh into the server at all, and it's driving me nuts (I've called ionos support probably 8 times today and they're stumped too). Here's what I have so far... - I can access my server via KVM console - Here is...
  2. byrnejb

    Solved ssh between freebsd and linux -- Warning: untrusted X11 forwarding setup failed: xauth key data not generated

    I am connecting to a Bhyve VM running Rocky Linux 8 using ssh without passwords. When I successfully connect I nonetheless get the 'untrusted forwarding' error. I am trying to discover on which end of the connection the problem lies. As I do not have this problem when connecting to FreeBSD...
  3. M

    freebsd13 and yubikey bio for ssh

    Hello, I'm struggling to configure my freebsd 13 to use the ssh resident key stored on a yubikey bio. I can't find any good procedure to get it work. I've installed pscs daemon. But I can't load ssh identity in the ssh-agent. I've also installed and tried yubikey-agent that doesn't detect the...
  4. freezr

    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...
  5. 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...
  6. 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...
  7. 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...
  8. 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...
  9. 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...
  10. 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.
  11. 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...
  12. 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...
  13. 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...
  14. 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)...
  15. 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...
  16. L

    SSH for domain users

    Good day. Tell me how for the service SSH turn on login for Windows domain users.
  17. 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...
  18. 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...
  19. 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...
  20. 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...