3 ms·
Regarding the SSH tricks: If you change the port of SSH, change it to still use a port under 1024. On most Unix systems these are privileged ports that requir
by Periodic 17y ago
Regarding the SSH tricks:
If you change the port of SSH, change it to still use a port under 1024. On most Unix systems these are privileged ports that require root to open. This ensures that if there is a process listening there that it was opened by root and not some intruder hoping to get your password to sudo to higher privileges.
Regarding removing reserved space:
Be careful doing this on some file systems. Some filesystems may need to write more data to a journal or are set up with copy-on write and will not be able to delete files if you have no space left on the disk. Reserving a little extra space for this can be necessary. A little extra space also lets you have some space to work with if you need to temporarily create or move files before you can free up the space.
Also, if you're going to use a non-standard port, set up your .ssh/config!
Host s
hostname server
port 666
That is a little more versatile than setting up an alias as it will work from any shell and you can specify any ssh daemon in there.
See `man ssh_config` for more info.
- tome 17y agoThere's no benefit to using a port under 1024 if you actually verify the host key signature is there?
- JoachimSchipper 17y agoAdditionally, (almost all) Unix filesystems do not fragment under normal use. This is far superior to FAT, which does have this problem, but also means that there's typically no way to defragment them short of recreating them. A nearly-full disk is not "normal use" in the above sense.
- ciupicri 17y agoXFS (from SGI) has xfs_fsr for defragmentation. It's not perfect, but it's better than nothing.
- ciupicri 17y agoGiven the fact that most systems will start the SSH daemon at boot time, a regular user won't be able to use its port.