Datasets:

Languages:
English
Size:
n<1K
ArXiv:
License:
tianbaoxiexxx commited on
Commit
9c0a350
·
verified ·
1 Parent(s): dd86a22

Upload aliyun_config.sh

Browse files
Files changed (1) hide show
  1. aliyun_config.sh +6 -1
aliyun_config.sh CHANGED
@@ -26,7 +26,8 @@ sudo apt install -y \
26
  ffmpeg \
27
  socat \
28
  xclip \
29
- git
 
30
 
31
  # Install noVNC
32
  echo "Installing noVNC..."
@@ -133,6 +134,10 @@ sudo sed -i 's/#PubkeyAuthentication yes/PubkeyAuthentication yes/' /etc/ssh/ssh
133
  echo "Restarting SSH service..."
134
  sudo systemctl restart ssh
135
 
 
 
 
 
136
  # Enable systemd services
137
  echo "Enabling systemd services..."
138
  systemctl --user daemon-reload
 
26
  ffmpeg \
27
  socat \
28
  xclip \
29
+ git \
30
+ openssh-server
31
 
32
  # Install noVNC
33
  echo "Installing noVNC..."
 
134
  echo "Restarting SSH service..."
135
  sudo systemctl restart ssh
136
 
137
+ # Check if SSH is listening on port 22
138
+ echo "Verifying SSH is listening on port 22..."
139
+ sudo netstat -tlnp | grep :22
140
+
141
  # Enable systemd services
142
  echo "Enabling systemd services..."
143
  systemctl --user daemon-reload