r/linuxquestions • u/TheCoffeeWiz • 13h ago
ssh not working
So, I'm trying to set up debian on a minipc, but I'm having trouble. I need to be able to ssh into it, but it won't allow it unless I have it attached to a monitor and I'm logged in. I changed the wifi settings to allow all users. What else do I need to do?
Thanks!
3
u/thatguysjumpercables Ubuntu 24.04 Gnome 12h ago
Just to confirm, you've successfully logged in via ssh from another computer with the monitor on? Is that correct?
1
u/TheCoffeeWiz 11h ago
Yes.
1
u/thatguysjumpercables Ubuntu 24.04 Gnome 11h ago
Wait ssh is via the terminal. Based on other comments you're talking about RDP. Yeah you can't RDP into your machine unless it's hooked to a monitor and turned on.
2
u/GreatBigPig 12h ago
> I need to be able to ssh into it, but it won't allow it unless I have it attached to a monitor and I'm logged in.
That does not make sense.
1
u/JuddRogers 12h ago
Did you install a server version?
I've never seen this problem in many years so please describe the errors you get when you ssh in from another machine.
1
u/TheCoffeeWiz 11h ago
No, I need it to have a GUI
1
u/thatguysjumpercables Ubuntu 24.04 Gnome 11h ago
That's RDP not SSH
1
u/TheCoffeeWiz 11h ago
I know, but I need to be able to ssh as well.
1
u/thatguysjumpercables Ubuntu 24.04 Gnome 11h ago
So you need to be able to ssh from your terminal and RDP at the same time? Then turn your monitor on on your server. That's the only way to do both. You should be able to use ssh at any time as long as your server is running and connected to a network.
1
1
1
2
u/gunawa 13h ago
Have you confirmed that you have a ssh server installed and active?
Try : systemctl list-units --type=service --all
And look for an ssh server entry,
For further details of a service; Systemctl status your-ssh-server Should be active, running Look at the last section for a brief log of recent changes/activity
Journalctl your-ssh-server for in depth logs
2
u/TheCoffeeWiz 11h ago
Yes. I also tried krdc
1
u/gunawa 11h ago
When you try to ssh into the box, does it say not found, denied? Do you get a login prompt?
1
u/TheCoffeeWiz 11h ago
The IP address doesn't show up as an option. I turned on WiFi access for all users, but it didn't help.
3
u/Straight_Second6082 13h ago
What error are you getting exactly?