home-manager now manages ssh client profiles
This commit is contained in:
parent
f46de5b1d7
commit
16c4e77524
2 changed files with 15 additions and 1 deletions
|
|
@ -16,7 +16,7 @@ them test small things or for giving them files.
|
||||||
|
|
||||||
|
|
||||||
## Setup Guide
|
## Setup Guide
|
||||||
##### New Colmena Instance
|
##### Adding a New Server
|
||||||
Enable an ssh server on the remote host, then on the
|
Enable an ssh server on the remote host, then on the
|
||||||
local machine set `.ssh/config` to have a profile for
|
local machine set `.ssh/config` to have a profile for
|
||||||
your desired host and have a key pair that's authorised
|
your desired host and have a key pair that's authorised
|
||||||
|
|
|
||||||
|
|
@ -100,6 +100,20 @@
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
# set ssh profiles
|
||||||
|
# (all we need is hyrule, everything else is through wishlist)
|
||||||
|
ssh = {
|
||||||
|
enable = true;
|
||||||
|
matchBlocks = {
|
||||||
|
hyrule = {
|
||||||
|
hostname = "imbored.dev";
|
||||||
|
user = "ae";
|
||||||
|
port = 22;
|
||||||
|
identityFile = "/home/me/.ssh/id_hyrule";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
# I want to use fish as my login shell but it always
|
# I want to use fish as my login shell but it always
|
||||||
# goes terrible cause it isn't POSIX compliant, so
|
# goes terrible cause it isn't POSIX compliant, so
|
||||||
# instead Bash is my login and it will just exec fish
|
# instead Bash is my login and it will just exec fish
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue