dotfiles/ssh-config.nix.example

12 lines
298 B
Plaintext

# Part of config, to remote machine aliases for SSH
{ ... }: {
programs.ssh.extraConfig = ''
Host my-remote-machine # alias to do "ssh my remote-machine"
HostName 192.192.192.192 # ip/hostname
User my-user # username
# ... other hosts
'';
}