1. 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...
  2. T

    Solved zfs send | ssh zfs receive - how to stop zfs send from sending output until I have authenticated?

    I am using zfs send -v <SNAPSHOT> | ssh <TARGET> "zfs receive <TARGET_VOLUME>" to synchronize a volume. Before I authenticate, zfs send is already sending output to stdout saying: This message repeats until I authenticate ... 00:30:57 63.2K <SNAPSHOT> 00:30:58 63.2K <SNAPSHOT> Whenever...
  3. A

    Enable touchpad/mouse scrolling over ssh

    Overall objective: Enable touchpad scroll of nano over ssh from macOS Description: I've noticed that on macOS I can line up and down in nano using the touchpad/mouse. This is also possible over ssh when connected to Debian and NixOS machines, but when ssh'd into a FreeBSD machine I can not...
  4. P

    ssh -Y vbox_guest '<browser>' crashes host system

    When I attempt to load a GUI application (for example a browser like chromium or firefox) via ssh from a guest VM in VirtualBox , the host FreeBSD system crashes. This has happened several times after upgrading from 12.0 to 12.1. My host system is a ThinkPad E490 running 12.1-RELEASE-p3. The DE...
  5. joel.bodenmann

    Solved ssh proxy jump not working

    Given the following scenario: + "Internet" | Server network | +-------+ +---+---+ +-------+ | | | | | | | A +---------+ B +----------+ C | |...
  6. M

    ssh change to rdp :/

    hi everyone i m new on forum. i want ask a question.ihave a problem how can i change ssh place to rdp in googlecloudplatform please can you help me ? _
  7. S

    PF PF how to not drop existing connections when service starts

    Hi, looking for help. Whenever I start/restart the PF service (sudo service pf start), my SSH tunnel disconnects (and hangs locally). I have to kill the process locally or let it timeout, and reconnect in order to continue. Though I don't interfere with pf service often, this dropping of...
  8. aragats

    Solved SSH doesn't honor "files dns" anymore?

    I'm using /etc/hosts to resolve several local hosts for ages, but recently discovered that now (FreeBSD 12.0-RELEASE-p3) ssh tries to resolve them via DNS first which causes huge delays. I couldn't find any specific setting for that. Am I missing anything? Thanks for advises!
  9. 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...
  10. E

    Solved Mplayer playlist over SSH.

    I've been having troubles running my playlist with mplayer over ssh. This used to work without any issues for me with the following: ssh -i .ssh/user_key.id_rsa user@host "mplayer -shuffle -playlist /path/to/playlist.txt -af resample=44100,channels=2,format=s16le -ao pcm:file=/dev/stdout...
  11. F

    Strange behavour with GSSAPI and Kerberized NFS

    Hello, I'm a new user of FreeBSD - I recently installed FreeBSD 11.2 p4, and I use it as a backup- and fileserver using Samba48 and bacula. I also play around with it. I've joined the machine to a Samba domain and log in with winbind with domain users works using GSSAPI. NFSv4 with kerberos...
  12. leebrown66

    Setup a 2nd sshd instance for testing remote configurations

    Suppose you have a remote machine that you can ssh into. You want to make some changes to the config, but making a mistake could lock you out of the box. This is a technique for setting up a 2nd sshd instance and also how to configure it as a service. Standalone On the server enter...
  13. Lamia

    Solved Can't ssh after Upgrading to 11.2

    I have been keeping an eye on issues pertaining to 11.2 on this platform for the past four days. I, like many others, just upgraded my box [from FBSD 11.1-RELEASE-p9] to 11.2. And I ran a few other commands like portmaster -a, pkg upgrade and so on after the upgrade. After restarting the PC, I...
  14. Angelo Klin

    IPFW Private VPN + Firewall on a VPS

    Hello All, With all the fuzz and issues with security and privacy these days I decided to give it a go with a VPN, mostly for the fun and challenge. I am partially done with a scenario that sounds very typical these days, although it is not necessary plain vanilla. The overall idea is...
  15. Kay

    sshd "PasswordAuthentication no" has no effect

    Hi I'm trying to disable password login for all users except one, "foo". That way, for example, I can login as "bar" with public key but not password. And I can login as "foo" with password. I tried this config: AllowUsers foo bar Match User !foo PasswordAuthentication no Match all #...
  16. T

    IPFW authpf alternative?

    I have a use case for authpf. However, I'd prefer to stick with IPFW as it seems to be more maintained and more recent than the included PF version. However, I've been unable to locate an alternate option that'll work with IPFW. Maybe I'm missing something, or maybe there's another way...
  17. R

    Solved ssh: why i cannot use Public key with users not in wheel group ?

    Hi, I try to use a ssh connection with Public Key (ECDSA) In client: I create a private/public key ssh-keygen -t ecdsa i choose filename: id_ecdsa_toto In remote server: IP:AAA.BBB.CCC.DDD I create a new user: toto. toto is not in wheel group. I add my public key in...
  18. rigoletto@

    keychain doesn't actually set env.

    Hello, I am trying to get security/keychain to work but I am experiencing a problem with it not actually setting the env: SSH_AUTH_SOCK and SSH_AGENT_PID. It starts and apparently set everything as expected but does not work when I try to use ssh, unless I set the variables manually later...
  19. cira8u

    ssh disconnects when starting gkrellm

    When using ssh to connect to FreeBSD 11.0 the link will occasionally shut down with the following in /var/log/messages Aug 23 14:45:11 karen sshd[62451]: fatal: Fssh_packet_write_poll: Connection from 174.77.777.77 port 57670: Permission denied If no program is running in the shell, the link...
  20. Kay

    Best way to allow ssh connection just for reverse port forwarding

    So here's my scenario. * I have a home server (HostB) which is completely within my control. * I have an off-site machine that can potentially be physically accessed by other people I don't trust (HostA). I want to do off-site backups (encrypted of course) via `duplicity` from HostB to...