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...
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>
Enable touchpad scroll of nano over ssh from macOS
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...
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...
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...
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!
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...
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...
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...
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.
On the server enter...
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...
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...
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
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...
I try to use a ssh connection with Public Key (ECDSA)
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
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...
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: 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...
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...