mirror of
https://github.com/moons-14/dotfiles.git
synced 2026-10-06 07:28:12 +09:00
ssh
This commit is contained in:
@@ -41,6 +41,9 @@ in
|
|||||||
"*" = {
|
"*" = {
|
||||||
IdentityFile = cfg.defaultIdentityFile;
|
IdentityFile = cfg.defaultIdentityFile;
|
||||||
AddKeysToAgent = cfg.addKeysToAgent;
|
AddKeysToAgent = cfg.addKeysToAgent;
|
||||||
|
SetEnv = {
|
||||||
|
TERM = "xterm";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -50,6 +50,7 @@ in
|
|||||||
# ---- from gist: aliases ----
|
# ---- from gist: aliases ----
|
||||||
alias docker-compose="docker compose"
|
alias docker-compose="docker compose"
|
||||||
alias clearsign='export GPG_TTY=$(tty) && openssl rand -hex 16 | gpg --clearsign'
|
alias clearsign='export GPG_TTY=$(tty) && openssl rand -hex 16 | gpg --clearsign'
|
||||||
|
alias lssh='ssh -o KexAlgorithms=+diffie-hellman-group14-sha1,diffie-hellman-group1-sha1 -o Ciphers=+aes256-cbc,aes128-cbc -o HostKeyAlgorithms=+ssh-rsa -o SetEnv=TERM=xterm'
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user