Results 1 to 7 of 7

Thread: Kali Linux 2.0 SSH not accepting password

  1. #1

    Kali Linux 2.0 SSH not accepting password

    I installed Kali Linux 2.0 on my Raspberry Pi 2. It is not accepting the SSH password of 'toor.' This might be a result of the SSH configuration change. I do not have a USB keyboard, only a Bluetooth one. How do I get this working properly? Thanks.

  2. #2
    Make sure your SSH key is added to ~/.ssh/authorized_keys

    In debian 8/kali 2 - root login by default is only allowed via SSH keys - not passwords.
    This is a Kali-Linux support forum - not general IT/infosec help.

    Useful Commands: OS, Networking, Hardware, Wi-Fi
    Troubleshooting: Kali-Linux Installation, Repository, Wi-Fi Cards (Official Docs)
    Hardware: Recommended 802.11 Wireless Cards

    Documentation: http://docs.kali.org/ (Offline PDF version)
    Bugs Reporting & Tool Requests: https://bugs.kali.org/
    Kali Tool List, Versions & Man Pages: https://tools.kali.org/

  3. #3
    Okay, so how can I do that without SSH access or a USB keyboard? I thought about mounting the partition, but I haven't had any luck with Windows (there's no native Ext4 support and an outside program won't work) or getting the device to be found in Kali Linux on a VM. Perhaps the only way is to boot Linux off USB and see if it will find the device then.

  4. #4
    If you cannot edit it (headless install), I believe kali 2.0.1 fixes this.
    Check to see if the ARM image has been generated again for your platform and re-install.

    Else... manually mount the file system on another machine and edit the system that way.
    This is a Kali-Linux support forum - not general IT/infosec help.

    Useful Commands: OS, Networking, Hardware, Wi-Fi
    Troubleshooting: Kali-Linux Installation, Repository, Wi-Fi Cards (Official Docs)
    Hardware: Recommended 802.11 Wireless Cards

    Documentation: http://docs.kali.org/ (Offline PDF version)
    Bugs Reporting & Tool Requests: https://bugs.kali.org/
    Kali Tool List, Versions & Man Pages: https://tools.kali.org/

  5. #5
    Join Date
    2014-Sep
    Posts
    4
    root on kali 2 is not permitted to login via ssh via default.

    edit the following:

    #nano /etc/ssh/sshd_config

    find the line under #Authentication which says PermitRootLogin without-password and make it #PermitRootLogin without-password
    save and exit and restart ssh

  6. #6
    Join Date
    2016-Feb
    Posts
    2
    I connected by UART and add new user
    Rx-Tx, Tx-Rx, GND-GND
    You can user any USB->UART(cp2102, Arduino and other)
    my photo and post in Russian, but with pictures

  7. #7
    Join Date
    2016-Jan
    Location
    Ukraine
    Posts
    11
    it should be
    PermitRootLogin yes
    Last edited by HoneyFairy; 2016-03-12 at 11:49.
    Alis volat propriis = she flies with her own wings.

Similar Threads

  1. Kali linux password
    By Mnazarety in forum TroubleShooting Archive
    Replies: 1
    Last Post: 2022-06-26, 00:36
  2. I can't put sudo password on kali linux.
    By n1ub in forum General Archive
    Replies: 0
    Last Post: 2021-03-22, 15:43
  3. ssh not accepting password
    By r00tb0ss in forum TroubleShooting Archive
    Replies: 3
    Last Post: 2015-08-13, 09:24

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •