mirror of
https://github.com/veops/oneterm.git
synced 2025-09-27 03:36:02 +08:00
2.8 KiB
2.8 KiB
OneTerm
OneTerm
Bastion Host, based on the 4A concept, i.e., Authentication, Authorization, Account, and Audit, is designed and developed.
Main use
: It is mainly used for products that enhance IT internal control and compliance security by implementing control and audit of IT personnel's operating behaviors in enterprises.
Main functions
: role management, authorization approval, resource access control, session audit, etc.
🚀Install
docker-compose
git clone https://github.com/veops/oneterm.git
cd oneterm
docker-compose up -d
✅ Validation
- View: http://127.0.0.1:8000
- username: admin
- password: 123456
SSH
View
Login
ssh -p12229 admin@127.0.0.1 # Note that the port, user, and address need to be replaced with your current environment
Passwordless Login Configuration
Terminal passwordless login is designed for enhanced security and convenience.
- Generate and retrieve the public key, get the MAC address
ssh-keygen -t ed25519 # Generate the key following the prompts
cat /root/.ssh/id_ed25519.pub # Copy the public key. The public key address is obtained from the generation process as shown in the previous step
ifconfig | grep -B1 "xxx.xxx.xxx.xxx" | awk '/ether/{print $2}' # Get the MAC address, replace xxx.xxx.xxx.xxx with your local IP
More Streamlined Login Method
ssh oneterm
To achieve this effect, you can configure as follows:
- Create the ssh config file
touch ~/.ssh/config
- Add the following content to
~/.ssh/config
Host oneterm
HostName 127.0.0.1 # Replace with the address of your oneterm's ssh server
Port 12229 # Replace with the port of your oneterm's ssh server
User admin # Replace with your platform user on oneterm
📚Docs
doc link:https://veops.cn/docs/docs/oneterm/onterm_design
🎯TODO
- RDP
- VNC
🔗Releated Projects
go-ansiterm:Linux terminal emulator
🤝Community
Welcome to follow our WeChat official account and join our group channels