Why is MacOS Ventura preventing SSH logins? - ssh

I just got a Mac mini and have Ventura installed and I've enabled Remote Login for all users and full disk access (this is only for internal network access).
When I attempt to ssh to it (the Remote Login gui says to use "mac#192.168.68.74") from another mac I get:
kex_exchange_identification: Connection closed by remote host
Connection closed by 192.168.68.72 port 22
I've tested from the remote mac and confirmed that it does connect to port 22 and it attempts to pass in the ssh keys from my laptop system until it fails and disconnects.
I've created the id_ed25519 keys. I've added the pub version of the key from my laptop to the ~/.ssh/authorized_keys file in the admin accounts profile.
I would prefer to just enable password auth and skip the key nonsense, but I can't figure out how to do that.
Any ideas?

Related

SSHing into WSL2 of a remote Windows 10 from Windows 10

I am planning on using VS Code to work out of WSL2 installed on a remote machine. Before doing that, I wanted to check the direct connectivity from a Windows 10. I followed the instructions given in this blog. Also, the remote Windows 10 is on a VPN.
When I use the command ssh <username>#<IP address>, I get the message
kex_exchange_identification: read: Connection reset
Is there anything I am missing to get the connection going?

Opening browser in client machine through ssh

Using linux, this link explains how to open a browser in the remote machine using ssh:
https://superuser.com/questions/583608/opening-browser-in-remote-machine-through-ssh-closed
How can I do to see the remote machines browser on the client computer?
Sort of as with xclock...

server unexpectedly closed network connection in raspberry pi 2

I am new to Raspberry Pi. I have a Pi 2 kit model B.I am using an angry IP address and I can find Raspberry Pi's address using it. When I configure it using sudo raspi-config, make necessary changes and then say OK to reboot, I get this error in putty:
Server unexpectedly closed network connection.
How do I correct this issue?
Further, I have connected Raspberry Pi 2 with an Ethernet cable to the laptop. I have completed necessary steps like changing adapter settings, edited properties of Wi-Fi to allow other network users to connect to computers Internet connection but still I have no Internet access shown for unidentified Internet connection.
How can I solve this? Please suggest the necessary steps to be implemented
For me too many process and session running for a particular user is the cause of your problem so alternatively I logged in as root and ran the following commands:
ps -fp $(pgrep -d, -u adminuser)
pkill -9 -u adminuser
After this I can login normally in putty like ever before.

Cannot open ssh connection between windows 10 and OS X with Bitvise ssh client

I need an sftp windows client and I just installed Bitvise. My windows 10 version runs on Parallels (version 10) on a Mac (OS X Yosemite version 10.10.5). As a test, I tried to open an ssh connection with the Bitvise client to the ssh server running on the Mac. I first went to the Mac, System Preferences -> Sharing and clicked on File Sharing and Remote Login (for all users, just to be sure). I can perfectly ping the Mac from Windows as well. Now when I try to open a connection from Windows to the Mac (Bitvise GUI or simply sftp from the command line), invariably I get this message.
The SSH2 session has terminated with error. Reason: Error class: LocalSshDisconn, code: ConnectionLost, message: FlowSshTransport: received EOF.
Does anybody knows what's going on? I couldn't find that error message anywhere. Just for your info I tried this from the command line
sftp mymacuser#my.mac.ip.address
And then again
ping my.mac.ip.address
works perfectly OK.
Thanks very much in advance.

VirtualBox, Remote Desktop, and VPN

Networking is not a strong skill set of mine and I'm new to VirtualBox..so here we go -
I've got a Windows (XP) VM running on VirtualBox. I am able to use remote desktop to connect to the VM with no problems.
The Problem: I need to connect to another network via VPN on the virtual machine. However, once connected, all local network resources become unavailable. As a result, my remote desktop session is disconnected.
Question: Is there another way to remotely access the VM? Is there some way that VirtualBox can route me to the VM without using the Windows RDC functionality so that I can have an active VPN connection but still control the VM remotely.
Should have done some more research. This feature is already built into VirtualBox. You can log into the VM through the host machine.
All you have to do is turn on remote display in the settings for the VM and choose the port that you want to use (make sure to make appropriate firewall changes). Then you remote to that port on the host machine.
Ex: Host machine has an IP of 192.168.1.200 and you set up port 3395 for the remote display - you would open Remote Desktop Connection and use 192.168.1.200:3395 and it would open the VM.
More detail from the VirtualBox site.
http://www.virtualbox.org/manual/ch07.html