LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 12-19-2019, 03:16 PM   #1
pizzelle
LQ Newbie
 
Registered: Aug 2010
Posts: 3

Rep: Reputation: 1
SSH Configuration - Looking for a thorough "how to"


Hello all,

I'm sort of knowledgeable about linux, but this one stumps me. The root issue is I have recently installed Kali on the Raspberry Pi ( I have no other independent platforms that are wireless), and even though the distro site says "Just ssh into the target" like it's the easiest thing in the world, I have found that I cannot ssh into the device from a remote host.

I can ssh to localhost, and the ssh service is running. ifconfig shows available connections and IP addresses for wireless and eth0. However, if I run a utility like PuTTy from an external machine, it fails to connect as if the device didn't exist. No error, just a simple timeout. Ping from external host can't find the device either.

Is there a checklist of how to configure ssh so that I can access the device? I can't tell if the fault is in the ssh setup or if it's a Kali security feature that blocks incoming connections.

Thanks!
 
Old 12-19-2019, 04:04 PM   #2
berndbausch
LQ Addict
 
Registered: Nov 2013
Location: Tokyo
Distribution: Mostly Ubuntu and Centos
Posts: 6,316

Rep: Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002
My first thought: If you can't solve this, Kali is not for you. Having said that, it looks like port 22 is blocked on your Kali installation.

Where do you see "just ssh into the target?" I would think that target is not Kali, but a system that the penetration tester is looking into.

EDIT: What do you mean by "ifconfig shows available connections"?

Last edited by berndbausch; 12-19-2019 at 05:09 PM.
 
2 members found this post helpful.
Old 12-19-2019, 06:49 PM   #3
scasey
LQ Veteran
 
Registered: Feb 2013
Location: Tucson, AZ, USA
Distribution: CentOS 7.9.2009
Posts: 5,735

Rep: Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212
+1 to the "why are you using Kali?" question. Have you read this sticky?

It's my understanding that networking is disabled by default on Kali. If there's no networking enabled on the target 'puter, ssh-ing to it won't work.
 
1 members found this post helpful.
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Kindle hackers give Nook a thorough rooting LXer Syndicated Linux News 0 11-21-2011 06:11 PM
How do I reinstall "networking" in Ubuntu 10.04? (long but thorough) taylorkh Ubuntu 3 07-02-2011 10:00 AM
Supported Distro With Thorough Repsitory on Install Disks? Novatian Linux - Newbie 5 12-27-2009 05:54 PM
Looking for thorough pc hardware diagnostic software drokmed Linux - Software 3 07-09-2008 01:30 PM
LXer: How to write a thorough review of a Linux distribution LXer Syndicated Linux News 0 07-03-2008 10:44 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 04:11 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration