Essential Tools Flashcards
What is X11 Forwarding
The ability to send back a gui from the remote host
What is a server fingerprint
A server fingerprint is a unique identifier that gets replayed when you first connect. This is done to minimize the possibilty of a man in the middle attack
Where is a ssh servers fingerprint stored
.ssh/known_hosts
What does the ssh -l flag key do
Allows you to specify a username
What does the ssh -i flag key do
Allows you to specify a private key
How do you create the keys for ssh
ssh-keygen
What is the ssh-copy-id used for
Copying the public key over to the host
What do the rcp and sftp commands do
Copy files via ssh to the host
Where are ssh config files stored ?
Global ./etc/.ssh and per user ~/.ssh
What command searches bash history
ctrl r
What is the meaning of su - -c “”
Run a command as a user
What is the difference between su and su -
su just gives you an interactive shell where as su - also gives you a login shell
What file is not activated under just an interactive shell
.bash_profile
What is the point of the sudo command
Allows you to run a command that you dont have day to day access to
What is the difference between and archive and a compressed files.
An archive is a collection of files which can then be compressed