Jump to content

Recommended Posts

Posted

I had to install (they were missing) sshfs, then fuse and finally ssh on a bpi-m5, using a 128Gb u-sd as boot media. iso was noble from a week ago's download, and updated at 2nd boot after establishing my /etc/hosts file based network.  I can ssh from it /to/ the main box w/o any problem. But any attempt to reverse into it /from/ another machine /to/ it is "connection reset by peer". I haven't touched /etc/ssh/*config's from default values. Is there something I need to set/reset in those files to restore incoming logins?  And no, I do not enable root logins. Also, systemd is still a puzzle to me if its involved.

 

Thanks for any advice.

Posted

<https://paste.armbian.com/bebayihagi>

 

I did look at it, but nothing yelled at me in a quick scan. Not sure what I s/b looking at.

 

Thank you Werner.

 

 

Posted
31 minutes ago, gene1934 said:

Network is down:

2: end0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 1000

 

All instances I could find.

 

I think your own networking methods conflict with what is common nowadays and also might be reason ssh server is not even running or depending on a pseudo random situation. Same as for other topic where you could not reach armbian repo server. 

Posted

You might not have been looking at the newest dmesg, I had a hard time convincing NetworkManager to stop calling for dhcp and just use the static settings I gave it.  Everytime I looked it was re-enabled. Once I had convinced it to skip the dhcp BS, network is fine, apt works, ping -c1 yahoo.com works and FF can browse the whole planet.  Everything works except /incoming ssh/.

 

I can goto that printer and log into this machine, but I can't ssh into that machine.  I can't "ssh-copy-id gene@e5p" which aliases in the hosts file to 192.168.71.122, it's refusing the incoming connection that worked with 6 other machines.  Is there some other tool to trace this?  htop says it is ATM. 

 

Thank you.

Posted

To clarify that last line htop say's ssh_config is in the cmd listing. 

put a tail on /var/log/syslog since it has the newest "access time" of any file in e5p's /var/log

Further: "ssh gene@coyote" successfully logged into coyote, so assuming that ssh is running

set e5p's /etc/apparmor verbose on with nano.

from that login "ssh gene@e5p" gets "connection reset by peer", and NO update to syslog. The rejection is not even making it to ANY of the logs.  So what's next?  Switch back to a 64G u-sd? Is a 128G u-sd too big? I am out of ideas. And a $3000 3d printer is Dead In The Water, no way to restore its klipper /home/gene/printer_data directory after a forced upgrade from jammy to noble.

 

Thanks.

 

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines