@LjmDullaart Yes, I forgot to include that. I set those permissions. Even tho the files are located in /home/pi/ and not /root/. As far as I remember I got an error otherwise and could not proceed any further
reveals what is wrong. To access the Pi as root, the authorized_keys must be under /root/.ssh, with the permissions 700 for .ssh and 600 ...
You normally can't login as root as this is a security risk.
Indeed Debian doesn't even have a root login because there is no need - use sudo instead.
Normally you use sudo su to become root, but there are few circumstances that require this.
If you really want to do this you will have to create a root login and configure the keys for the root user.
I should confess and tell you that I use git for windows to access my pi, so git-bash gives me a minimal bash environment on Windows. You may prefer Putty or WSL etc. This method will work with Mac, Linux and WSL, and it answers the OPs question of "How do I".
Assign the pi a static ip address
use ~/.ssh/config to create your ssh "address ...
In Linux Mint 18.3, I have to go into Network Connections and edit the entry that shows up when the Zero W is plugged in.
Go to the IPv4 Settings tab, and change Link-Local Only.
After I do this, and wait about 15 seconds or so, I get a notifcation that Wired Connectiong #2 was made. Wired Connection #1 is my connection to my router; I am not on wifi.
Then I ...
Make sure the default password, raspberry, is actually the default password for your pi operating system.
I just realized, for example, that the pi-top operating system has a default password of pi-top, which is a super annoying thing for them to do, but it is what it is.
It is theoretically possible but would require quite an effort. You are unlikely to find instructions to do so.
The question is WHY?
Other than saving a small amount of space there is no real benefit. Just use raspi-config to boot to the command line and the desktop won't run.
You could copy /home to a lite installation. There will be a few small files which ...
The moment a network terminal becomes unresponsive it's usually already disconnected on the other end, so you're not installing anything anymore. Closing the disconnected terminal window will then have no effect.
Note that interrupting an installation like that may lead to problems, especially when updating system packages such as the kernel. You should try ...
Your immediate problem stems from the fact that you have enabled sudo password (the Pi OS is configured to never ask for a password when running sudo), and then you try to run sudo non-interactively. Either put NOPASSWD back into your sudoers file, or learn how to provide a password to non-interactive sudo (e.g. sudo -S).
Others already explained how copying ...
I have 8 networks in my wpa_supplicant.conf - some on different continents and I can move seamlessly between them.
There is no point in priority unless multiple networks are visible.
Your file looks OK but not sure if psk=NONE is affecting results.
I don't see why it does not work properly; if it does not find the first network it should look for the other. You might debug this by looking at wpa_supplicant's output -- I am not sure where it is by default or if wpa_supplicant has its own service by default on RpiOS/Raspbian (I use customized dhcpcd scripts to manage that and discard the defaults when I ...
SSH has a really cool "jump host" option; basically, it allows you to jump through to another host on the network:
Connect to the target host by first making a ssh connection to the jump host described by destination and then establishing a TCP forwarding to the ultimate destination from there. Multiple jump hops may be ...
I just had the idea whether the problem is related to the Public vs Private categorization of your LAN Ethernet network within Windows: some features are configured differently for these. Mine for example, when used without a router on it, typically gets categorized as Public.
On Windows, open Powershell with administrator rights, and issue the following: