Quick links for servers and sites.
Config file path: ~/Library/Application Support/ssh-quick-connect/config.js
It is a js file with an exported list.
Config is a list of objects with type
and options
.
Available types:
-
command
— command to be run in the terminaltitle
— command's titledescription
— command hint to be showncommand
— command to be run
-
link
— link to be opened in browsertitle
— link's titleurl
— site's url
-
separator
— horizontal line -
label
— non-clickable item as labeltitle
— label's title
-
submenu
— list of itemstitle
— list's titleitems
— list of item objects (same structure as for main list)
module.exports = [
{
type: 'command',
options: {
title: 'Raspberry Pi',
description: 'RPi in my home local network',
command: 'ssh -J [email protected]:12345 -p 22222 root@localhost'
}
},
{ type: 'separator' },
{
type: 'label',
options: {
label: 'Aurora Hunters'
}
},
{
type: 'command',
options: {
title: 'Aurora',
command: 'ssh [email protected]'
}
},
{
type: 'link',
options: {
url: 'https://auroralights.ru'
},
},
{ type: 'separator' },
{
type: 'command',
options: {
title: 'Capella',
command: 'ssh -p 32221 [email protected]'
}
},
{
type: 'link',
options: {
url: 'https://capella.pics'
},
},
{ type: 'separator' },
{
type: 'submenu',
options: {
title: 'Example Servers',
items: [
{
type: 'command',
options: {
title: 'Example',
command: 'ssh [email protected]'
}
},
{
type: 'link',
options: {
url: 'https://example.com'
},
},
{
type: 'link',
options: {
url: 'https://hello.example.com/'
},
},
]
}
},
];