ssh
import { serializeSshConf } from 'sysopkit/op/ssh';serializeSshConf()
Section titled “serializeSshConf()”Serializes an SSH configuration object to ssh_config format:
const config = serializeSshConf({ 'Host github.com': { HostName: 'github.com', User: 'git', IdentityFile: '~/.ssh/id_ed25519', },});Output:
Host github.com HostName github.com User git IdentityFile ~/.ssh/id_ed25519