Occasional local network

I have a couple of PCs that I keep in case my main computer goes down. I frequently update this pc and a laptop. I rarely update these “spare” computers because I have to take all the cables out and reconnect these spares, move the PCs on and off the desk etc. Can someone point me to instructions that will show me how to log on and update these without connecting the monitor, keyboard, mouse? In other words just connect power and ethernet and run zypper dup.

https://en.opensuse.org/SDB:OpenSSH_basics
https://en.opensuse.org/SDB:Configure_openSSH
https://en.opensuse.org/OpenSSH

1 Like

Thank you for these links. Questions arose as I followed the instructions.
First, I assume my main computer is the server. The instructions seem to indicate you set up remote PCs to access this server, not the other way around. I followed the instructions and was able to ssh into my laptop. It confused me when

root@xxx.xxx.x.xxx

Would not accept root’s password but
prexy@xxx.xxx.x.xxx
with Prexy’s password did work. Once inside,
sudo yast2
worked with the same root password it did not accept to log in.
In several places, it says sshd should already be installed. It is not. Yast shows an option to install apache-sshd. I presume this should be installed since there is no option for “sshd” only. Should sshd be installed on the remote machines as well?

It states that port 22 should be opened in the firewall. But to do so, there are several options. TCP i s the first, followed be UDP and others. Since TCP was at the top, I chose it.

My main purpose is to run

zypper dup

and I can do that now. But, it is possible to run a gui remotely? Even before that, I have to have a cold boot that allows me to log into the remote so I can run the update. My goal is to do this without a monitor or keyboard at the remote.

sshd is not a package name. sshd is included in package “openssh-server” which is installed by default. This can be found by simply inspecting the contents of openssh-server.

As described in the linked article, you need to login as user.

The daemon is run on the server, the host you want to log in to from a remote site. That means your PCs without monitor are the servers. Your PC with the only monitor is the client.

Yes. Use X11 forwarding.

openSUSE firewall has already predefined ssh services. You only need to add it to the wanted firewall zones.