ssh

  1. J

    Solved Connecting to FreeBSD from VS Code over SSH

    Hi guys, I'm trying to figure out how to connect to my FreeBSD box from VS Code over SSH. There are some instructions here and here, but I haven't had much luck following those. Client Pop!_OS (based on Ubuntu 22.04) VS Code 1.95.0 VS Code extension Remote - SSH v0.116.2024102915...
  2. byrnejb

    Solved SSHD logging

    tl;dr Use: <cmd>last</cmd> OP I am looking in auth.log and can find entries for session starts ( Accepted password for <userid> ). However, I do not see any entries for the corresponding logouts. The logging level in sshd_config is set to the default (info). SO, how does one insure that ssh...
  3. B

    Solved I see many ESTABLISHED connections from one IP to my ssh (port 22) without authentication. Is this a new attack on ssh that I am not aware off?

    I noticed that on my public ssh server at port 22, I see a large number of ssh ESTABLISHED connections, that do not authenticate and stay in the ETABLISHED state sending keep alives. Specifically, in the nestat I see many entries of the form: tcp4 12 0 myIP:.22 156.0.96.22.52574...
  4. matpanske

    general/other Freebsd on AWS (how to login)

    Dear all, I'm trying to login to a FreeBSD instance but keep getting a connection time out/Connection refused: - the firewall is checked (I can login with ssh to other instances with the same security group) - the public/private key should be ok - with the "ec2-user" user I can't get in - I...
  5. Sergei_Shablovsky

    Complicated shell script for remote Installation without access to a remote console

    Dear FreeBSD Gurus! Please suggest shell script (probably must be complicated) to remote Installation of the FreeBSD Operating System Without access to a Remote Console. Most of You already read Remote Installation of the FreeBSDOperating System Without a RemoteConsole article, based on Martin...
  6. sickboy

    No SSH access after upgrade to 14.1

    Greetings, I’ve the following problem: after a remote upgrade of my server from 14.0 to 14.1, I’m not able to connect via SSH anymore: $ ssh user@host -v ... debug1: SSH2_MSG_KEXINIT sent debug1: SSH2_MSG_KEXINIT received debug1: kex: algorithm: sntrup761x25519-sha512@openssh.com debug1: kex...
  7. U

    Solved Slow SSH login

    Hi all, I am having an odd situation where my SSH sessions take ages to reach the prompt. For example it takes 30 seconds to run the below: $ time ssh root@techanalysis "echo ok" ok real 0m30,422s user 0m0,142s sys 0m0,000s The same command when run with the IP address is much...
  8. I

    How to harden sshd_config to allow only 1 user to be logged in at any given time?

    How do I harden my sshd_config to allow only 1 user to be remotely logged in at any given time? (A non-admin/wheel and not-root user will login remotely, then upgrade (ie. "su -l admin) to admin/wheel, and then to root should be counted as the same user being logged in at any given time.) I...
  9. codeedog

    Seeking Advice: Thin Jail + unionfs running with workarounds

    Attempting to create a thin jail on a Raspberry Pi using 13-2-REL, I had trouble with the handbook's skeleton formulation 17.5.2. Creating a Thin Jail Using NullFS. While searching for solutions, I stumbled upon Scott Robbins's method for creating thin jails using unionfs which worked but failed...
  10. I

    Solved Why does ssh session in FreeBSD 14.0 generate enormous amount of packets?

    I have two FreeBSD boxes running 13.0 and 14.0 respectively, and I'm comparing the behavior of those boxes in similar scenarios. One scenario exhibit significant discrepancy, and I'd like to ask the community if anyone else has seen (or can reproduce) such discrepancy, and how can it be...
  11. A

    Change "welcome message" when login via ssh on FreeBSD 14. How?

    Hello everyone! Trying to change default "welcome message" via motd (nano /etc/motd) on FreeBSD 14 for ssh login. But after restarting server it's appearing default again. Is there any examples of how to do it? All that found by me in the internet not working.
  12. D

    Solved Lost GUI and SSH on upgrading to 13.2 - advice on how you would proceed

    TL:dR; After upgrading to 13.2 STABLE from 12.4, everything was fine for a day. But now I have lost the GUI (was XFCE4) and cannot SSH in. Where would you start troubleshooting this? I would be truly grateful for any advice you may have. For example, try and get SSH working, the desktop...
  13. K

    X11Forwarding over SSH + PuTTY(or something else)

    Hi, the friendliest IT-community of the world! You guys already helped me with my custom FreeBSD 13.2 installation on ZFS and now I need your help one more time. I've read that there's way not to use VNC things for remote access to my PC, but using only SSH and remote terminal program like...
  14. I

    Attack Discovered Against SSH - is FreeBSD vulnerable?

    I have a concern about the recent news regarding the newly discovered SSH attacks, when "ChaCha20-Poly1305" or "CBC with Encrypt-then-MAC" is used. So, if we set up a server (sshd) or using it as a client (ssh) as default, would this vulnerability be relevant?
  15. A

    ssh connection

    Hi, I have a FreeBSD 13.1 released installed on a machine and there is NO firewall service running on it, it has two interfaces one with public IP and the other with private IP. I can not ssh into the machine from a public IP apart from the public IP of the same network and I can ssh into the...
  16. vermaden

    Solved Port Forwarding into NAT Bhyve VM under pf(4) Firewall

    Hi, I have successfully setup NAT on pf with this in /etc/pf.conf file: nat on wlan0 inet from 10.1.1.0/24 to any -> (wlan0) round-robin I am now trying to achieve the same what is available out of the box on VirtualBox - port forwarding. For example one of my Bhyve virtual machines is...
  17. usernamekiran

    How to write to local machine from SSH?

    Hello. Since last few weeks, I have been doing SSH to a server using my local FreeBSD desktop. I am able to read/write, and do the stuff that I am permitted to including setting up crons, and few other kubernetes related stuff. But around 3-4 days ago, I tried to download a file (using scp...
  18. byrnejb

    Solved upgraded to 13.1p7 from 13.1p2 and now ssh does not connect.

    [root@vhost01 ~ (master)]# sshy vhost02.windsor Connection timed out during banner exchange Connection to 216.185.71.142 port 22 timed out [root@vhost01 ~ (master)]# sshy -vv vhost02.windsor OpenSSH_9.1p1, OpenSSL 1.1.1q-freebsd 5 Jul 2022 debug1: Reading configuration data /root/.ssh/config...
  19. codetrotter

    Solved Perplexing behavior of shell when trying to loop over input

    I created a script using zsh. One version of the script looks like the following. It correctly loops over all three lines of input and prints what would happen, sleeping 5 seconds after each print #!/usr/bin/env zsh while IFS= read -r snap ; do fs="$( echo "$snap" | cut -d@ -f1 )" echo...
  20. jarmo

    "service postgresql start" hangs forever over SSH

    I'm trying to provision a FreeBSD 13.1 VM over SSH by running shell commands. Among many other things I'm executing commands like these: pkg install -y postgresql15-server service postgresql initdb service postgresql start It gets to service postgresql start, prints the following and hangs...
Back
Top