1
0
Fork 0

Update ssh config

This commit is contained in:
Daniel Kempkens 2022-01-11 23:13:08 +01:00
parent f6a41038ed
commit 06302c9d23
2 changed files with 12 additions and 1 deletions

View file

@ -51,8 +51,14 @@
compression = true; compression = true;
}; };
"router" = {
hostname = "10.0.0.1";
port = 22;
user = "root";
};
"nas" = { "nas" = {
host = "10.0.0.100"; hostname = "10.0.0.100";
port = 22; port = 22;
user = "daniel"; user = "daniel";
identitiesOnly = true; identitiesOnly = true;
@ -60,5 +66,9 @@
compression = true; compression = true;
}; };
}; };
includes = [
"~/.ssh/config_work"
];
}; };
} }

View file

@ -64,6 +64,7 @@
lg = "exa --long --all --group --header --git"; lg = "exa --long --all --group --header --git";
lt = "exa --long --all --group --header --tree --level "; lt = "exa --long --all --group --header --tree --level ";
docker = "podman"; docker = "podman";
sshfb = "env TERM=xterm-256color /usr/bin/ssh";
ytdl = "ytdl_with_options"; ytdl = "ytdl_with_options";
ytdl_mp4 = "ytdl_with_options -f 'bestvideo[ext=mp4]+bestaudio[ext=m4a]/best[ext=mp4]'"; ytdl_mp4 = "ytdl_with_options -f 'bestvideo[ext=mp4]+bestaudio[ext=m4a]/best[ext=mp4]'";
yti = "ytdl_with_options -F"; yti = "ytdl_with_options -F";