0% found this document useful (0 votes)
61 views

Hows To Set Up SSH Server

The document provides steps to set up an SSH server on Kali Linux, including checking if SSH is running, installing the openssh-server package, starting the SSH service, editing the SSH configuration file to change settings like the port, and generating an RSA key for authentication.

Uploaded by

signup101
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
61 views

Hows To Set Up SSH Server

The document provides steps to set up an SSH server on Kali Linux, including checking if SSH is running, installing the openssh-server package, starting the SSH service, editing the SSH configuration file to change settings like the port, and generating an RSA key for authentication.

Uploaded by

signup101
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 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