either portsentry is insane, my laptop has been compromised, or ...

techlists at phpcoderusa.com techlists at phpcoderusa.com
Tue Jul 9 15:51:30 MST 2024


By using ChatGPT I was able to determine SSH was not installed on my 
desktop.  I did the install and now it works.



On 2024-07-09 15:30, Keith Smith via PLUG-discuss wrote:
> Rusty,
> 
> I was unable to SSH into my desktop from a new Ubuntu VirtualBox guest 
> this morning.  Was able to ping.  Have not had the time to resolve.
> 
> My response is to your mentioning AI.  I use the free version of 
> ChatGPT.  It is version 3.5   It responds to normal language.  Ask it a 
> question like you would ask me. Then refine your question based on what 
> it's response is.
> 
> I just went to https://chatgpt.com/ and did not sign in and asked "Why 
> do I get an error when trying to SSH into my kubuntu desktop from a 
> ubuntu 24.04 server running on VirtualBox.  I an ping."  Notice I 
> misspelled can at the very end.
> 
> These questions are called prompts. And are regular English.
> 
> I got a ton of information... And I can continue to refine my question. 
>  In this case it looks like this is all I might need.
> 
> I created a YouTube video on using AI to create PHP programs :  
> https://youtu.be/k7CNqcKxKTg
> 
> Keith
> 
> 
> 
> 
> 
> 
> On 2024-07-09 15:07, Rusty Carruth via PLUG-discuss wrote:
>> Hopefully the answer isn't that *I'm* the insane one! ;-)
>> 
>> So, my laptop, which is running Linux Mint 20.2 Uma, and my file 
>> server have suddenly had a falling-out.  They used to talk to each 
>> other just fine, but now the file server, running Linux Mint 19.3 
>> Tricia, slams my laptop into the deny list as soon as I try to SSH in 
>> to it.  And I don't (believe I have) automatic update enabled on 
>> either computer, and I certainly don't remember doing anything to the 
>> laptop or the server related to networking.  The laptop has an NFS 
>> connection to the file server - or it HAD before the blocking!
>> 
>> 
>> The file server has no problem ssh-ing to the laptop (no surprise 
>> there, of course).
>> 
>> 
>> Initially I thought it was some problem with port 161, but I added 
>> that (and the laptop IP address!) in to the portsenty ignore file, and 
>> it still got flagged.
>> 
>> 
>> It isn't in hosts.deny, nor is it in the portsentry bad guys list.
>> 
>> 
>> I looked (find /etc -type f -print0|xargs -0 egrep <laptopIPaddr>') on 
>> the file server:
>> 
>> Tue Jul 09 14:02:30 RustyC ~ $ cat /tmp/finding.laptop
>> /etc/portsentry/portsentry.ignore.static:myLaptopIP
>> /etc/portsentry/portsentry.ignore:myLaptopIP
>> /etc/portsentry/portsentry.ignore.static~:myLaptopIP
>> Tue Jul 09 14:05:59 RustyC ~ $
>> 
>> (I hacked the local IP to the string 'myLaptopIP'.  What is actually 
>> there is the actual IP addr).
>> 
>> 
>> So, I removed (uninstalled) portsentry from the file server, rebooted, 
>> and tried again.  Still blocked!  Waited about a day, still blocked.  
>> So, I changed the IP address of the laptop - the server blocks the 
>> laptop!
>> 
>> Just for fun, I changed my laptop's IP again and tried mounting the 
>> file server via NFS, without doing anything else (no attempt to ssh, 
>> etc) - blocked, as far as I can tell.  BUT!  I can still ping the file 
>> server from the laptop!
>> 
>> Checked iptables - NOTHING in any table on the server.  I'm totally 
>> stumped, and about to re-install Linux on both the Laptop and the file 
>> server.  (One of these days I hope to get time to fool with AI for 
>> this kind of thing, but haven't yet had the time...)
>> 
>> Does anyone have any ideas?  Thanks!
>> 
>> ---------------------------------------------------
>> PLUG-discuss mailing list: PLUG-discuss at lists.phxlinux.org
>> To subscribe, unsubscribe, or to change your mail settings:
>> https://lists.phxlinux.org/mailman/listinfo/plug-discuss
> ---------------------------------------------------
> PLUG-discuss mailing list: PLUG-discuss at lists.phxlinux.org
> To subscribe, unsubscribe, or to change your mail settings:
> https://lists.phxlinux.org/mailman/listinfo/plug-discuss


More information about the PLUG-discuss mailing list