This repository has been archived on 2022-02-20. You can view files and clone it, but cannot push or open issues/pull-requests.
bash-shell-network/238.kebler.net/function/ssh-mounts/hacking

43 lines
1.1 KiB
Plaintext
Raw Permalink Normal View History

#!/bin/bash
function mntpine64(){
smount sysadmin@pine64.kebler.net:/home/sysadmin /mnt/pine64/sysadmin -p 22
smount sysadmin@pine64.kebler.net:/opt /mnt/pine64/opt -p 22
smount root@pine64.kebler.net:/ /mnt/pine64/root -p 22
}
function umntpine64(){
usmount /mnt/pine64/opt
usmount /mnt/pine64/root
usmount /mnt/pine64/sysadmin
}
function mntrock64(){
smount sysadmin@rock64.kebler.net:/home/sysadmin /mnt/rock64/sysadmin -p 22
smount sysadmin@rock64.kebler.net:/opt /mnt/rock64/opt -p 22
smount root@rock64.kebler.net:/ /mnt/rock64/root -p 22
}
function umntrock64(){
usmount /mnt/rock64/opt
usmount /mnt/rock64/root
usmount /mnt/rock64/sysadmin
}
function mnthass(){
smount root@hassio.kebler.net:/ /mnt/hass -p 22
}
function umnthass(){
usmount /mnt/hass
}
function mntrpi4(){
smount sysadmin@rpi4focal.kebler.net:/home/sysadmin /mnt/rpi4focal/sysadmin -p 22
smount sysadmin@rpi4focal.kebler.net:/opt /mnt/rpi4focal/opt -p 22
smount root@rpi4focal.kebler.net:/ /mnt/rpi4focal/root -p 22
}
function umntrpi4(){
usmount /mnt/rpi4focal/opt
usmount /mnt/rpi4focal/root
usmount /mnt/rpi4focal/sysadmin
}