Remove fstab and add ssh config

This commit is contained in:
Brieuc Dubois 2024-02-11 16:35:44 +01:00
parent 8474971e1d
commit cf1c5fb05c
3 changed files with 112 additions and 15 deletions

1
.gitignore vendored
View File

@ -3,5 +3,6 @@ root/etc/wireguard/*.conf
.smb .smb
root/home/bhasher/.ssh/* root/home/bhasher/.ssh/*
!root/home/bhasher/.ssh/*.enc !root/home/bhasher/.ssh/*.enc
!root/home/bhasher/.ssh/config
root/home/bhasher/.gnupg/pubkeys/* root/home/bhasher/.gnupg/pubkeys/*
!root/home/bhasher/.gnupg/pubkeys/*.enc !root/home/bhasher/.gnupg/pubkeys/*.enc

View File

@ -1,14 +0,0 @@
# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a device; this may
# be used with UUID= as a more robust way to name devices that works even if
# disks are added and removed. See fstab(5).
#
# <file system> <mount point> <type> <options> <dump> <pass>
UUID=5E89-61D3 /efi vfat defaults,noatime 0 2
UUID=5cb21f05-2194-4a7b-98e0-20eb572e2a83 / ext4 defaults,noatime 0 1
UUID=21e2b927-a86a-4232-a312-b95087267942 swap swap defaults 0 0
tmpfs /tmp tmpfs defaults,noatime,mode=1777 0 0
//192.168.1.201/brieuc /mnt/brieuc cifs credentials=/home/bhasher/.smb,uid=bhasher,gid=bhasher 0 0
//192.168.1.201/commun /mnt/commun cifs credentials=/home/bhasher/.smb,uid=bhasher,gid=bhasher 0 0
//192.168.1.201/movies /mnt/movies cifs credentials=/home/bhasher/.smb,uid=bhasher,gid=bhasher 0 0

View File

@ -0,0 +1,110 @@
Host snode0 192.168.1.220
Hostname 192.168.1.220
User pi
IdentityFile ~/.ssh/snodes
Host pikot 10.0.0.200
Hostname 10.0.0.200
User pi
Host truenas freenas snas 192.168.1.201
Hostname 192.168.1.201
User bhasher
IdentityFile ~/.ssh/snode
Host synnas 10.0.0.201
Hostname 10.0.0.201
User admin
Host vps bdubois.io
Hostname bdubois.io
User debian
IdentityFile ~/.ssh/ovh_vps
Host llnux
Hostname 10.0.0.1
Port 1234
User docker
Host llnux-vpn
Hostname 192.168.30.2
Port 22
User docker
Host ingi
Hostname studssh.info.ucl.ac.be
IdentityFile ~/.ssh/ingi_ed25519
ServerAliveInterval 60
Port 22
User bridubois
#ForwardX11Trusted yes
#LocalForward 10000 localhost:10000
Host llnuxingi llnux-ingi
Hostname kot-li-nux.info.ucl.ac.be
IdentityFile ~/.ssh/llnux-ingi_rsa
User root
ForwardX11Trusted yes
DynamicForward 10000
ProxyCommand ssh -q -W %h:%p ingi
Host mininet
Hostname 130.104.229.9
User root
IdentityFile ~/.ssh/mininet
ForwardX11Trusted yes
DynamicForward 10000
Port 2020
ProxyCommand ssh -q -W %h:%p ingi
Host miniweb
Hostname studssh.info.ucl.ac.be
IdentityFile ~/.ssh/ingi_ed25519
ServerAliveInterval 60
Port 22
User bridubois
LocalForward 127.0.0.1:8080 130.104.229.9:80
Host shp 192.168.1.221
Hostname 192.168.1.221
User shp
IdentityFile ~/.ssh/snodes
Host forge.uclouvain.be
User git
IdentityFile ~/.ssh/gitkey
Host github.com
User git
IdentityFile ~/.ssh/gitkey
Host git.nrbdigital.be
User git
IdentityFile ~/.ssh/nrb
Host gitlab.com
User git
IdentityFile ~/.ssh/gitlab
Host git.bhasher.com
User git
Port 2222
Hostname 192.168.1.221
IdentityFile ~/.ssh/gitea
Host linfo2145-1
User linfo2145
Hostname linfo2145-1.westeurope.cloudapp.azure.com
IdentityFile ~/.ssh/LINFO2145_key.pem
Host linfo2145-2
User linfo2145
Hostname linfo2145-2.westeurope.cloudapp.azure.com
IdentityFile ~/.ssh/LINFO2145_key.pem
Host aur.archlinux.org
IdentityFile ~/.ssh/aur
User aur
Host *
IdentitiesOnly=yes