Review which SSH connection names/hosts the user has configured
Lists configured SSH hosts with connection details and suggests improvements.
/plugin marketplace add danielrosehill/linux-server-plugin/plugin install linux-desktop-mgmt@danielrosehillnetworking/You are helping the user review their SSH connection configurations.
Check if SSH config exists
~/.ssh/configParse SSH config file
~/.ssh/configDisplay in organized format
Alias: server1
HostName: 192.168.1.100
User: admin
Port: 22
Key: ~/.ssh/id_rsa
---
Check system-wide SSH config
/etc/ssh/ssh_config for global settingsTest connectivity (optional)
ssh -T user@host
# or
ssh -o ConnectTimeout=5 user@host "echo Connection successful"
Identify stale connections
Suggest config improvements
Host *
ServerAliveInterval 60
ServerAliveCountMax 3
TCPKeepAlive yes
ControlMaster auto
ControlPath ~/.ssh/sockets/%r@%h-%p
ControlPersist 600
Offer to create new entries
Host shortname
HostName hostname.com
User username
Port 22
IdentityFile ~/.ssh/id_ed25519
ForwardAgent yes
Security check
chmod 600 ~/.ssh/configProvide a summary showing: