You are on page 1of 2

CYB 532 SSH SCAV LAB

Praneeth Reddy Seelam


ID: 3911948

a) SSH (Secure Shell) is used to provide the best security, when accessing another computer
remotely .It not only encrypt the session .It also provides better authentication facilities,
session forwarding, port forwarding and secure file transfer.

b) b) The secure shell provides more security by providing encrypting passwords to keep
them from being sniffed and also provides more positive authentication than simple
password exchange.
The telnet problems that Ssh fixes are:
It automatically forwards the X display.
It allow user to log on without the password, even though there may not be same
IP address.

c) To see what is in .ssh/known hosts file the command used is: cat ~/ .ssh/known hosts.
This file contains the encrypted data and we see it has sh rsa where it used rsa algorithm

d) sshd configuration files on centros linux.


e)sshd configuration with the known keys : firstly generate RSA key pair by using ssh-keygen t
rsa and then store the keys and paraface and then copy it.

f) Sometimes when we login to the host systems and connect to it and accept the key, and tried to
rebuild it .When we try to log in again it asks for the reconnect because it saved a previous
hashed host-name so to remove it we have to go to gedit and then remove the line to get access.

g) According to me I think updating a computer in Linux can take place by yum update and
while updating we might make sure that ssh keys are not changed. If not we can use the
command ssh-keygen it automatically create a key for current user or install the openssh server
package which automatically generates server keys.

h) To set the ssh we can log into a remote machine without password: run ssh-keygen and then
copy the pulic key to remote host using the command:ssh-copy-id I ~/.ssh/id_rsa.pub
remote_host and then log in to the gem125 with uut password.

i)SSH tunelling is used to perform port forwording mechanishms in different ways,they are :
Local port forwarding
Remote port forwarding
Dynamic port forwarding

For example :The port forwording from irving to windows the ssh port 22 to X server takes place
from the local host where fake X server present in sshd and port 22 farwords it to sshd and then
to x-server in Windows (152.228.80.60).
I have not given or received, nor have I tolerated others use of unauthorized aid.

You might also like