Can't connect using ssh after enabling it on Kali Linux using the root user and password

SuperUserJL

I have enabled SSH and Port forwarded on my router to port 22 and I can't login as root user and password using putty it says access denied, and I can't connect to it using the same linux OS using the root user and password. It says Permission denied, please try again.

Can someone please let me know what I need to do to connect?

SSH Can't Connect

SuperUserJL

To install SSH on Linux using terminal

To see if ssh is installed on Linux (the client) to see if it is installed on the computer type:

ssh 

See If SSH Client Is Installed

To see if ssh server is installed on the Linux system type:

ssh local host

local host (is the loopback IP address, the IP address that the computer uses to talk to the same Linux OS)

SSH Local Host

To install ssh server type:

sudo apt-get install openssh-server

Install SSH Server

To see if the ssh server is active type this:

sudo service ssh status

To See if SSH Server Is Active

type Ctrl+c after this if the terminal won't let you type anything now.

If the server is active you can type this command to start it:

sudo service ssh start

enter image description here

Then you can use this command to to see if it is now active:

sudo service ssh status

See If SSH Server Is Active

Type Ctrl+c after this if the terminal won't let you type anything now.

and to stop the SSH server you can type this if want to stop it sometime:

sudo service ssh stop

you can also check the status using this command to make sure it stopped:

sudo service ssh status

If you are using Virtual Box and need to type Ctrl+c, make sure you hold down the Ctrl button and then type c while still holding Ctrl; Virtual Box uses this key as default as the host key so you might have to try the other Ctrl button on the keyboard if this is not working.

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

From Dev

Can't connect using ssh to Kali Linux

From Dev

Can't Login to using root user in Kali 2.0 Sana after update

From Dev

Mongoose can't connect to default collection using user/password

From Dev

Access denied for user 'root'@'localhost' (using password: Yes) after password reset LINUX

From Dev

Can't connect to another user than root through SSH

From Dev

SSH password script using root

From Dev

Kali Linux Can't Log in as non-root user and wireshark complaining about root

From Dev

During the installation of Kali Linux when I set username and password, this user is root user or non-root user?

From Dev

opscenter can't connect to agents after enabling ssl

From Dev

Can't ssh into AWS EC2 after enabling firewall

From Dev

Warning: mysql_connect(): Access denied for user 'root'@'localhost' (using password: YES)

From Dev

how to make non-root user to ssh using key instead of password?

From Dev

Access denied for user 'root'@'localhost' (using password: NO);

From Dev

Change User's Password using root

From Dev

How to reset Kali linux root password

From Dev

How to get root Password in Kali Linux?

From Dev

Can't connect to SSH server using WAN IP address

From Dev

Can't connect to ubuntu 14.04 from android using ssh

From Dev

Cannot Connect to Jenkins Slave using root user

From Dev

Can't connect to SSH with new user

From Dev

Can't change user password on MySQL using UPDATE

From Dev

Can't follow symbolic links created by other user using root

From Dev

Can't push/pull to Github using Gitbox after password change

From Java

Reset MySQL root password using ALTER USER statement after install on Mac

From Dev

ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES) after set plugin = ''

From Dev

Access denied for user 'root'@'%' (using password: YES) but logged in as root

From Dev

Can't connect via SSH and publickey and user B (user A can)

From Dev

can't ssh into remote host with root, password incorrect

From Dev

Kali Linux: On install, designated root password cannot login - incorrect password

Related Related

  1. 1

    Can't connect using ssh to Kali Linux

  2. 2

    Can't Login to using root user in Kali 2.0 Sana after update

  3. 3

    Mongoose can't connect to default collection using user/password

  4. 4

    Access denied for user 'root'@'localhost' (using password: Yes) after password reset LINUX

  5. 5

    Can't connect to another user than root through SSH

  6. 6

    SSH password script using root

  7. 7

    Kali Linux Can't Log in as non-root user and wireshark complaining about root

  8. 8

    During the installation of Kali Linux when I set username and password, this user is root user or non-root user?

  9. 9

    opscenter can't connect to agents after enabling ssl

  10. 10

    Can't ssh into AWS EC2 after enabling firewall

  11. 11

    Warning: mysql_connect(): Access denied for user 'root'@'localhost' (using password: YES)

  12. 12

    how to make non-root user to ssh using key instead of password?

  13. 13

    Access denied for user 'root'@'localhost' (using password: NO);

  14. 14

    Change User's Password using root

  15. 15

    How to reset Kali linux root password

  16. 16

    How to get root Password in Kali Linux?

  17. 17

    Can't connect to SSH server using WAN IP address

  18. 18

    Can't connect to ubuntu 14.04 from android using ssh

  19. 19

    Cannot Connect to Jenkins Slave using root user

  20. 20

    Can't connect to SSH with new user

  21. 21

    Can't change user password on MySQL using UPDATE

  22. 22

    Can't follow symbolic links created by other user using root

  23. 23

    Can't push/pull to Github using Gitbox after password change

  24. 24

    Reset MySQL root password using ALTER USER statement after install on Mac

  25. 25

    ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES) after set plugin = ''

  26. 26

    Access denied for user 'root'@'%' (using password: YES) but logged in as root

  27. 27

    Can't connect via SSH and publickey and user B (user A can)

  28. 28

    can't ssh into remote host with root, password incorrect

  29. 29

    Kali Linux: On install, designated root password cannot login - incorrect password

HotTag

Archive