You are on page 1of 9

Acció

Remote connection file transfer

Remote access
Windows
Powershell: portion of the PuTTY package allows you to perform file transfers
using the SCP (Secure Copy) protocol
pscp.exe file user@IP:

Compartir directoris: Shared folders


Powershell: net share
Directori shareme a escriptori
net share ShareMe=C:\Users\User\Destkop\ShareMe /grant:everyone,full

List shared folders: net share

a Linux: putty
mstsc.exe (GUI)
Linux
Bash:
scp file user@IP:

ssh
Acció
Event log
Windows
Event log viewer
eventvwr.exe
Linux
Logs en /var/log
Tot excepte events a /var/log/syslog
Let's check out some of the common ones you'll look at, /var/log/auth.log,
authorization and security-related events are logged here. /var/log/kern.log,
kernel messages are logged here. /var/log/dmesg, system startup messages are
logged here.

Centralized logging: set up centralized server


Logrotate: clean up logs
logrotate ‐ rotates, compresses, and mails system logs
https://manpages.ubuntu.com/manpages/focal/en/man8/logrotate.8.html
look at logs in realtime
tail -f /var/log/syslog
Acció
We learned how to install an operating system for ourselves, but when you
work in an IT support role, you have to install operating systems for everyone
else. Installing an operating system with a single USB stick like we did in the very
early lessons of this program, can get extremely time consuming, especially
when you need to do it for lots of machines. Fortunately, in the IT world we use
fantastic tools to make our jobs easier. Remember that imaging a machine,
means to format a machine with an image of another machine. This includes
everything, from the operating system to the settings. In this lesson, we are
going to briefly touch upon some of the options you can use to image machines,
and help deploy operating systems a little easier.

Disk clooning tools


Windows

Clonezilla
Symantec Ghost
Linux

dd

https://man7.org/linux/man-pages/man1/dd.1.html

You might also like