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/312.kebler.net/function/ssh-mounts/312

19 lines
594 B
Plaintext
Raw Normal View History

2021-07-04 17:17:32 -07:00
#!/bin/
function mnt312admin() {
smount sysadmin@admin.312.kebler.net:/home/sysadmin /mnt/312/admin/sysadmin -p 22
smount sysadmin@admin.312.kebler.net:/opt /mnt/312/admin/opt -p 22
smount sysadmin@admin.312.kebler.net:/mnt/data /mnt/312/admin/data -p 22
smount root@admin.312.kebler.net:/ /mnt/312/admin/root -p 22
smount root@admin.312.kebler.net:/etc /mnt/312/admin/etc -p 22
}
function umnt312admin() {
usmount /mnt/312/admin/opt
usmount /mnt/312/admin/data
usmount /mnt/312/admin/root
usmount /mnt/312/admin/etc
usmount /mnt/312/admin/sysadmin
}