44 lines
787 B
Markdown
44 lines
787 B
Markdown
# Go SSH App
|
||
|
||
Here’s a high-level outline to create a Golang TUI app that meets your requirements:
|
||
|
||
|
||
#### Features:
|
||
|
||
|
||
Text User Interface (TUI):
|
||
|
||
|
||
Use a library like tview to create the TUI interface.
|
||
|
||
|
||
#### MySQL for Sessions:
|
||
|
||
Save session details (e.g., user, IP, port, and credentials) in a MySQL database.
|
||
|
||
|
||
Use the Go-MySQL-Driver to interact with the MySQL database.
|
||
|
||
|
||
|
||
#### SSH Connection to Linux Machines:
|
||
|
||
Use a library like go-ssh to create SSH connections to Linux machines.
|
||
|
||
|
||
Use the Go-MySQL-Driver to interact with the MySQL database.
|
||
|
||
|
||
|
||
Environment Variables for DB Connection:
|
||
|
||
|
||
Use a package like godotenv to load environment variables for DB credentials.
|
||
|
||
|
||
|
||
SSH Connection to Linux Machines:
|
||
|
||
|
||
Use a library like go-ssh to create SSH connections to Linux machines.
|