F5F Stay Refreshed Hardware Desktop Establishing SSH connections to Ubuntu servers Configure secure access via SSH on Ubuntu systems

Establishing SSH connections to Ubuntu servers Configure secure access via SSH on Ubuntu systems

Establishing SSH connections to Ubuntu servers Configure secure access via SSH on Ubuntu systems

D
DarkcuT
Member
149
10-26-2023, 08:56 PM
#1
Hey guys. This isn't really a issue as of the moment as i don't have the hardware ready for this to be a issue, im just trying to work out if i connect to a SSH session with ubuntu server, then start somthing like a minecraft server and then disconnect, will i be able to recconect to the same console again as in, can i ssh back into the server and see the mc server outputs and issues commands or will it dump me back into a normal terminal. I'm trying to set up a mini server network but it is proving to be slightly challanging. Any form of help is gravely appricated.
D
DarkcuT
10-26-2023, 08:56 PM #1

Hey guys. This isn't really a issue as of the moment as i don't have the hardware ready for this to be a issue, im just trying to work out if i connect to a SSH session with ubuntu server, then start somthing like a minecraft server and then disconnect, will i be able to recconect to the same console again as in, can i ssh back into the server and see the mc server outputs and issues commands or will it dump me back into a normal terminal. I'm trying to set up a mini server network but it is proving to be slightly challanging. Any form of help is gravely appricated.

C
Cosmium
Member
58
11-02-2023, 08:35 PM
#2
Directly closing the connection stops everything in the terminal. Use tools such as screen or tmux for persistent sessions that continue running. For services like a Minecraft server, configure it as a system service.
C
Cosmium
11-02-2023, 08:35 PM #2

Directly closing the connection stops everything in the terminal. Use tools such as screen or tmux for persistent sessions that continue running. For services like a Minecraft server, configure it as a system service.

P
pinkie_d_pie
Junior Member
6
11-20-2023, 09:17 PM
#3
It varies based on how you begin the server. From what I recall, if you exit the default session, it terminates the server. A better approach is using Screen. You set up a screen session, launch the MC server, detach from that session, then reconnect carefully—avoid closing the screen session if you want to resume. For services, starting and stopping is much simpler.
P
pinkie_d_pie
11-20-2023, 09:17 PM #3

It varies based on how you begin the server. From what I recall, if you exit the default session, it terminates the server. A better approach is using Screen. You set up a screen session, launch the MC server, detach from that session, then reconnect carefully—avoid closing the screen session if you want to resume. For services, starting and stopping is much simpler.

T
Taralola11
Junior Member
13
11-28-2023, 10:10 AM
#4
Thanks for the input. Here are some suggestions on setting up MC as a service and accessing its internal console via SSH. Let me know if you need more details!
T
Taralola11
11-28-2023, 10:10 AM #4

Thanks for the input. Here are some suggestions on setting up MC as a service and accessing its internal console via SSH. Let me know if you need more details!

R
Rei_Delta
Member
54
12-17-2023, 09:04 PM
#5
I mentioned you're using an Ubuntu server and likely want a straightforward systemd setup. You can set up your service to automatically restart when the system crashes and start it on boot. Refer to the documentation for more details. To launch the server, run "systemctl start minecraft" and enable it with "systemctl enable minecraft". Target it for multi-user environment and ensure network readiness. This example assumes you already have a service file ready.
R
Rei_Delta
12-17-2023, 09:04 PM #5

I mentioned you're using an Ubuntu server and likely want a straightforward systemd setup. You can set up your service to automatically restart when the system crashes and start it on boot. Refer to the documentation for more details. To launch the server, run "systemctl start minecraft" and enable it with "systemctl enable minecraft". Target it for multi-user environment and ensure network readiness. This example assumes you already have a service file ready.

P
Pinksheep88
Junior Member
3
12-18-2023, 03:30 AM
#6
Through SSH you can access the game server's console, but visibility depends on your setup and permissions. You may need to connect via terminal or a client that supports SSH access, then view the output directly. Physical access isn't required for remote viewing unless you're using a local machine with network access.
P
Pinksheep88
12-18-2023, 03:30 AM #6

Through SSH you can access the game server's console, but visibility depends on your setup and permissions. You may need to connect via terminal or a client that supports SSH access, then view the output directly. Physical access isn't required for remote viewing unless you're using a local machine with network access.

M
MEEETOR
Member
50
01-06-2024, 06:55 PM
#7
Use the command line to view logs for your Minecraft service. Press the end key to see the latest entries. Use arrow keys to move through the list. Type "Q" to close the log window. Adding "-e -f" at the end will show recent log details if needed. This setup doesn't support console command input directly.
M
MEEETOR
01-06-2024, 06:55 PM #7

Use the command line to view logs for your Minecraft service. Press the end key to see the latest entries. Use arrow keys to move through the list. Type "Q" to close the log window. Adding "-e -f" at the end will show recent log details if needed. This setup doesn't support console command input directly.

P
ProGamer1214
Junior Member
18
01-22-2024, 04:36 PM
#8
Switching to Ubuntu instead of Ubuntu Server might fix some issues but could also lead to performance problems.
P
ProGamer1214
01-22-2024, 04:36 PM #8

Switching to Ubuntu instead of Ubuntu Server might fix some issues but could also lead to performance problems.

I
iKegreenS_
Posting Freak
878
01-23-2024, 04:35 PM
#9
Using Ubuntu instead of Ubuntu Server complicates setting up a consistently online background task. This simple service configuration worked well for me because someone had experience, and if not, I could briefly run the server in a shell. Curious, I looked into it—though I haven’t tried it myself. In the Service section of the config file, you can expose console input via the StandardInput field, and there’s likely an easy method to use this.
I
iKegreenS_
01-23-2024, 04:35 PM #9

Using Ubuntu instead of Ubuntu Server complicates setting up a consistently online background task. This simple service configuration worked well for me because someone had experience, and if not, I could briefly run the server in a shell. Curious, I looked into it—though I haven’t tried it myself. In the Service section of the config file, you can expose console input via the StandardInput field, and there’s likely an easy method to use this.

T
Theomanduff
Member
197
01-23-2024, 08:50 PM
#10
Thanks to everyone who reviewed this, I found Crafty helpful. Setting it up was easy, and it’s now functioning perfectly.
T
Theomanduff
01-23-2024, 08:50 PM #10

Thanks to everyone who reviewed this, I found Crafty helpful. Setting it up was easy, and it’s now functioning perfectly.