Need remote shell access to a Fedora 19 box that only has a local desktop login? This walkthrough enables the OpenSSH server from GNOME, starts sshd, turns it on for future boots, finds the IP address, and confirms a login from PuTTY. Fedora 19 is long end-of-life, but the same idea applies on current Fedora and on RHEL, AlmaLinux and Rocky Linux with the systemctl commands at the end.
Prerequisites
- A Fedora 19 system with the GNOME 3 desktop and an account that can become root.
- The openssh-server package (install with
yum install openssh-serverifsshdis missing). - Network reachability from the client to the Fedora host on TCP port 22, and a firewall rule that allows SSH if a firewall is running.
1. Open Terminal from GNOME
In the GNOME 3 menu, go ahead and go to “show applications” and move to “all”.


Select Utilities, then Terminal.


2. Become root
Su to root so you can manage the sshd service:
su

Enter the root password when prompted. The prompt should change to something like [root@localhost ...]#.
3. Start sshd and enable it at boot
Restart SSH so the daemon is listening:
service sshd restart
From there we should have remote access. For future reboots, enable the service with chkconfig:
chkconfig sshd on
On Fedora 19 you can also use the newer unit commands if systemctl is available: systemctl enable --now sshd.
4. Find the IP address
ifconfig will show us the IP, you may also want to do chkconfig sshd on for future reboots (shown above). Run:
ifconfig


Look for the LAN interface (here p2p1) and its inet address — in this example 192.168.1.23. Skip the lo loopback address.
5. Connect from PuTTY (or any SSH client)
Bam! Able to login with putty! Point PuTTY (or ssh root@192.168.1.23) at that IP on port 22 and sign in with a local account.

That’s it!
Verify
service sshd status
ss -tlnp | grep ':22'
chkconfig --list sshd
You should see sshd running and listening on port 22, and chkconfig should show it on for the normal runlevels.
Troubleshooting
- Connection refused: sshd is not running, or openssh-server is not installed. Start it again and confirm with
ss -tlnp | grep 22. - Connection timed out: a firewall is blocking port 22, or you are using the wrong IP. On firewalld use
firewall-cmd --permanent --add-service=ssh && firewall-cmd --reload. On iptables, allow TCP 22 before testing again. - Permission denied: wrong password, or root login is disabled in
/etc/ssh/sshd_config(PermitRootLogin). Try a normal user andsudo, or adjust that setting and restart sshd. See Configure SSH Key Authentication Only for key-based logins.
Modern Fedora, RHEL, AlmaLinux and Rocky Linux
Fedora 19 used service/chkconfig and ifconfig. On current releases:
dnf install openssh-server
systemctl enable --now sshd
ip -br a
firewall-cmd --permanent --add-service=ssh
firewall-cmd --reload
ip -br a replaces ifconfig for a quick address list. The OpenSSH server unit name remains sshd.
Hosted Fedora Linux at www.zwiegnet.com/go
Related guides: Configure SSH Key Authentication Only | Join Fedora to Windows Domain
