bash | removed last(?) call to .bash_ssh
This commit is contained in:
parent
3621c490db
commit
2e11398af9
2 changed files with 8 additions and 7 deletions
|
|
@ -18,38 +18,38 @@
|
||||||
# REVISION: ---
|
# REVISION: ---
|
||||||
#===============================================================================
|
#===============================================================================
|
||||||
|
|
||||||
|
# Switched to use tailscale ssh, so removed call to ~/.bash_ssh
|
||||||
function nssh ()
|
function nssh ()
|
||||||
{
|
{
|
||||||
. ~/.bash_ssh
|
|
||||||
ssh-keygen -R "${1}"
|
ssh-keygen -R "${1}"
|
||||||
ssh "${@}"
|
ssh "${@}"
|
||||||
}
|
}
|
||||||
|
|
||||||
function ss ()
|
function ss ()
|
||||||
{
|
{
|
||||||
tmux neww -n "${1}" ". ~/.bash_ssh ; ssh ${*}"
|
tmux neww -n "${1}" "ssh ${*}"
|
||||||
}
|
}
|
||||||
|
|
||||||
function mss ()
|
function mss ()
|
||||||
{
|
{
|
||||||
tmux neww -n "${1}" ". ~/.bash_ssh ; mosh ${*}"
|
tmux neww -n "${1}" "mosh ${*}"
|
||||||
}
|
}
|
||||||
|
|
||||||
function nss ()
|
function nss ()
|
||||||
{
|
{
|
||||||
ssh-keygen -R "${1}"
|
ssh-keygen -R "${1}"
|
||||||
tmux neww -n "${1}" ". ~/.bash_ssh ; ssh ${*}"
|
tmux neww -n "${1}" "ssh ${*}"
|
||||||
}
|
}
|
||||||
|
|
||||||
function pss ()
|
function pss ()
|
||||||
{
|
{
|
||||||
tmux split-window -h ". ~/.bash_ssh ; ssh ${*}"
|
tmux split-window -h "ssh ${*}"
|
||||||
}
|
}
|
||||||
|
|
||||||
function pnss ()
|
function pnss ()
|
||||||
{
|
{
|
||||||
ssh-keygen -R "${1}"
|
ssh-keygen -R "${1}"
|
||||||
tmux split-window -h ". ~/.bash_ssh ; ssh ${*}"
|
tmux split-window -h "ssh ${*}"
|
||||||
}
|
}
|
||||||
|
|
||||||
function yay ()
|
function yay ()
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,5 @@
|
||||||
. ~/.bash_ssh
|
# Switched to use tailscale ssh, so removed call to ~/.bash_ssh
|
||||||
|
# . ~/.bash_ssh
|
||||||
#export TZ=America/Chicago
|
#export TZ=America/Chicago
|
||||||
if [[ "$(tty)" = "/dev/tty1" ]]
|
if [[ "$(tty)" = "/dev/tty1" ]]
|
||||||
then
|
then
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue