Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 72

How to Set up SSH Server

Check and see if SSH is running


root@kali~#: service –status-all

install SSH Server


root@kali~#: apt-get install openssh-server

start SSH
root@kali~#: service ssh start

check the SSH status if active running


root@kali~#: service ssh status

go to /etc/ssh
root@kali~#: cd /etc/ssh

root@kali~#: ls

edit the SSHD_CONFIG file


root@kali~#: nano sshd_config

change the port you want

root@kali~#: service ssh restart

Create RSA key of authentication

root@kali~#: ssh-keygen –t rsa

Enter file in which to save the key (/root/.ssh/id_rsa):

Created directory ‘/root/.ssh’.

Enter passphrase (empty for no passphrase):

Enter same passpharse again:

How to Set up SSH Server

Check and see if SSH is running


root@kali~#: service –status-all

install SSH Server


root@kali~#: apt-get install openssh-server

start SSH
root@kali~#: service ssh start

check the SSH status if active running


root@kali~#: service ssh status

go to /etc/ssh
root@kali~#: cd /etc/ssh

root@kali~#: ls

edit the SSHD_CONFIG file


root@kali~#: nano sshd_config

change the port you want

root@kali~#: service ssh restart

Create RSA key of authentication

root@kali~#: ssh-keygen –t rsa

Enter file in which to save the key (/root/.ssh/id_rsa):

Created directory ‘/root/.ssh’.

Enter passphrase (empty for no passphrase):

Enter same passpharse again:

How to Set up SSH Server

Check and see if SSH is running


root@kali~#: service –status-all
install SSH Server
root@kali~#: apt-get install openssh-server

start SSH
root@kali~#: service ssh start

check the SSH status if active running


root@kali~#: service ssh status

go to /etc/ssh
root@kali~#: cd /etc/ssh

root@kali~#: ls

edit the SSHD_CONFIG file


root@kali~#: nano sshd_config

change the port you want

root@kali~#: service ssh restart

Create RSA key of authentication

root@kali~#: ssh-keygen –t rsa

Enter file in which to save the key (/root/.ssh/id_rsa):

Created directory ‘/root/.ssh’.

Enter passphrase (empty for no passphrase):

Enter same passpharse again:

How to Set up SSH Server

Check and see if SSH is running


root@kali~#: service –status-all

install SSH Server


root@kali~#: apt-get install openssh-server

start SSH
root@kali~#: service ssh start

check the SSH status if active running


root@kali~#: service ssh status

go to /etc/ssh
root@kali~#: cd /etc/ssh

root@kali~#: ls

edit the SSHD_CONFIG file


root@kali~#: nano sshd_config

change the port you want

root@kali~#: service ssh restart

Create RSA key of authentication

root@kali~#: ssh-keygen –t rsa

Enter file in which to save the key (/root/.ssh/id_rsa):

Created directory ‘/root/.ssh’.

Enter passphrase (empty for no passphrase):

Enter same passpharse again:

How to Set up SSH Server

Check and see if SSH is running


root@kali~#: service –status-all

install SSH Server


root@kali~#: apt-get install openssh-server
start SSH
root@kali~#: service ssh start

check the SSH status if active running


root@kali~#: service ssh status

go to /etc/ssh
root@kali~#: cd /etc/ssh

root@kali~#: ls

edit the SSHD_CONFIG file


root@kali~#: nano sshd_config

change the port you want

root@kali~#: service ssh restart

Create RSA key of authentication

root@kali~#: ssh-keygen –t rsa

Enter file in which to save the key (/root/.ssh/id_rsa):

Created directory ‘/root/.ssh’.

Enter passphrase (empty for no passphrase):

Enter same passpharse again:

How to Set up SSH Server

Check and see if SSH is running


root@kali~#: service –status-all

install SSH Server


root@kali~#: apt-get install openssh-server

start SSH
root@kali~#: service ssh start

check the SSH status if active running


root@kali~#: service ssh status

go to /etc/ssh
root@kali~#: cd /etc/ssh

root@kali~#: ls

edit the SSHD_CONFIG file


root@kali~#: nano sshd_config

change the port you want

root@kali~#: service ssh restart

Create RSA key of authentication

root@kali~#: ssh-keygen –t rsa

Enter file in which to save the key (/root/.ssh/id_rsa):

Created directory ‘/root/.ssh’.

Enter passphrase (empty for no passphrase):

Enter same passpharse again:

How to Set up SSH Server

Check and see if SSH is running


root@kali~#: service –status-all

install SSH Server


root@kali~#: apt-get install openssh-server

start SSH
root@kali~#: service ssh start
check the SSH status if active running
root@kali~#: service ssh status

go to /etc/ssh
root@kali~#: cd /etc/ssh

root@kali~#: ls

edit the SSHD_CONFIG file


root@kali~#: nano sshd_config

change the port you want

root@kali~#: service ssh restart

Create RSA key of authentication

root@kali~#: ssh-keygen –t rsa

Enter file in which to save the key (/root/.ssh/id_rsa):

Created directory ‘/root/.ssh’.

Enter passphrase (empty for no passphrase):

Enter same passpharse again:

How to Set up SSH Server

Check and see if SSH is running


root@kali~#: service –status-all

install SSH Server


root@kali~#: apt-get install openssh-server

start SSH
root@kali~#: service ssh start

check the SSH status if active running


root@kali~#: service ssh status

go to /etc/ssh
root@kali~#: cd /etc/ssh

root@kali~#: ls

edit the SSHD_CONFIG file


root@kali~#: nano sshd_config

change the port you want

root@kali~#: service ssh restart

Create RSA key of authentication

root@kali~#: ssh-keygen –t rsa

Enter file in which to save the key (/root/.ssh/id_rsa):

Created directory ‘/root/.ssh’.

Enter passphrase (empty for no passphrase):

Enter same passpharse again:

How to Set up SSH Server

Check and see if SSH is running


root@kali~#: service –status-all

install SSH Server


root@kali~#: apt-get install openssh-server

start SSH
root@kali~#: service ssh start

check the SSH status if active running


root@kali~#: service ssh status
go to /etc/ssh
root@kali~#: cd /etc/ssh

root@kali~#: ls

edit the SSHD_CONFIG file


root@kali~#: nano sshd_config

change the port you want

root@kali~#: service ssh restart

Create RSA key of authentication

root@kali~#: ssh-keygen –t rsa

Enter file in which to save the key (/root/.ssh/id_rsa):

Created directory ‘/root/.ssh’.

Enter passphrase (empty for no passphrase):

Enter same passpharse again:

How to Set up SSH Server

Check and see if SSH is running


root@kali~#: service –status-all

install SSH Server


root@kali~#: apt-get install openssh-server

start SSH
root@kali~#: service ssh start

check the SSH status if active running


root@kali~#: service ssh status

go to /etc/ssh
root@kali~#: cd /etc/ssh

root@kali~#: ls

edit the SSHD_CONFIG file


root@kali~#: nano sshd_config

change the port you want

root@kali~#: service ssh restart

Create RSA key of authentication

root@kali~#: ssh-keygen –t rsa

Enter file in which to save the key (/root/.ssh/id_rsa):

Created directory ‘/root/.ssh’.

Enter passphrase (empty for no passphrase):

Enter same passpharse again:

How to Set up SSH Server

Check and see if SSH is running


root@kali~#: service –status-all

install SSH Server


root@kali~#: apt-get install openssh-server

start SSH
root@kali~#: service ssh start

check the SSH status if active running


root@kali~#: service ssh status

go to /etc/ssh
root@kali~#: cd /etc/ssh
root@kali~#: ls

edit the SSHD_CONFIG file


root@kali~#: nano sshd_config

change the port you want

root@kali~#: service ssh restart

Create RSA key of authentication

root@kali~#: ssh-keygen –t rsa

Enter file in which to save the key (/root/.ssh/id_rsa):

Created directory ‘/root/.ssh’.

Enter passphrase (empty for no passphrase):

Enter same passpharse again:

How to Set up SSH Server

Check and see if SSH is running


root@kali~#: service –status-all

install SSH Server


root@kali~#: apt-get install openssh-server

start SSH
root@kali~#: service ssh start

check the SSH status if active running


root@kali~#: service ssh status

go to /etc/ssh
root@kali~#: cd /etc/ssh

root@kali~#: ls
edit the SSHD_CONFIG file
root@kali~#: nano sshd_config

change the port you want

root@kali~#: service ssh restart

Create RSA key of authentication

root@kali~#: ssh-keygen –t rsa

Enter file in which to save the key (/root/.ssh/id_rsa):

Created directory ‘/root/.ssh’.

Enter passphrase (empty for no passphrase):

Enter same passpharse again:

How to Set up SSH Server

Check and see if SSH is running


root@kali~#: service –status-all

install SSH Server


root@kali~#: apt-get install openssh-server

start SSH
root@kali~#: service ssh start

check the SSH status if active running


root@kali~#: service ssh status

go to /etc/ssh
root@kali~#: cd /etc/ssh

root@kali~#: ls

edit the SSHD_CONFIG file


root@kali~#: nano sshd_config

change the port you want

root@kali~#: service ssh restart

Create RSA key of authentication

root@kali~#: ssh-keygen –t rsa

Enter file in which to save the key (/root/.ssh/id_rsa):

Created directory ‘/root/.ssh’.

Enter passphrase (empty for no passphrase):

Enter same passpharse again:

How to Set up SSH Server

Check and see if SSH is running


root@kali~#: service –status-all

install SSH Server


root@kali~#: apt-get install openssh-server

start SSH
root@kali~#: service ssh start

check the SSH status if active running


root@kali~#: service ssh status

go to /etc/ssh
root@kali~#: cd /etc/ssh

root@kali~#: ls

edit the SSHD_CONFIG file


root@kali~#: nano sshd_config
change the port you want

root@kali~#: service ssh restart

Create RSA key of authentication

root@kali~#: ssh-keygen –t rsa

Enter file in which to save the key (/root/.ssh/id_rsa):

Created directory ‘/root/.ssh’.

Enter passphrase (empty for no passphrase):

Enter same passpharse again:

How to Set up SSH Server

Check and see if SSH is running


root@kali~#: service –status-all

install SSH Server


root@kali~#: apt-get install openssh-server

start SSH
root@kali~#: service ssh start

check the SSH status if active running


root@kali~#: service ssh status

go to /etc/ssh
root@kali~#: cd /etc/ssh

root@kali~#: ls

edit the SSHD_CONFIG file


root@kali~#: nano sshd_config

change the port you want


root@kali~#: service ssh restart

Create RSA key of authentication

root@kali~#: ssh-keygen –t rsa

Enter file in which to save the key (/root/.ssh/id_rsa):

Created directory ‘/root/.ssh’.

Enter passphrase (empty for no passphrase):

Enter same passpharse again:

How to Set up SSH Server

Check and see if SSH is running


root@kali~#: service –status-all

install SSH Server


root@kali~#: apt-get install openssh-server

start SSH
root@kali~#: service ssh start

check the SSH status if active running


root@kali~#: service ssh status

go to /etc/ssh
root@kali~#: cd /etc/ssh

root@kali~#: ls

edit the SSHD_CONFIG file


root@kali~#: nano sshd_config

change the port you want

root@kali~#: service ssh restart


Create RSA key of authentication

root@kali~#: ssh-keygen –t rsa

Enter file in which to save the key (/root/.ssh/id_rsa):

Created directory ‘/root/.ssh’.

Enter passphrase (empty for no passphrase):

Enter same passpharse again:

How to Set up SSH Server

Check and see if SSH is running


root@kali~#: service –status-all

install SSH Server


root@kali~#: apt-get install openssh-server

start SSH
root@kali~#: service ssh start

check the SSH status if active running


root@kali~#: service ssh status

go to /etc/ssh
root@kali~#: cd /etc/ssh

root@kali~#: ls

edit the SSHD_CONFIG file


root@kali~#: nano sshd_config

change the port you want

root@kali~#: service ssh restart

Create RSA key of authentication


root@kali~#: ssh-keygen –t rsa

Enter file in which to save the key (/root/.ssh/id_rsa):

Created directory ‘/root/.ssh’.

Enter passphrase (empty for no passphrase):

Enter same passpharse again:

How to Set up SSH Server

Check and see if SSH is running


root@kali~#: service –status-all

install SSH Server


root@kali~#: apt-get install openssh-server

start SSH
root@kali~#: service ssh start

check the SSH status if active running


root@kali~#: service ssh status

go to /etc/ssh
root@kali~#: cd /etc/ssh

root@kali~#: ls

edit the SSHD_CONFIG file


root@kali~#: nano sshd_config

change the port you want

root@kali~#: service ssh restart

Create RSA key of authentication

root@kali~#: ssh-keygen –t rsa


Enter file in which to save the key (/root/.ssh/id_rsa):

Created directory ‘/root/.ssh’.

Enter passphrase (empty for no passphrase):

Enter same passpharse again:

How to Set up SSH Server

Check and see if SSH is running


root@kali~#: service –status-all

install SSH Server


root@kali~#: apt-get install openssh-server

start SSH
root@kali~#: service ssh start

check the SSH status if active running


root@kali~#: service ssh status

go to /etc/ssh
root@kali~#: cd /etc/ssh

root@kali~#: ls

edit the SSHD_CONFIG file


root@kali~#: nano sshd_config

change the port you want

root@kali~#: service ssh restart

Create RSA key of authentication

root@kali~#: ssh-keygen –t rsa

Enter file in which to save the key (/root/.ssh/id_rsa):


Created directory ‘/root/.ssh’.

Enter passphrase (empty for no passphrase):

Enter same passpharse again:

How to Set up SSH Server

Check and see if SSH is running


root@kali~#: service –status-all

install SSH Server


root@kali~#: apt-get install openssh-server

start SSH
root@kali~#: service ssh start

check the SSH status if active running


root@kali~#: service ssh status

go to /etc/ssh
root@kali~#: cd /etc/ssh

root@kali~#: ls

edit the SSHD_CONFIG file


root@kali~#: nano sshd_config

change the port you want

root@kali~#: service ssh restart

Create RSA key of authentication

root@kali~#: ssh-keygen –t rsa

Enter file in which to save the key (/root/.ssh/id_rsa):

Created directory ‘/root/.ssh’.


Enter passphrase (empty for no passphrase):

Enter same passpharse again:

How to Set up SSH Server

Check and see if SSH is running


root@kali~#: service –status-all

install SSH Server


root@kali~#: apt-get install openssh-server

start SSH
root@kali~#: service ssh start

check the SSH status if active running


root@kali~#: service ssh status

go to /etc/ssh
root@kali~#: cd /etc/ssh

root@kali~#: ls

edit the SSHD_CONFIG file


root@kali~#: nano sshd_config

change the port you want

root@kali~#: service ssh restart

Create RSA key of authentication

root@kali~#: ssh-keygen –t rsa

Enter file in which to save the key (/root/.ssh/id_rsa):

Created directory ‘/root/.ssh’.

Enter passphrase (empty for no passphrase):


Enter same passpharse again:

How to Set up SSH Server

Check and see if SSH is running


root@kali~#: service –status-all

install SSH Server


root@kali~#: apt-get install openssh-server

start SSH
root@kali~#: service ssh start

check the SSH status if active running


root@kali~#: service ssh status

go to /etc/ssh
root@kali~#: cd /etc/ssh

root@kali~#: ls

edit the SSHD_CONFIG file


root@kali~#: nano sshd_config

change the port you want

root@kali~#: service ssh restart

Create RSA key of authentication

root@kali~#: ssh-keygen –t rsa

Enter file in which to save the key (/root/.ssh/id_rsa):

Created directory ‘/root/.ssh’.

Enter passphrase (empty for no passphrase):

Enter same passpharse again:


How to Set up SSH Server

Check and see if SSH is running


root@kali~#: service –status-all

install SSH Server


root@kali~#: apt-get install openssh-server

start SSH
root@kali~#: service ssh start

check the SSH status if active running


root@kali~#: service ssh status

go to /etc/ssh
root@kali~#: cd /etc/ssh

root@kali~#: ls

edit the SSHD_CONFIG file


root@kali~#: nano sshd_config

change the port you want

root@kali~#: service ssh restart

Create RSA key of authentication

root@kali~#: ssh-keygen –t rsa

Enter file in which to save the key (/root/.ssh/id_rsa):

Created directory ‘/root/.ssh’.

Enter passphrase (empty for no passphrase):

Enter same passpharse again:


How to Set up SSH Server

Check and see if SSH is running


root@kali~#: service –status-all

install SSH Server


root@kali~#: apt-get install openssh-server

start SSH
root@kali~#: service ssh start

check the SSH status if active running


root@kali~#: service ssh status

go to /etc/ssh
root@kali~#: cd /etc/ssh

root@kali~#: ls

edit the SSHD_CONFIG file


root@kali~#: nano sshd_config

change the port you want

root@kali~#: service ssh restart

Create RSA key of authentication

root@kali~#: ssh-keygen –t rsa

Enter file in which to save the key (/root/.ssh/id_rsa):

Created directory ‘/root/.ssh’.

Enter passphrase (empty for no passphrase):

Enter same passpharse again:


How to Set up SSH Server

Check and see if SSH is running


root@kali~#: service –status-all

install SSH Server


root@kali~#: apt-get install openssh-server

start SSH
root@kali~#: service ssh start

check the SSH status if active running


root@kali~#: service ssh status

go to /etc/ssh
root@kali~#: cd /etc/ssh

root@kali~#: ls

edit the SSHD_CONFIG file


root@kali~#: nano sshd_config

change the port you want

root@kali~#: service ssh restart

Create RSA key of authentication

root@kali~#: ssh-keygen –t rsa

Enter file in which to save the key (/root/.ssh/id_rsa):

Created directory ‘/root/.ssh’.

Enter passphrase (empty for no passphrase):

Enter same passpharse again:


How to Set up SSH Server

Check and see if SSH is running


root@kali~#: service –status-all

install SSH Server


root@kali~#: apt-get install openssh-server

start SSH
root@kali~#: service ssh start

check the SSH status if active running


root@kali~#: service ssh status

go to /etc/ssh
root@kali~#: cd /etc/ssh

root@kali~#: ls

edit the SSHD_CONFIG file


root@kali~#: nano sshd_config

change the port you want

root@kali~#: service ssh restart

Create RSA key of authentication

root@kali~#: ssh-keygen –t rsa

Enter file in which to save the key (/root/.ssh/id_rsa):

Created directory ‘/root/.ssh’.

Enter passphrase (empty for no passphrase):

Enter same passpharse again:


How to Set up SSH Server

Check and see if SSH is running


root@kali~#: service –status-all

install SSH Server


root@kali~#: apt-get install openssh-server

start SSH
root@kali~#: service ssh start

check the SSH status if active running


root@kali~#: service ssh status

go to /etc/ssh
root@kali~#: cd /etc/ssh

root@kali~#: ls

edit the SSHD_CONFIG file


root@kali~#: nano sshd_config

change the port you want

root@kali~#: service ssh restart

Create RSA key of authentication

root@kali~#: ssh-keygen –t rsa

Enter file in which to save the key (/root/.ssh/id_rsa):

Created directory ‘/root/.ssh’.

Enter passphrase (empty for no passphrase):

Enter same passpharse again:

How to Set up SSH Server


Check and see if SSH is running
root@kali~#: service –status-all

install SSH Server


root@kali~#: apt-get install openssh-server

start SSH
root@kali~#: service ssh start

check the SSH status if active running


root@kali~#: service ssh status

go to /etc/ssh
root@kali~#: cd /etc/ssh

root@kali~#: ls

edit the SSHD_CONFIG file


root@kali~#: nano sshd_config

change the port you want

root@kali~#: service ssh restart

Create RSA key of authentication

root@kali~#: ssh-keygen –t rsa

Enter file in which to save the key (/root/.ssh/id_rsa):

Created directory ‘/root/.ssh’.

Enter passphrase (empty for no passphrase):

Enter same passpharse again:

How to Set up SSH Server


Check and see if SSH is running
root@kali~#: service –status-all

install SSH Server


root@kali~#: apt-get install openssh-server

start SSH
root@kali~#: service ssh start

check the SSH status if active running


root@kali~#: service ssh status

go to /etc/ssh
root@kali~#: cd /etc/ssh

root@kali~#: ls

edit the SSHD_CONFIG file


root@kali~#: nano sshd_config

change the port you want

root@kali~#: service ssh restart

Create RSA key of authentication

root@kali~#: ssh-keygen –t rsa

Enter file in which to save the key (/root/.ssh/id_rsa):

Created directory ‘/root/.ssh’.

Enter passphrase (empty for no passphrase):

Enter same passpharse again:

How to Set up SSH Server

Check and see if SSH is running


root@kali~#: service –status-all

install SSH Server


root@kali~#: apt-get install openssh-server

start SSH
root@kali~#: service ssh start

check the SSH status if active running


root@kali~#: service ssh status

go to /etc/ssh
root@kali~#: cd /etc/ssh

root@kali~#: ls

edit the SSHD_CONFIG file


root@kali~#: nano sshd_config

change the port you want

root@kali~#: service ssh restart

Create RSA key of authentication

root@kali~#: ssh-keygen –t rsa

Enter file in which to save the key (/root/.ssh/id_rsa):

Created directory ‘/root/.ssh’.

Enter passphrase (empty for no passphrase):

Enter same passpharse again:

How to Set up SSH Server

Check and see if SSH is running


root@kali~#: service –status-all
install SSH Server
root@kali~#: apt-get install openssh-server

start SSH
root@kali~#: service ssh start

check the SSH status if active running


root@kali~#: service ssh status

go to /etc/ssh
root@kali~#: cd /etc/ssh

root@kali~#: ls

edit the SSHD_CONFIG file


root@kali~#: nano sshd_config

change the port you want

root@kali~#: service ssh restart

Create RSA key of authentication

root@kali~#: ssh-keygen –t rsa

Enter file in which to save the key (/root/.ssh/id_rsa):

Created directory ‘/root/.ssh’.

Enter passphrase (empty for no passphrase):

Enter same passpharse again:

How to Set up SSH Server

Check and see if SSH is running


root@kali~#: service –status-all

install SSH Server


root@kali~#: apt-get install openssh-server

start SSH
root@kali~#: service ssh start

check the SSH status if active running


root@kali~#: service ssh status

go to /etc/ssh
root@kali~#: cd /etc/ssh

root@kali~#: ls

edit the SSHD_CONFIG file


root@kali~#: nano sshd_config

change the port you want

root@kali~#: service ssh restart

Create RSA key of authentication

root@kali~#: ssh-keygen –t rsa

Enter file in which to save the key (/root/.ssh/id_rsa):

Created directory ‘/root/.ssh’.

Enter passphrase (empty for no passphrase):

Enter same passpharse again:

How to Set up SSH Server

Check and see if SSH is running


root@kali~#: service –status-all

install SSH Server


root@kali~#: apt-get install openssh-server
start SSH
root@kali~#: service ssh start

check the SSH status if active running


root@kali~#: service ssh status

go to /etc/ssh
root@kali~#: cd /etc/ssh

root@kali~#: ls

edit the SSHD_CONFIG file


root@kali~#: nano sshd_config

change the port you want

root@kali~#: service ssh restart

Create RSA key of authentication

root@kali~#: ssh-keygen –t rsa

Enter file in which to save the key (/root/.ssh/id_rsa):

Created directory ‘/root/.ssh’.

Enter passphrase (empty for no passphrase):

Enter same passpharse again:

How to Set up SSH Server

Check and see if SSH is running


root@kali~#: service –status-all

install SSH Server


root@kali~#: apt-get install openssh-server

start SSH
root@kali~#: service ssh start

check the SSH status if active running


root@kali~#: service ssh status

go to /etc/ssh
root@kali~#: cd /etc/ssh

root@kali~#: ls

edit the SSHD_CONFIG file


root@kali~#: nano sshd_config

change the port you want

root@kali~#: service ssh restart

Create RSA key of authentication

root@kali~#: ssh-keygen –t rsa

Enter file in which to save the key (/root/.ssh/id_rsa):

Created directory ‘/root/.ssh’.

Enter passphrase (empty for no passphrase):

Enter same passpharse again:

How to Set up SSH Server

Check and see if SSH is running


root@kali~#: service –status-all

install SSH Server


root@kali~#: apt-get install openssh-server

start SSH
root@kali~#: service ssh start
check the SSH status if active running
root@kali~#: service ssh status

go to /etc/ssh
root@kali~#: cd /etc/ssh

root@kali~#: ls

edit the SSHD_CONFIG file


root@kali~#: nano sshd_config

change the port you want

root@kali~#: service ssh restart

Create RSA key of authentication

root@kali~#: ssh-keygen –t rsa

Enter file in which to save the key (/root/.ssh/id_rsa):

Created directory ‘/root/.ssh’.

Enter passphrase (empty for no passphrase):

Enter same passpharse again:

How to Set up SSH Server

Check and see if SSH is running


root@kali~#: service –status-all

install SSH Server


root@kali~#: apt-get install openssh-server

start SSH
root@kali~#: service ssh start

check the SSH status if active running


root@kali~#: service ssh status

go to /etc/ssh
root@kali~#: cd /etc/ssh

root@kali~#: ls

edit the SSHD_CONFIG file


root@kali~#: nano sshd_config

change the port you want

root@kali~#: service ssh restart

Create RSA key of authentication

root@kali~#: ssh-keygen –t rsa

Enter file in which to save the key (/root/.ssh/id_rsa):

Created directory ‘/root/.ssh’.

Enter passphrase (empty for no passphrase):

Enter same passpharse again:

How to Set up SSH Server

Check and see if SSH is running


root@kali~#: service –status-all

install SSH Server


root@kali~#: apt-get install openssh-server

start SSH
root@kali~#: service ssh start

check the SSH status if active running


root@kali~#: service ssh status
go to /etc/ssh
root@kali~#: cd /etc/ssh

root@kali~#: ls

edit the SSHD_CONFIG file


root@kali~#: nano sshd_config

change the port you want

root@kali~#: service ssh restart

Create RSA key of authentication

root@kali~#: ssh-keygen –t rsa

Enter file in which to save the key (/root/.ssh/id_rsa):

Created directory ‘/root/.ssh’.

Enter passphrase (empty for no passphrase):

Enter same passpharse again:

How to Set up SSH Server

Check and see if SSH is running


root@kali~#: service –status-all

install SSH Server


root@kali~#: apt-get install openssh-server

start SSH
root@kali~#: service ssh start

check the SSH status if active running


root@kali~#: service ssh status

go to /etc/ssh
root@kali~#: cd /etc/ssh

root@kali~#: ls

edit the SSHD_CONFIG file


root@kali~#: nano sshd_config

change the port you want

root@kali~#: service ssh restart

Create RSA key of authentication

root@kali~#: ssh-keygen –t rsa

Enter file in which to save the key (/root/.ssh/id_rsa):

Created directory ‘/root/.ssh’.

Enter passphrase (empty for no passphrase):

Enter same passpharse again:

How to Set up SSH Server

Check and see if SSH is running


root@kali~#: service –status-all

install SSH Server


root@kali~#: apt-get install openssh-server

start SSH
root@kali~#: service ssh start

check the SSH status if active running


root@kali~#: service ssh status

go to /etc/ssh
root@kali~#: cd /etc/ssh
root@kali~#: ls

edit the SSHD_CONFIG file


root@kali~#: nano sshd_config

change the port you want

root@kali~#: service ssh restart

Create RSA key of authentication

root@kali~#: ssh-keygen –t rsa

Enter file in which to save the key (/root/.ssh/id_rsa):

Created directory ‘/root/.ssh’.

Enter passphrase (empty for no passphrase):

Enter same passpharse again:

How to Set up SSH Server

Check and see if SSH is running


root@kali~#: service –status-all

install SSH Server


root@kali~#: apt-get install openssh-server

start SSH
root@kali~#: service ssh start

check the SSH status if active running


root@kali~#: service ssh status

go to /etc/ssh
root@kali~#: cd /etc/ssh

root@kali~#: ls
edit the SSHD_CONFIG file
root@kali~#: nano sshd_config

change the port you want

root@kali~#: service ssh restart

Create RSA key of authentication

root@kali~#: ssh-keygen –t rsa

Enter file in which to save the key (/root/.ssh/id_rsa):

Created directory ‘/root/.ssh’.

Enter passphrase (empty for no passphrase):

Enter same passpharse again:

How to Set up SSH Server

Check and see if SSH is running


root@kali~#: service –status-all

install SSH Server


root@kali~#: apt-get install openssh-server

start SSH
root@kali~#: service ssh start

check the SSH status if active running


root@kali~#: service ssh status

go to /etc/ssh
root@kali~#: cd /etc/ssh

root@kali~#: ls

edit the SSHD_CONFIG file


root@kali~#: nano sshd_config

change the port you want

root@kali~#: service ssh restart

Create RSA key of authentication

root@kali~#: ssh-keygen –t rsa

Enter file in which to save the key (/root/.ssh/id_rsa):

Created directory ‘/root/.ssh’.

Enter passphrase (empty for no passphrase):

Enter same passpharse again:

How to Set up SSH Server

Check and see if SSH is running


root@kali~#: service –status-all

install SSH Server


root@kali~#: apt-get install openssh-server

start SSH
root@kali~#: service ssh start

check the SSH status if active running


root@kali~#: service ssh status

go to /etc/ssh
root@kali~#: cd /etc/ssh

root@kali~#: ls

edit the SSHD_CONFIG file


root@kali~#: nano sshd_config
change the port you want

root@kali~#: service ssh restart

Create RSA key of authentication

root@kali~#: ssh-keygen –t rsa

Enter file in which to save the key (/root/.ssh/id_rsa):

Created directory ‘/root/.ssh’.

Enter passphrase (empty for no passphrase):

Enter same passpharse again:

How to Set up SSH Server

Check and see if SSH is running


root@kali~#: service –status-all

install SSH Server


root@kali~#: apt-get install openssh-server

start SSH
root@kali~#: service ssh start

check the SSH status if active running


root@kali~#: service ssh status

go to /etc/ssh
root@kali~#: cd /etc/ssh

root@kali~#: ls

edit the SSHD_CONFIG file


root@kali~#: nano sshd_config

change the port you want


root@kali~#: service ssh restart

Create RSA key of authentication

root@kali~#: ssh-keygen –t rsa

Enter file in which to save the key (/root/.ssh/id_rsa):

Created directory ‘/root/.ssh’.

Enter passphrase (empty for no passphrase):

Enter same passpharse again:

How to Set up SSH Server

Check and see if SSH is running


root@kali~#: service –status-all

install SSH Server


root@kali~#: apt-get install openssh-server

start SSH
root@kali~#: service ssh start

check the SSH status if active running


root@kali~#: service ssh status

go to /etc/ssh
root@kali~#: cd /etc/ssh

root@kali~#: ls

edit the SSHD_CONFIG file


root@kali~#: nano sshd_config

change the port you want

root@kali~#: service ssh restart


Create RSA key of authentication

root@kali~#: ssh-keygen –t rsa

Enter file in which to save the key (/root/.ssh/id_rsa):

Created directory ‘/root/.ssh’.

Enter passphrase (empty for no passphrase):

Enter same passpharse again:

How to Set up SSH Server

Check and see if SSH is running


root@kali~#: service –status-all

install SSH Server


root@kali~#: apt-get install openssh-server

start SSH
root@kali~#: service ssh start

check the SSH status if active running


root@kali~#: service ssh status

go to /etc/ssh
root@kali~#: cd /etc/ssh

root@kali~#: ls

edit the SSHD_CONFIG file


root@kali~#: nano sshd_config

change the port you want

root@kali~#: service ssh restart

Create RSA key of authentication


root@kali~#: ssh-keygen –t rsa

Enter file in which to save the key (/root/.ssh/id_rsa):

Created directory ‘/root/.ssh’.

Enter passphrase (empty for no passphrase):

Enter same passpharse again:

How to Set up SSH Server

Check and see if SSH is running


root@kali~#: service –status-all

install SSH Server


root@kali~#: apt-get install openssh-server

start SSH
root@kali~#: service ssh start

check the SSH status if active running


root@kali~#: service ssh status

go to /etc/ssh
root@kali~#: cd /etc/ssh

root@kali~#: ls

edit the SSHD_CONFIG file


root@kali~#: nano sshd_config

change the port you want

root@kali~#: service ssh restart

Create RSA key of authentication

root@kali~#: ssh-keygen –t rsa


Enter file in which to save the key (/root/.ssh/id_rsa):

Created directory ‘/root/.ssh’.

Enter passphrase (empty for no passphrase):

Enter same passpharse again:

How to Set up SSH Server

Check and see if SSH is running


root@kali~#: service –status-all

install SSH Server


root@kali~#: apt-get install openssh-server

start SSH
root@kali~#: service ssh start

check the SSH status if active running


root@kali~#: service ssh status

go to /etc/ssh
root@kali~#: cd /etc/ssh

root@kali~#: ls

edit the SSHD_CONFIG file


root@kali~#: nano sshd_config

change the port you want

root@kali~#: service ssh restart

Create RSA key of authentication

root@kali~#: ssh-keygen –t rsa

Enter file in which to save the key (/root/.ssh/id_rsa):


Created directory ‘/root/.ssh’.

Enter passphrase (empty for no passphrase):

Enter same passpharse again:

How to Set up SSH Server

Check and see if SSH is running


root@kali~#: service –status-all

install SSH Server


root@kali~#: apt-get install openssh-server

start SSH
root@kali~#: service ssh start

check the SSH status if active running


root@kali~#: service ssh status

go to /etc/ssh
root@kali~#: cd /etc/ssh

root@kali~#: ls

edit the SSHD_CONFIG file


root@kali~#: nano sshd_config

change the port you want

root@kali~#: service ssh restart

Create RSA key of authentication

root@kali~#: ssh-keygen –t rsa

Enter file in which to save the key (/root/.ssh/id_rsa):

Created directory ‘/root/.ssh’.


Enter passphrase (empty for no passphrase):

Enter same passpharse again:

How to Set up SSH Server

Check and see if SSH is running


root@kali~#: service –status-all

install SSH Server


root@kali~#: apt-get install openssh-server

start SSH
root@kali~#: service ssh start

check the SSH status if active running


root@kali~#: service ssh status

go to /etc/ssh
root@kali~#: cd /etc/ssh

root@kali~#: ls

edit the SSHD_CONFIG file


root@kali~#: nano sshd_config

change the port you want

root@kali~#: service ssh restart

Create RSA key of authentication

root@kali~#: ssh-keygen –t rsa

Enter file in which to save the key (/root/.ssh/id_rsa):

Created directory ‘/root/.ssh’.

Enter passphrase (empty for no passphrase):


Enter same passpharse again:

How to Set up SSH Server

Check and see if SSH is running


root@kali~#: service –status-all

install SSH Server


root@kali~#: apt-get install openssh-server

start SSH
root@kali~#: service ssh start

check the SSH status if active running


root@kali~#: service ssh status

go to /etc/ssh
root@kali~#: cd /etc/ssh

root@kali~#: ls

edit the SSHD_CONFIG file


root@kali~#: nano sshd_config

change the port you want

root@kali~#: service ssh restart

Create RSA key of authentication

root@kali~#: ssh-keygen –t rsa

Enter file in which to save the key (/root/.ssh/id_rsa):

Created directory ‘/root/.ssh’.

Enter passphrase (empty for no passphrase):

Enter same passpharse again:


How to Set up SSH Server

Check and see if SSH is running


root@kali~#: service –status-all

install SSH Server


root@kali~#: apt-get install openssh-server

start SSH
root@kali~#: service ssh start

check the SSH status if active running


root@kali~#: service ssh status

go to /etc/ssh
root@kali~#: cd /etc/ssh

root@kali~#: ls

edit the SSHD_CONFIG file


root@kali~#: nano sshd_config

change the port you want

root@kali~#: service ssh restart

Create RSA key of authentication

root@kali~#: ssh-keygen –t rsa

Enter file in which to save the key (/root/.ssh/id_rsa):

Created directory ‘/root/.ssh’.

Enter passphrase (empty for no passphrase):

Enter same passpharse again:


How to Set up SSH Server

Check and see if SSH is running


root@kali~#: service –status-all

install SSH Server


root@kali~#: apt-get install openssh-server

start SSH
root@kali~#: service ssh start

check the SSH status if active running


root@kali~#: service ssh status

go to /etc/ssh
root@kali~#: cd /etc/ssh

root@kali~#: ls

edit the SSHD_CONFIG file


root@kali~#: nano sshd_config

change the port you want

root@kali~#: service ssh restart

Create RSA key of authentication

root@kali~#: ssh-keygen –t rsa

Enter file in which to save the key (/root/.ssh/id_rsa):

Created directory ‘/root/.ssh’.

Enter passphrase (empty for no passphrase):

Enter same passpharse again:


How to Set up SSH Server

Check and see if SSH is running


root@kali~#: service –status-all

install SSH Server


root@kali~#: apt-get install openssh-server

start SSH
root@kali~#: service ssh start

check the SSH status if active running


root@kali~#: service ssh status

go to /etc/ssh
root@kali~#: cd /etc/ssh

root@kali~#: ls

edit the SSHD_CONFIG file


root@kali~#: nano sshd_config

change the port you want

root@kali~#: service ssh restart

Create RSA key of authentication

root@kali~#: ssh-keygen –t rsa

Enter file in which to save the key (/root/.ssh/id_rsa):

Created directory ‘/root/.ssh’.

Enter passphrase (empty for no passphrase):

Enter same passpharse again:


How to Set up SSH Server

Check and see if SSH is running


root@kali~#: service –status-all

install SSH Server


root@kali~#: apt-get install openssh-server

start SSH
root@kali~#: service ssh start

check the SSH status if active running


root@kali~#: service ssh status

go to /etc/ssh
root@kali~#: cd /etc/ssh

root@kali~#: ls

edit the SSHD_CONFIG file


root@kali~#: nano sshd_config

change the port you want

root@kali~#: service ssh restart

Create RSA key of authentication

root@kali~#: ssh-keygen –t rsa

Enter file in which to save the key (/root/.ssh/id_rsa):

Created directory ‘/root/.ssh’.

Enter passphrase (empty for no passphrase):

Enter same passpharse again:


How to Set up SSH Server

Check and see if SSH is running


root@kali~#: service –status-all

install SSH Server


root@kali~#: apt-get install openssh-server

start SSH
root@kali~#: service ssh start

check the SSH status if active running


root@kali~#: service ssh status

go to /etc/ssh
root@kali~#: cd /etc/ssh

root@kali~#: ls

edit the SSHD_CONFIG file


root@kali~#: nano sshd_config

change the port you want

root@kali~#: service ssh restart

Create RSA key of authentication

root@kali~#: ssh-keygen –t rsa

Enter file in which to save the key (/root/.ssh/id_rsa):

Created directory ‘/root/.ssh’.

Enter passphrase (empty for no passphrase):

Enter same passpharse again:

How to Set up SSH Server


Check and see if SSH is running
root@kali~#: service –status-all

install SSH Server


root@kali~#: apt-get install openssh-server

start SSH
root@kali~#: service ssh start

check the SSH status if active running


root@kali~#: service ssh status

go to /etc/ssh
root@kali~#: cd /etc/ssh

root@kali~#: ls

edit the SSHD_CONFIG file


root@kali~#: nano sshd_config

change the port you want

root@kali~#: service ssh restart

Create RSA key of authentication

root@kali~#: ssh-keygen –t rsa

Enter file in which to save the key (/root/.ssh/id_rsa):

Created directory ‘/root/.ssh’.

Enter passphrase (empty for no passphrase):

Enter same passpharse again:

How to Set up SSH Server


Check and see if SSH is running
root@kali~#: service –status-all

install SSH Server


root@kali~#: apt-get install openssh-server

start SSH
root@kali~#: service ssh start

check the SSH status if active running


root@kali~#: service ssh status

go to /etc/ssh
root@kali~#: cd /etc/ssh

root@kali~#: ls

edit the SSHD_CONFIG file


root@kali~#: nano sshd_config

change the port you want

root@kali~#: service ssh restart

Create RSA key of authentication

root@kali~#: ssh-keygen –t rsa

Enter file in which to save the key (/root/.ssh/id_rsa):

Created directory ‘/root/.ssh’.

Enter passphrase (empty for no passphrase):

Enter same passpharse again:

How to Set up SSH Server

Check and see if SSH is running


root@kali~#: service –status-all

install SSH Server


root@kali~#: apt-get install openssh-server

start SSH
root@kali~#: service ssh start

check the SSH status if active running


root@kali~#: service ssh status

go to /etc/ssh
root@kali~#: cd /etc/ssh

root@kali~#: ls

edit the SSHD_CONFIG file


root@kali~#: nano sshd_config

change the port you want

root@kali~#: service ssh restart

Create RSA key of authentication

root@kali~#: ssh-keygen –t rsa

Enter file in which to save the key (/root/.ssh/id_rsa):

Created directory ‘/root/.ssh’.

Enter passphrase (empty for no passphrase):

Enter same passpharse again:

How to Set up SSH Server

Check and see if SSH is running


root@kali~#: service –status-all
install SSH Server
root@kali~#: apt-get install openssh-server

start SSH
root@kali~#: service ssh start

check the SSH status if active running


root@kali~#: service ssh status

go to /etc/ssh
root@kali~#: cd /etc/ssh

root@kali~#: ls

edit the SSHD_CONFIG file


root@kali~#: nano sshd_config

change the port you want

root@kali~#: service ssh restart

Create RSA key of authentication

root@kali~#: ssh-keygen –t rsa

Enter file in which to save the key (/root/.ssh/id_rsa):

Created directory ‘/root/.ssh’.

Enter passphrase (empty for no passphrase):

Enter same passpharse again:

How to Set up SSH Server

Check and see if SSH is running


root@kali~#: service –status-all

install SSH Server


root@kali~#: apt-get install openssh-server

start SSH
root@kali~#: service ssh start

check the SSH status if active running


root@kali~#: service ssh status

go to /etc/ssh
root@kali~#: cd /etc/ssh

root@kali~#: ls

edit the SSHD_CONFIG file


root@kali~#: nano sshd_config

change the port you want

root@kali~#: service ssh restart

Create RSA key of authentication

root@kali~#: ssh-keygen –t rsa

Enter file in which to save the key (/root/.ssh/id_rsa):

Created directory ‘/root/.ssh’.

Enter passphrase (empty for no passphrase):

Enter same passpharse again:

How to Set up SSH Server

Check and see if SSH is running


root@kali~#: service –status-all

install SSH Server


root@kali~#: apt-get install openssh-server
start SSH
root@kali~#: service ssh start

check the SSH status if active running


root@kali~#: service ssh status

go to /etc/ssh
root@kali~#: cd /etc/ssh

root@kali~#: ls

edit the SSHD_CONFIG file


root@kali~#: nano sshd_config

change the port you want

root@kali~#: service ssh restart

Create RSA key of authentication

root@kali~#: ssh-keygen –t rsa

Enter file in which to save the key (/root/.ssh/id_rsa):

Created directory ‘/root/.ssh’.

Enter passphrase (empty for no passphrase):

Enter same passpharse again:

How to Set up SSH Server

Check and see if SSH is running


root@kali~#: service –status-all

install SSH Server


root@kali~#: apt-get install openssh-server

start SSH
root@kali~#: service ssh start

check the SSH status if active running


root@kali~#: service ssh status

go to /etc/ssh
root@kali~#: cd /etc/ssh

root@kali~#: ls

edit the SSHD_CONFIG file


root@kali~#: nano sshd_config

change the port you want

root@kali~#: service ssh restart

Create RSA key of authentication

root@kali~#: ssh-keygen –t rsa

Enter file in which to save the key (/root/.ssh/id_rsa):

Created directory ‘/root/.ssh’.

Enter passphrase (empty for no passphrase):

Enter same passpharse again:

How to Set up SSH Server

Check and see if SSH is running


root@kali~#: service –status-all

install SSH Server


root@kali~#: apt-get install openssh-server

start SSH
root@kali~#: service ssh start
check the SSH status if active running
root@kali~#: service ssh status

go to /etc/ssh
root@kali~#: cd /etc/ssh

root@kali~#: ls

edit the SSHD_CONFIG file


root@kali~#: nano sshd_config

change the port you want

root@kali~#: service ssh restart

Create RSA key of authentication

root@kali~#: ssh-keygen –t rsa

Enter file in which to save the key (/root/.ssh/id_rsa):

Created directory ‘/root/.ssh’.

Enter passphrase (empty for no passphrase):

Enter same passpharse again:

How to Set up SSH Server

Check and see if SSH is running


root@kali~#: service –status-all

install SSH Server


root@kali~#: apt-get install openssh-server

start SSH
root@kali~#: service ssh start

check the SSH status if active running


root@kali~#: service ssh status

go to /etc/ssh
root@kali~#: cd /etc/ssh

root@kali~#: ls

edit the SSHD_CONFIG file


root@kali~#: nano sshd_config

change the port you want

root@kali~#: service ssh restart

Create RSA key of authentication

root@kali~#: ssh-keygen –t rsa

Enter file in which to save the key (/root/.ssh/id_rsa):

Created directory ‘/root/.ssh’.

Enter passphrase (empty for no passphrase):

Enter same passpharse again:

How to Set up SSH Server

Check and see if SSH is running


root@kali~#: service –status-all

install SSH Server


root@kali~#: apt-get install openssh-server

start SSH
root@kali~#: service ssh start

check the SSH status if active running


root@kali~#: service ssh status
go to /etc/ssh
root@kali~#: cd /etc/ssh

root@kali~#: ls

edit the SSHD_CONFIG file


root@kali~#: nano sshd_config

change the port you want

root@kali~#: service ssh restart

Create RSA key of authentication

root@kali~#: ssh-keygen –t rsa

Enter file in which to save the key (/root/.ssh/id_rsa):

Created directory ‘/root/.ssh’.

Enter passphrase (empty for no passphrase):

Enter same passpharse again:

How to Set up SSH Server

Check and see if SSH is running


root@kali~#: service –status-all

install SSH Server


root@kali~#: apt-get install openssh-server

start SSH
root@kali~#: service ssh start

check the SSH status if active running


root@kali~#: service ssh status

go to /etc/ssh
root@kali~#: cd /etc/ssh

root@kali~#: ls

edit the SSHD_CONFIG file


root@kali~#: nano sshd_config

change the port you want

root@kali~#: service ssh restart

Create RSA key of authentication

root@kali~#: ssh-keygen –t rsa

Enter file in which to save the key (/root/.ssh/id_rsa):

Created directory ‘/root/.ssh’.

Enter passphrase (empty for no passphrase):

Enter same passpharse again:

How to Set up SSH Server

Check and see if SSH is running


root@kali~#: service –status-all

install SSH Server


root@kali~#: apt-get install openssh-server

start SSH
root@kali~#: service ssh start

check the SSH status if active running


root@kali~#: service ssh status

go to /etc/ssh
root@kali~#: cd /etc/ssh
root@kali~#: ls

edit the SSHD_CONFIG file


root@kali~#: nano sshd_config

change the port you want

root@kali~#: service ssh restart

Create RSA key of authentication

root@kali~#: ssh-keygen –t rsa

Enter file in which to save the key (/root/.ssh/id_rsa):

Created directory ‘/root/.ssh’.

Enter passphrase (empty for no passphrase):

Enter same passpharse again:

How to Set up SSH Server

Check and see if SSH is running


root@kali~#: service –status-all

install SSH Server


root@kali~#: apt-get install openssh-server

start SSH
root@kali~#: service ssh start

check the SSH status if active running


root@kali~#: service ssh status

go to /etc/ssh
root@kali~#: cd /etc/ssh

root@kali~#: ls
edit the SSHD_CONFIG file
root@kali~#: nano sshd_config

change the port you want

root@kali~#: service ssh restart

Create RSA key of authentication

root@kali~#: ssh-keygen –t rsa

Enter file in which to save the key (/root/.ssh/id_rsa):

Created directory ‘/root/.ssh’.

Enter passphrase (empty for no passphrase):

Enter same passpharse again:

How to Set up SSH Server

Check and see if SSH is running


root@kali~#: service –status-all

install SSH Server


root@kali~#: apt-get install openssh-server

start SSH
root@kali~#: service ssh start

check the SSH status if active running


root@kali~#: service ssh status

go to /etc/ssh
root@kali~#: cd /etc/ssh

root@kali~#: ls

edit the SSHD_CONFIG file


root@kali~#: nano sshd_config

change the port you want

root@kali~#: service ssh restart

Create RSA key of authentication

root@kali~#: ssh-keygen –t rsa

Enter file in which to save the key (/root/.ssh/id_rsa):

Created directory ‘/root/.ssh’.

Enter passphrase (empty for no passphrase):

Enter same passpharse again:

How to Set up SSH Server

Check and see if SSH is running


root@kali~#: service –status-all

install SSH Server


root@kali~#: apt-get install openssh-server

start SSH
root@kali~#: service ssh start

check the SSH status if active running


root@kali~#: service ssh status

go to /etc/ssh
root@kali~#: cd /etc/ssh

root@kali~#: ls

edit the SSHD_CONFIG file


root@kali~#: nano sshd_config

change the port you want

root@kali~#: service ssh restart

Create RSA key of authentication

root@kali~#: ssh-keygen –t rsa

Enter file in which to save the key (/root/.ssh/id_rsa):

Created directory ‘/root/.ssh’.

Enter passphrase (empty for no passphrase):

Enter same passpharse again:

How to Set up SSH Server

Check and see if SSH is running


root@kali~#: service –status-all

install SSH Server


root@kali~#: apt-get install openssh-server

start SSH
root@kali~#: service ssh start

check the SSH status if active running


root@kali~#: service ssh status

go to /etc/ssh
root@kali~#: cd /etc/ssh

root@kali~#: ls

edit the SSHD_CONFIG file


root@kali~#: nano sshd_config
change the port you want

root@kali~#: service ssh restart

Create RSA key of authentication

root@kali~#: ssh-keygen –t rsa

Enter file in which to save the key (/root/.ssh/id_rsa):

Created directory ‘/root/.ssh’.

Enter passphrase (empty for no passphrase):

Enter same passpharse again:

How to Set up SSH Server

Check and see if SSH is running


root@kali~#: service –status-all

install SSH Server


root@kali~#: apt-get install openssh-server

start SSH
root@kali~#: service ssh start

check the SSH status if active running


root@kali~#: service ssh status

go to /etc/ssh
root@kali~#: cd /etc/ssh

root@kali~#: ls

edit the SSHD_CONFIG file


root@kali~#: nano sshd_config

change the port you want


root@kali~#: service ssh restart

Create RSA key of authentication

root@kali~#: ssh-keygen –t rsa

Enter file in which to save the key (/root/.ssh/id_rsa):

Created directory ‘/root/.ssh’.

Enter passphrase (empty for no passphrase):

Enter same passpharse again:

How to Set up SSH Server

Check and see if SSH is running


root@kali~#: service –status-all

install SSH Server


root@kali~#: apt-get install openssh-server

start SSH
root@kali~#: service ssh start

check the SSH status if active running


root@kali~#: service ssh status

go to /etc/ssh
root@kali~#: cd /etc/ssh

root@kali~#: ls

edit the SSHD_CONFIG file


root@kali~#: nano sshd_config

change the port you want

root@kali~#: service ssh restart


Create RSA key of authentication

root@kali~#: ssh-keygen –t rsa

Enter file in which to save the key (/root/.ssh/id_rsa):

Created directory ‘/root/.ssh’.

Enter passphrase (empty for no passphrase):

Enter same passpharse again:

How to Set up SSH Server

Check and see if SSH is running


root@kali~#: service –status-all

install SSH Server


root@kali~#: apt-get install openssh-server

start SSH
root@kali~#: service ssh start

check the SSH status if active running


root@kali~#: service ssh status

go to /etc/ssh
root@kali~#: cd /etc/ssh

root@kali~#: ls

edit the SSHD_CONFIG file


root@kali~#: nano sshd_config

change the port you want

root@kali~#: service ssh restart

Create RSA key of authentication


root@kali~#: ssh-keygen –t rsa

Enter file in which to save the key (/root/.ssh/id_rsa):

Created directory ‘/root/.ssh’.

Enter passphrase (empty for no passphrase):

Enter same passpharse again:

You might also like