Skip to content

Commit e0e734b

Browse files
committed
🎨 update Readme
1 parent 1061235 commit e0e734b

File tree

16 files changed

+236
-2
lines changed

16 files changed

+236
-2
lines changed

β€ŽREADME.mdβ€Ž

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
[![MseeP.ai Security Assessment Badge](https://mseep.net/pr/modelengine-group-nexent-badge.png)](https://mseep.ai/app/modelengine-group-nexent)
2-
31
![Nexent Banner](./assets/NexentBanner.png)
42

53
[![English](https://img.shields.io/badge/English-README-blue)](README.md)
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
pwd
2+
pwd
3+
ls -la
4+
pwd
5+
ls -la
6+
df -h
7+
ls -la
8+
pwd
9+
ls -la logs/
10+
ls -la custom-cont-init.d/
11+
cat logs/loginfo.txt
12+
cat custom-cont-init.d/99-sshd-timeout-config
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIKffjYHsaAgs2CP636ykBe03KR9UYApscn6NRTu/4XHi root@7e89bdb58508
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIKffjYHsaAgs2CP636ykBe03KR9UYApscn6NRTu/4XHi root@7e89bdb58508
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
#!/usr/bin/with-contenv bash
2+
3+
# Configure SSH timeout settings for nexent terminal tool
4+
echo "Configuring SSH timeout settings (60 minutes)..."
5+
6+
# Fix SSH host key permissions (must be 600 for private keys)
7+
echo "Fixing SSH host key permissions..."
8+
find /config -name "*_key" -type f -exec chmod 600 {} \; 2>/dev/null || true
9+
find /config/ssh_host_keys -name "*_key" -type f -exec chmod 600 {} \; 2>/dev/null || true
10+
echo "SSH host key permissions fixed"
11+
12+
# Append timeout configuration to sshd_config
13+
cat >> /config/sshd/sshd_config << 'SSHD_EOF'
14+
15+
# Nexent Terminal Tool - Session timeout configuration (60 minutes = 3600 seconds)
16+
ClientAliveInterval 300
17+
ClientAliveCountMax 12
18+
SSHD_EOF
19+
20+
echo "SSH timeout configuration applied successfully"
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
The current log file is named "current". The rotated log files are gzipped, named with a TAI64N timestamp and a ".s" extension
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
-----BEGIN OPENSSH PRIVATE KEY-----
2+
b3BlbnNzaC1rZXktdjEAAAAABG5vbmUAAAAEbm9uZQAAAAAAAAABAAAAaAAAABNlY2RzYS
3+
1zaGEyLW5pc3RwMjU2AAAACG5pc3RwMjU2AAAAQQR0QRXV2gLQge6hay8TR9zayzBNWtf1
4+
XhEXPdsvpdgf6T2y7Q8RJMy6AviwfUqrkr9Hb3WVZA5LKJJ1SqRqrGyYAAAAuKmFQqiphU
5+
KoAAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBHRBFdXaAtCB7qFr
6+
LxNH3NrLME1a1/VeERc92y+l2B/pPbLtDxEkzLoC+LB9SquSv0dvdZVkDksoknVKpGqsbJ
7+
gAAAAhAKzhlmW3JRAupS4GAnfRapHv3cZR8wuf0L44RDHXzTiNAAAAGnJvb3RAbmV4ZW50
8+
LW9wZW5zc2gtc2VydmVyAQIDBAU=
9+
-----END OPENSSH PRIVATE KEY-----
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBHRBFdXaAtCB7qFrLxNH3NrLME1a1/VeERc92y+l2B/pPbLtDxEkzLoC+LB9SquSv0dvdZVkDksoknVKpGqsbJg= root@nexent-openssh-server
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
-----BEGIN OPENSSH PRIVATE KEY-----
2+
b3BlbnNzaC1rZXktdjEAAAAABG5vbmUAAAAEbm9uZQAAAAAAAAABAAAAMwAAAAtzc2gtZW
3+
QyNTUxOQAAACBojXxqpEcBm4sZj+ton2rbB9XWaIBWRO6Y3mvFtixCUgAAAKBLrdVNS63V
4+
TQAAAAtzc2gtZWQyNTUxOQAAACBojXxqpEcBm4sZj+ton2rbB9XWaIBWRO6Y3mvFtixCUg
5+
AAAEDeYCbwP+CabBNb8E4IR+hThwrSdiLMG+PXNFllaF+r3miNfGqkRwGbixmP62ifatsH
6+
1dZogFZE7pjea8W2LEJSAAAAGnJvb3RAbmV4ZW50LW9wZW5zc2gtc2VydmVyAQID
7+
-----END OPENSSH PRIVATE KEY-----
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIGiNfGqkRwGbixmP62ifatsH1dZogFZE7pjea8W2LEJS root@nexent-openssh-server

0 commit comments

Comments
Β (0)